When to use it
Propagate uncertainty through a model when several of its inputs are themselves uncertain (a budget, a project schedule, a risk/return estimate) instead of plugging in a single 'best guess' for each and getting a single, falsely precise number out.
When not to: Your inputs are genuinely known with certainty (a single formula evaluation is enough), your inputs are strongly correlated with each other in the real world (this simulation draws them independently and can misrepresent the output spread in either direction), or you need to fit a distribution's parameters FROM data rather than specify them by judgment (use the distribution fit or the descriptive summary first, then feed the fitted parameters in here).
Step by step
Open it from the menu
Click Analyze in the menu bar; under Resampling choose Monte Carlo Simulation.
Fill in the form
Fill in Uncertain inputs, Output formula, Name of the result (optional).
Check the options
The options start at their defaults: Number of trials, Random seed, Threshold, Direction. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Uncertain inputs Variables required | A value you type or choose on the form. List of named input variables, each with a distribution and its parameters, e.g. [{"name": "price", "distribution": "normal", "params": {"mean": 40, "sd": 3}}, {"name": "cost", "distribution": "triangular", "params": {"min": 22, "mode": 25, "max": 31}}]. Distributions: normal{mean,sd} / uniform{min,max} / triangular{min,mode,max} / lognormal{mean,sd} / pert{min,mode,max,lambda=4}. |
|---|---|
| Output formula Formula required | A value you type or choose on the form. A formula over the variable names above, using the same grammar as formula columns, e.g. "(price - cost) * units". |
| Name of the result Output Label optional | A value you type or choose on the form. A short label for the computed output (e.g. 'Profit'). Defaults to 'Output'. |
| Number of trials | Simulated draws (clamped to 100-500,000). Default: 10000. |
| Random seed | Seed for reproducible sampling. Default: 42. |
| Threshold | Compute the probability the output crosses this value. Default: 0. |
| Direction | Direction of the threshold comparison. Default: >. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Independence of observations
If it does not hold: If real inputs are dependent, independently simulated draws can misrepresent output spread in either direction. The direction and size depend on the formula and joint distribution; the simulation does not check or estimate that joint distribution.
How to check: Not checked by KernelStats: every input is drawn independently by construction; there is no option to specify a correlation structure between inputs.
A worked example
Monthly profit = (price - cost) * volume, where price ~ Normal(mean=40, sd=3), cost ~ Triangular(min=22, mode=25, max=31), and volume ~ PERT(min=800, mode=1200, max=2000), simulated with 10,000 trials (seed 42) and a threshold of profit > 0.
Result: Illustrative values: median simulated profit about $17,200 (mean $17,650, Monte Carlo SE of the mean $55), 90% simulation interval about $9,300 to $27,400, and 99.99% positive trials. Normalized squared rank-correlation scores are 49% for price, 33% for volume and 18% for cost; these are not variance shares.
Under the stated input model the illustrated profit distribution is mostly positive. Price has the largest rank-association screening score, followed by volume. This does not establish which intervention or additional measurement would reduce uncertainty most. The simulation depends on judgment-based input distributions drawn independently.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- If unit price is Normal(mean=40, sd=3), unit cost is Triangular(min=22, mode=25, max=31), and monthly volume is PERT(min=800, mode=1200, max=2000), what does the distribution of monthly profit look like, and what's the chance profit is negative?
- Explain the monte Carlo simulation in plain words.
- What does normal distribution mean?
Last reviewed November 16, 2026.
