A distribution needs dependence and timing, not just averages
Simulation repeatedly draws uncertain conditions and computes consequences of a defined decision. Before choosing a random generator, define the sequence: which decision is made first, which state becomes known next and what action remains possible afterward. A response unavailable until after a missed service deadline cannot be counted as timely recourse.
In an original inventory-service file, demand is either eight or fourteen units. Usable supply is eight if a supplier delay occurs and twelve otherwise. Four joint states have stipulated probabilities: High demand with Delay 0.25, High with No delay 0.15, Low with Delay 0.05 and Low with No delay 0.55. They sum to one. High demand has marginal probability 0.40 and Delay 0.30.
The joint chance of High and Delay is 0.25, not 0.40×0.30=0.12. A common event could raise both risks; the file stipulates dependence without claiming to measure an actual storm or market. Separate marginal distributions do not establish independence. The exercise compares modeled consequences, not current weather, supplier reliability or real business forecasts.
Exact enumeration provides a reference for the simulation
Unserved units are max(demand-usable supply, 0). In the four states, shortages are six, two, zero, zero. Expected shortage is 0.25(6)+0.15(2)=1.8 units per period. Probability of any shortage is 0.40, while probability shortage is at least six is 0.25. A mean and a tail probability describe different aspects of exposure.
If independence were incorrectly imposed while retaining the same marginal probabilities, state probabilities become 0.12, 0.28, 0.18, 0.42. Expected shortage would be 1.28 and chance of a six-unit shortage 0.12. Probability of any shortage remains 0.40 because High demand exceeds supply in either delay state. One unchanged summary can therefore conceal a material change in severity and the tail.
At a stipulated loss 100 per unserved unit, expected shortage cost is 180 under the dependent file versus 128 under the independence file. This loss convention omits any nonlinear customer harm, carryover, contractual effects or service priority. A realistic decision needs evidence for both the input distribution and the loss function.
Compare policies using the same states and available actions
Suppose a backup commitment costs eighty per period and guarantees four additional usable supply units in every state before demand must be served. Supply becomes twelve with delay and sixteen otherwise. Only High/Delay now has shortage, equal to two units. Expected shortage is 0.50 and expected shortage loss 50. Including commitment cost 80 gives total expected modeled cost 130 versus 180 without backup, an improvement of 50.
Under the separate independence model, expected backup shortage is 0.12(2)=0.24 and total cost 104, compared with 128 without backup: improvement 24. The decision still favors backup in these particular files, but the estimated benefit differs. Do not claim dependence must always reverse a decision; it can alter value and risk even when the ranking stays unchanged.
The guarantee, timing and four-unit availability are supplied assumptions. If the backup supplier fails in the same conditions, add that dependence. If backup is ordered after demand is observed, it is a different policy and needs different prices and lead times. Comparing alternatives on the same sampled states reduces irrelevant simulation noise but does not create a guarantee about operations.
More trials improve numerical precision, not the underlying evidence
For this four-state model, exact enumeration already gives the expected values. Monte Carlo is an additional teaching check: sample a state using cumulative probabilities, calculate shortage and backup cost, and average many trials. A fixed seed makes the illustrative run reproducible. It does not prove the distributions or freeze uncertainty in the real world.
Sampling error generally falls with more independent simulated trials; misspecified dependence, omitted events, biased probabilities and wrong loss functions do not. Report the number of draws, input version, seed, mean, relevant tail frequency and any numerical approximation. Distinguish the variability of simulated outcomes from uncertainty about the estimated mean.
The current complete on-site probability, risk and commodity studios supply the conceptual preparation; source links are optional. The laboratory independently reconstructs exact scenarios before running the reproducible simulation. Optional exercises change dependence and backup timing. A recommendation should state why the modeled improvement is credible, what evidence supports the response capability and which omitted condition could invalidate it.
Worked example: Matching marginals is insufficient
High demand 0.40 and Delay 0.30 permit many joint distributions. The supplied High/Delay probability 0.25 gives mean shortage 1.8; independence gives 1.28 even with those same marginals.
Worked example: Backup value includes its commitment price
Dependent backup shortage is two only in the 0.25 High/Delay state, averaging 0.5. At 100 per unit plus fee 80, expected cost 130 is fifty below no-backup cost 180.