Skip to content
Analytica > Blogs > Uncertainty analysis & Monte Carlo methods

Uncertainty analysis & Monte Carlo methods

Uncertainty analysis is often a prominent part of studies for sectors such as the environment. The uncertainty itself is determined by a number of elements. They include available measurements of data to be used as input, identification of extreme or limit values of such data, knowledge of the distribution of the data and mechanisms affecting this, and any additional expert opinion that can be usefully added in. Uncertainty in the data itself may come from the definition of what data is to be collected or used, natural variability of the process generating the data, and uncertainty in measuring or sampling the data, or using reference data with incomplete descriptions. Example of combining two uncertainty distributions to generate a third one Image source: www.fda.gov

When should you use Monte Carlo simulation?

Uncertainty propagation equations exist for situations that allow their use: typically normally or Poisson distributed uncertainties that are relatively small without significant correlation between the factors defining the model. Outside the simpler, normally distributed case and also when uncertainties are bigger, a Monte Carlo simulation is a technique that handles non-normal distributions, complex algorithms and correlations between input factors for the model in question. In this case, a distribution is determined for each parameter (see below). Then data are generated for each distribution, and these data are used as input for the model to produce output, these two steps being repeated as many times as is reasonably necessary to achieve an outcome curve or distribution in its own right.

Choosing an input distribution

Simple example of a lognormal distribution Image source: commons.wikimedia.org Distributions vary according to the data being modeled. Human height follows a normal distribution, whereas concentrations of chemicals in the environment follow a lognormal distribution. If there are known boundaries, these distributions may also be expressed in a truncated form. Where information is lacking about the processes that generate the data, other possibilities exist. The uniform distribution (for example, the position of rain drops falling on a wire) gives equal probability to all values in a given range. The triangular distribution sets upper and lower limits and a preferred value somewhere between them.

Modeling according to sensitivity

Preliminary sensitivity analyses help to identify suitable models and possibly include or exclude parameters on that basis. Even if computing power is currently available in large quantities to handle multiplicities of parameters, knowing which parameters to focus on by conducting Monte Carlo based sensitivity analyses helps to avoid any unnecessary data gathering effort. It also leads to a more meaningful propagation and definition of overall uncertainty, which remains the measure of the ‘goodness’ of the model’s result.

Sampling on Simple Random Sampling or Latin Hypercube Sampling

Whether a Monte Carlo simulation uses SRS (Simple Random Sampling) or LHS (Latin Hypercube Sampling) depends on the available sample size. The cross-over zone may be taken to be in the ‘few thousands’: more than this suggests using SRS, less suggests LHS. The difference with LHS is that the distribution for a parameter is first divided into sections of equal probability and a one random number selected per section to form the total input into the model. When the use of LHS is indicated, the simulation then converges more rapidly on the final outcome. If you’d like to know how Analytica, the modeling software from Lumina, can help you give you the right options for both uncertainty analysis and Monte Carlo modeling, then try a  free evaluation of Analytica to see what it can do for you.

Share now   

See also

Monte Carlo simulation software

Monte Carlo simulations model uncertainty by generating probability distributions, enabling more accurate predictions and informed decision-making.

More…

Embrace risk & uncertainty

Risk and uncertainty are inevitable. Discover how best to mitigate risks and find robust decisions so that your clients can prosper under a wide range of possible futures.

More…

Monte Carlo simulation tips & tricks

Get expert advice and practical guidance in using Monte Carlo simulation to improve modeling accuracy and efficiency.

More…

Pi Day comparison: Monte Carlo vs Latin hypercube vs Sobol sampling

This blog will be visiting the dart-throwing method of estimating π and comparing how fast or slow different sampling techniques converge to the actual value of π. The sampling techniques...

More…

Download the free edition of Analytica

The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


    Analytica Cubes Pattern

    Download the free edition of Analytica

    The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

    While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


      Analytica Cubes Pattern