Simulation propagates the assumed joint model
A simulation draws uncertain inputs and applies decision and accounting rules. Specify distributions, support, dependence, units, timing and recourse. Negative demand from an inappropriate unbounded model or unlimited borrowing added to close a cash gap is not a harmless technical detail. It changes what the simulation means. A program can be internally consistent and still model the wrong process.
Dependence matters when demand, cost, collections and financing share a common cause. Independently sampling each can construct implausible combinations or hide concentrated adverse states. Preserve coherent scenarios and stress important omitted possibilities. A million trials from a distribution that excludes a severe event cannot discover it.
Exact small cases are a verification benchmark
Before trusting a large simulation, enumerate a small discrete distribution and compute its exact mean, tail probability and state-specific feasibility. Compare the code’s output under deterministic inputs and boundary cases. Test caps, zeros and changes in information timing. A random seed helps reproduce one run; it does not validate the input model.
Under independent finite-variance trials, the standard error of a sample mean is approximately sample standard deviation divided by the square root of trial count. Quadrupling trials roughly halves that numerical error. A confidence interval constructed from trial variability concerns the assumed simulation expectation, not uncertainty that the real demand model or probabilities are correct. State the approximation and distinguish numerical precision from empirical credibility.
Pair policies on the same simulated state when appropriate
To compare two policies facing the same external shock, evaluate both on each common state and average the within-state payoff differences. This common-random-number approach can reduce variance when policy outcomes are positively related across states. It is not guaranteed to help for every dependence structure. Compute the variance of paired differences rather than pretend the two samples are independent.
Do not use pairing to give one policy information or recourse unavailable to the other. Each must follow its own actual timing and constraints on the common external state. Preserve separate training and evaluation where a policy was selected by searching many noisy runs; choosing the largest estimated return and reporting that same sample can exaggerate apparent advantage.
Tails and funding belong beside the mean
Report the probability and amount of a dated cash deficit, lost service and other relevant adverse outcomes. A positive mean closing balance cannot pay an adverse realization’s bill. Actual committed credit can reduce a deficit but creates repayment obligations and may not cover every state. Apply constraints within each state before averaging, and distinguish an infeasible simulated outcome from an actual available response.
For transfer, seek evidence about input distributions, correlation, rare events and operational capacity, and compare a simpler policy. Record the model version, randomization method, seed, trial count, numerical error and limits. Computation is a supporting instrument for judgment, not an independent assurance or proof of learner competence.
Worked example: Exact cash tails distinguish two policies
All amounts are thousands. A changes cash by+10 in a high state with probability 0.70 and−20 in low 0.30. B changes cash+8 high and−8 low. Expected changes are 1 and 3.2. Opening 12 gives A closing 22 or−8, deficit probability 0.30 and conditional amount 8; B closes 20 or 4 with no deficit in these two states. A committed 5 adverse-state facility leaves A at−3, still deficient. Expected cash 13 under A conceals a material state that B avoids.
Worked example: Paired comparison has a different error scale
On the same high/low state, A−B is+2 or−12, exact expected difference−2.2. Its variance is 0.7×2²+0.3×(−12)²−(−2.2)²=41.16 squared-thousand units. Separate independent policy estimates have per-pair variance 189+53.76=242.76. At 10000 independent paired trials, theoretical mean-difference standard error is√(41.16/10000)≈0.064156 thousand; using independent streams gives√(242.76/10000)≈0.155808 thousand. Pairing helps in this explicitly shared-state example. These are numerical-error calculations under fixed probabilities, not uncertainty bounds for actual business behavior.