Monte Carlo simulation
Predicting the spread of an output by simulating thousands of random combinations of its inputs.
Monte Carlo simulation draws random values for each input from its distribution, computes the output with a model, and repeats thousands of times. The collection of outputs shows how the result varies.
Uses
- Tolerance analysis: predicting the gap in an assembly from the distributions of each part dimension. See Tolerance stack-up.
- Capability prediction: estimating PPM for a characteristic that depends on several process variables.
- Robust design: finding settings where input variation passes through least to the output.
- Measurement uncertainty when the measurement model is not linear.
Steps
1. Write the model: output as a function of inputs, from physics, geometry or a regression. 2. Describe each input with a distribution, from data where possible. 3. Simulate many trials; 10,000 to 100,000 is typical. 4. Examine the output distribution, the share beyond limits, and which inputs drive the most variation.
Cautions
The answer is only as good as the model and the input distributions. Assuming independent inputs when they are correlated, or normal inputs when the real ones are skewed, can make predicted PPM wrong by a large factor.
Quality Tools > Monte Carlo.
See also
References
- JCGM 101:2008. Evaluation of measurement data, Supplement 1: Propagation of distributions using a Monte Carlo method.