Technical note MS-TN-01, November 2026

Estimators of the simulation layer

Definitions and proofs

Markland Street

Abstract

The simulator reports a minimum of seven figures for every option of a decision: an expected cost, its standard error, a gain against the baseline, a tail expectation, a regret, a probability of being best, and a coverage rate for its own past forecasts. This note defines each figure and proves the properties that make it safe to act on. The estimators converge at a known rate. Options compared on the same paths are compared with less noise. The tail measure is coherent. Regret ranks options exactly as expected cost does. Waiting for information never has negative value. Calibration can be tested out of sample. The models that generate the paths are outside the scope of this note and are available under NDA

Table 1 Reported figures and where they are treated
FigureSymbolDefined inProperties
Expected costμ^iDefinition 2Proposition 1
Standard errorse^iDefinition 2Proposition 1
Gain against the baselineG^iDefinition 3Propositions 2 and 3
Expected shortfallES^0.9Definition 4Propositions 4 and 5
RegretR^iDefinition 5Proposition 6
Probability of being bestπ^iDefinition 5Proposition 6
CoverageCDefinition 6Propositions 8 and 9

1 Setup and notation

A decision has options i=1,…,K, one of which, written b, is the baseline. The unknowns of the decision form a random vector Z with law F on a probability space (Ω,𝒜,P). Each option has an outcome Xi=gi(Z), a real random variable. Outcomes are written as costs, so lower is better, and a gain is a cost avoided. We assume E[Xi2]<∞ throughout

Definition 1 (Paths) A run draws Z(1),…,Z(N) independently from F and sets Xi(n)=gi(Z(n)) for every option i. The n-th path is the vector (X1(n),…,XK(n)). All options are evaluated on the same draw

We write μi=E[Xi], σi2=Var(Xi) and ρij=Corr(Xi,Xj). The path-wise optimum is M=minjXj, the cost of whichever option turns out best on that path

2 The Monte Carlo estimator

Definition 2 (Mean and standard error) The expected cost of option i is estimated by the mean over paths, and its precision by the standard error

μ^i=1N∑n=1NXi(n)
(1)
si2=1N−1∑n=1N(Xi(n)−μ^i)2,se^i=siN
(2)

Proposition 1 (Unbiasedness and rate) (a) E[μ^i]=μi and Var(μ^i)=σi2/N. (b) μ^i→μi almost surely as N→∞. (c) N(μ^i−μi) converges in distribution to 𝒩(0,σi2), and E[si2]=σi2

Proof The Xi(n) are independent copies of Xi. Linearity of expectation gives the mean, and independence gives Var(∑nXi(n))=Nσi2, hence (a). Part (b) is the strong law of large numbers and the first half of (c) is the central limit theorem. Both need only the finite second moment assumed in Section 1. For the last claim, expand

∑n=1N(Xi(n)−μ^i)2=∑n=1N(Xi(n)−μi)2−N(μ^i−μi)2
(3)

and take expectations: the right side has mean Nσi2−σi2=(N−1)σi2

Remark The error falls as N−1/2 whatever the dimension of Z, which is why the method extends to decisions with many unknowns. Since si→σi, part (c) makes μ^i±1.96se^i an asymptotic 95% interval for μi. A tolerance ε at that level needs N≥(1.96si/ε)2 paths

The preview ends here. The full note continues with

  1. 3 Comparison on common paths
  2. 4 Quantiles and expected shortfall
  3. 5 Regret and the probability of being best
  4. 6 The value of waiting
  5. 7 Calibration out of sample
  6. 8 Reproducibility
  7. References

Read the rest with an engineer

Book your walkthrough and a Markland Street engineer will explain each part of this document in further detail