MonteGrid | Distributions | Histogram
Histogram distribution
MC_HISTOGRAM defines a Histogram assumption in MonteGrid. It is in the From data group of Define Assumption.
Syntax
=MC_HISTOGRAM(min, max, weights, MC_STATIC(value, name, group))
| Argument | Define Assumption field | Values |
|---|---|---|
min | Minimum | Any number. |
max | Maximum | Any number. |
weights | Weight | A list typed into the formula, such as {1;2;3}. |
One weight per equal-width bin between the minimum and the maximum.
Note: MC_STATIC holds the value the cell shows outside a simulation, the assumption's name, and its correlation group ("" for none).
Example
Define Assumption suggests these parameters for a cell that holds 100. The static value is the median.
=MC_HISTOGRAM(90,110,{1;2;1},MC_STATIC(100,"",""))
| P10 | P50 | P90 | Mean |
|---|---|---|---|
| 92.667 | 100 | 107.33 | 100 |
Crystal Ball and @RISK
| Product | Equivalent | In MonteGrid |
|---|---|---|
| Crystal Ball | Custom | Not imported. Crystal Ball's Custom distribution describes single values, discrete ranges or continuous ranges. Define this assumption in MonteGrid. |
| @RISK | None that MonteGrid converts. | — |