Monte Carlo evaluation of uncertainty (GUM Supplement 1)
Rather than propagate uncertainties analytically, sample each input from its distribution, compute the result many times, and read the interval off that.
JCGM 101 describes the propagation of distributions by Monte Carlo. Each input quantity is assigned a probability distribution; a large number of trials (10⁵–10⁶) draws a value from each distribution, evaluates the model, and stores the result. The distribution of results yields the best estimate, its standard uncertainty and a coverage interval at the desired probability.
When it is worth it
- A dominant rectangular component, where the output is not normal.
- Non-linear models such as humidity from dew point, or MKT from a temperature series.
- Asymmetric inputs, e.g. a truncating display or one-sided limits.
- Validating an analytical budget: if the GUM result and the Monte Carlo interval agree, the linear approximation holds.
The method demands the same care in defining inputs; garbage distributions produce a precise-looking garbage interval.
What the method actually does
The analytical GUM approach propagates uncertainties: it linearises the model at the estimates, multiplies each input's standard uncertainty by a sensitivity coefficient, and combines in quadrature. JCGM 101 propagates distributions instead. Each input is given a probability distribution; a large number of trials draws one value from each, evaluates the model, and stores the result. The histogram of those results is the output distribution, and the coverage interval is read off it directly — no assumption that the output is normal, and no linearisation.
| Situation | Analytical GUM | Monte Carlo |
|---|---|---|
| Several comparable inputs, near-linear model | Correct, and much faster | Agrees; not worth the effort |
| One dominant rectangular input | k = 2 does not give 95 %; the interval is wrong | Reads the true interval off the histogram |
| Strongly non-linear model | Linearisation error, which can be large | No linearisation |
| Asymmetric input, or a truncating display | Cannot represent the asymmetry | Output interval is asymmetric, as it should be |
| Very few Type A observations | Handled via Welch–Satterthwaite, approximately | Handled by sampling a t-distribution |
The dominant-rectangular case is the one worth internalising, because it is common in temperature work. A budget dominated by a coarse display resolution has an output much closer to rectangular than normal, and multiplying u_c by 2 then produces an interval covering closer to 100 % than 95 % — over-conservative rather than dangerous, but wrong, and the wrongness is invisible from the analytical result alone.
Running one properly
- Use 10⁵ to 10⁶ trials. JCGM 101 gives an adaptive procedure that keeps drawing until the interval is stable to the number of figures you intend to report, which is better than picking a round number.
- Take the 95 % coverage interval as the shortest interval containing 95 % of the results, not automatically the symmetric 2.5 % to 97.5 % quantiles — they differ when the output is skewed, and the shortest one is the meaningful answer.
- Use a generator with a long period and record the seed, so the run is reproducible. A result that cannot be reproduced is not a technical record.
- Validate against the analytical result in a case where both should agree. If they disagree in the easy case, the model implementation is wrong, not the method.
- Record the distributions assigned to each input and why. This is where the judgement lives, and a Monte Carlo run hides it behind a confident-looking histogram.
The method demands the same care in defining inputs as the analytical one, and offers more places to hide a mistake. Garbage distributions produce a precise-looking garbage interval, and it looks more authoritative than a garbage budget does.
Frequently asked questions
- Can Monte Carlo be done in a spreadsheet?
- Yes for simple models, with a random-number function and a few thousand rows. Dedicated tools are more convenient for large trial counts and reproducibility.
References
- [1]JCGM 101:2008 — Supplement 1 to the GUM: Propagation of distributions using a Monte Carlo method
General technical guidance written against the cited sources. It is not regulatory or legal advice and does not replace the applicable standard, guideline or a qualified reviewer's judgement.
Have a question on this topic?
Ask ValiTrac AI and see the evidence and calculation behind the answer.
Ask ValiTrac AIFree calculator: Uncertainty budget
Combine Type A and Type B components per the GUM: divisors by distribution, sensitivity coefficients, u_c, effective degrees of freedom and U at k = 2.
Open the calculatorMetrology on ValiTrac
Measurement science, traceability, uncertainty and technical evidence.
Ask a metrology questionRelated articles
Effective degrees of freedom and when k = 2 is not enough
k = 2 assumes you know your uncertainty well. When a Type A term from three readings dominates, Welch-Satterthwaite puts k at 4.53 and more than doubles U.
Rectangular, triangular and normal distributions in uncertainty budgets
The distribution sets the divisor that turns a limit into a standard uncertainty: √3 rectangular, √6 triangular, √2 U-shaped. Say which you chose.