STATISTICS GRADUATE LEVEL • SIMULATION, RESAMPLING & COMPUTATION

Simulation for Validation — Simulation to validate asymptotic approximations

Using Monte Carlo experiments to verify when large-sample theory actually holds in finite samples.

Historical Context & Motivation

Statistical inference has long depended on asymptotic theory — results that describe the behavior of estimators and test statistics as the sample size n grows to infinity. The Central Limit Theorem, the asymptotic normality of maximum likelihood estimators, and chi-squared approximations for likelihood ratio tests are pillars of classical statistics. Yet practitioners must always confront a fundamental question: for my particular sample size, distributional shape, and parameter configuration, does the asymptotic approximation actually provide an accurate description of the finite-sample distribution?

Before the era of cheap computation, statisticians had limited tools for answering this question. They relied on analytic bounds (such as the Berry–Esseen theorem), small-sample exact distributions for special cases (like the t-distribution), or ad hoc rules of thumb ("n ≥ 30 is large enough"). The explosive growth of computing power from the 1960s onward opened a new avenue: Monte Carlo simulation could generate thousands or millions of replicated experiments under known data-generating processes, producing empirical distributions that could be compared directly with their asymptotic counterparts.

1733
De Moivre's Normal Approximation
Abraham de Moivre derives the normal approximation to the binomial distribution, one of the earliest asymptotic results. For over two centuries, verifying such approximations relied on analytic or tabular methods.
1922
Fisher's Asymptotic MLE Theory
R. A. Fisher establishes the asymptotic efficiency and normality of maximum likelihood estimators, providing a unified framework for inference that depends critically on large-sample arguments.
1949
Monte Carlo Method Formalized
Metropolis and Ulam publish their landmark paper on the Monte Carlo method, originally developed for nuclear physics at Los Alamos. Statisticians quickly recognize its potential for evaluating sampling distributions.
1979
Bradley's Size and Power Studies
James V. Bradley publishes influential guidelines for simulation-based evaluation of test size robustness, establishing that a nominal α = 0.05 test should maintain empirical rejection rates in the interval [0.025, 0.075] to be considered robust.
2000s
Modern Computational Validation
Massively parallel computing and languages like R and Python make it routine to run 10⁶-replicate simulation studies. Validation of asymptotic approximations becomes a standard part of methodological research and textbook pedagogy.

The central question that motivates this lesson is deceptively simple: How do we determine, for a given finite sample size, whether an asymptotic approximation is trustworthy? Simulation provides a powerful, flexible, and intuitive answer. By generating data from a known process and comparing empirical behavior with theoretical predictions, we can quantify the gap between theory and practice — and decide whether that gap is small enough to ignore.

Core Principles of Simulation-Based Validation

Simulation-based validation rests on a conceptually straightforward idea: if we know the true data-generating process, we can create as many replicated datasets as we want, compute our statistic of interest on each replicate, and build an empirical sampling distribution. We then compare this empirical distribution to the asymptotic approximation. The comparison can be visual (Q-Q plots, density overlays), numerical (comparing quantiles, moments, or coverage probabilities), or formal (goodness-of-fit tests). The following principles organize the methodology.

1

Known Data-Generating Process

The simulator specifies the true distribution fully — shape, parameters, dependence structure — so the ground truth is known. This is the key advantage over working with real data: there is no ambiguity about what should happen.
2

Replication via Monte Carlo

B independent datasets of size n are generated. For each, the statistic T is computed. The collection {T₁, T₂, …, T_B} forms an empirical approximation to the exact finite-sample distribution of T.
3

Comparison with Asymptotic Theory

The empirical distribution is compared to the predicted asymptotic distribution (e.g., N(0,1), χ²_k). Discrepancies reveal where and how the approximation breaks down — in the tails, center, or both.
4

Systematic Variation of Conditions

A thorough study varies n, the underlying distribution (e.g., skewed vs. symmetric), and parameter values. This maps out the region of the problem space where the approximation is adequate and where it fails.
5

Monte Carlo Error Quantification

Because the empirical distribution is itself a random approximation, the number of replicates B must be large enough so that Monte Carlo sampling error is small relative to the discrepancies being studied.
KEY TAKEAWAY
Think of asymptotic theory as a map and the true finite-sample distribution as the actual terrain. Simulation is the process of sending out scouts to walk the terrain and report back. If the scouts' reports closely match the map, you can navigate confidently. If they diverge — perhaps the map says the path is flat but the scouts find a cliff — you know the map is unreliable in that region. The beauty of simulation is that you control the terrain completely, so discrepancies can be attributed unambiguously to the approximation's inadequacy rather than to unknown features of the data.

Visual Explanation — Comparing Empirical and Asymptotic Distributions

The diagram below illustrates the core workflow of a simulation validation study. On the left, a data-generating process (here, an exponential distribution) produces B replicated samples each of size n. From each sample, a statistic T (such as √n(X̄ − μ)/σ) is computed. The resulting empirical distribution of T is overlaid against the theoretical asymptotic N(0,1) curve. In the right panel, the comparison is shown for two sample sizes — a small n where the approximation visibly fails and a larger n where convergence has essentially occurred.

Left panel: when n = 5 and data come from a skewed Exponential(1), the empirical distribution of the standardized sample mean (cyan curve) is visibly right-skewed relative to the symmetric N(0,1) reference (violet dashed). Right panel: at n = 100, the empirical distribution (emerald curve) closely tracks the asymptotic prediction, confirming that the CLT provides an adequate approximation at this sample size.

The visual contrast between the two panels is the essence of simulation-based validation. At n = 5, the skewness of the exponential parent distribution has not yet been "washed out" by averaging, and the normal approximation substantially misrepresents the upper tail — a critical problem if we are conducting hypothesis tests or constructing confidence intervals. At n = 100, the Central Limit Theorem has done its work, and the two curves are nearly indistinguishable. The simulation study has quantified exactly when the transition from unreliable to reliable occurs.

Mathematical Framework

To formalize the simulation validation procedure, we need to specify the asymptotic claim, the simulation algorithm, and the metrics used for comparison. Let us develop each in turn.

The Asymptotic Claim

Suppose we have a statistic Tn computed from a sample of size n drawn from some distribution Fθ. An asymptotic result states that as n → ∞, the distribution of Tn converges (in distribution) to some known reference distribution G. We write this as Tnd G. For example, the CLT says that √n(X̄ − μ)/σ →d N(0,1).

CENTRAL LIMIT THEOREM
T_n = √n (X̄_n − μ) / σ →_d N(0, 1) as n → ∞
n = sample mean, μ = population mean, σ = population standard deviation, n = sample size.

The Simulation Algorithm

For a fixed sample size n and a specified distribution Fθ, we repeat the following for b = 1, 2, …, B: (1) draw X1, …, Xn i.i.d. from Fθ; (2) compute Tn(b). The empirical CDF of {Tn(1), …, Tn(B)} is then our Monte Carlo estimate of the true finite-sample CDF of Tn.

EMPIRICAL CDF ESTIMATOR
F̂_B(t) = (1/B) Σ_{b=1}^{B} 𝟙(T_n^(b) ≤ t)
B(t) estimates the true CDF P(Tn ≤ t). By the Glivenko–Cantelli theorem, this converges uniformly to the true CDF as B → ∞.

Key Validation Metrics

EMPIRICAL REJECTION RATE (SIZE STUDY)
α̂ = (1/B) Σ_{b=1}^{B} 𝟙(|T_n^(b)| > z_{α/2})
If the asymptotic approximation is accurate at level α, we expect α̂ ≈ α. zα/2 is the critical value from N(0,1). Bradley's criterion: the test is robust if α̂ ∈ [α/2, 3α/2].
MONTE CARLO STANDARD ERROR
SE(α̂) = √(α̂(1 − α̂) / B)
This quantifies simulation uncertainty. For α̂ ≈ 0.05 and B = 10,000: SE ≈ √(0.05 × 0.95 / 10000) ≈ 0.0022, so a 95% CI for the true rejection rate is roughly α̂ ± 0.0043.

Diagnostic Tools and Systematic Study Design

A well-designed simulation study goes beyond a single comparison. It maps out performance across a grid of conditions — varying sample sizes, distributional shapes, parameter values, and dimensionality. The diagnostics employed typically fall into several categories: graphical tools that provide qualitative assessments, numerical summaries that provide quantitative comparisons, and formal tests. The diagram below summarizes the most commonly used diagnostic approaches and their interpretation.

Top row: three categories of diagnostic tools. Bottom: an illustrative results grid from a simulation study of the z-test for a mean, using B = 10,000 replicates, nominal α = 0.05. Green values fall within Bradley's liberal criterion (0.025 ≤ α̂ ≤ 0.075), amber values are marginal, and red values indicate the approximation is unreliable. Highly skewed distributions like the lognormal require larger n for the CLT to deliver accurate tail probabilities.

The results grid in the diagram illustrates a key lesson: the adequacy of the normal approximation depends on both sample size and distributional shape. For normal data, even n = 5 gives an exact result (since X̄ is exactly normal). For the exponential (skewness = 2), n = 30 brings the rejection rate acceptably close to 0.05, consistent with the familiar rule of thumb. But for the lognormal with its heavier right tail, n = 30 still produces inflation above 0.06, and n = 100 is needed for comfort. These findings are impossible to derive analytically in general; simulation reveals them directly.

💡 Design Tip
When designing a simulation study, always include at least one scenario where you know the asymptotic result should hold exactly (e.g., normal data for the CLT). This acts as a positive control: if your code gives wrong results even for this baseline, you have a bug. Similarly, include extreme cases (very small n, very heavy tails) as stress tests.

Worked Example — Validating the Chi-Squared Approximation for the Likelihood Ratio Test

Consider testing the null hypothesis H₀: λ = 1 versus H₁: λ ≠ 1 for data from a Poisson(λ) distribution using the likelihood ratio test (LRT). Under H₀, asymptotic theory tells us that the deviance statistic D = 2[ℓ(λ̂) − ℓ(λ₀)] converges to a χ²(1) distribution. We will use simulation to check whether this approximation is adequate for sample sizes n = 5, 20, and 100.

Simulation Validation of the LRT for Poisson Data
1
Step 1 — Specify the Data-Generating ProcessUnder H₀, generate X₁, …, Xn i.i.d. ~ Poisson(λ₀ = 1). The log-likelihood is ℓ(λ) = Σ[Xi log λ − λ] − Σ log(Xi!). The MLE is λ̂ = X̄. We set B = 10,000 replicates and α = 0.05.
2
Step 2 — Write the Simulation Loop (Pseudocode)For each replicate b = 1, …, 10000: (1) draw X(b) ← rpois(n, lambda=1); (2) compute λ̂(b) = mean(X(b)); (3) compute D(b) = 2n[λ̂ log(λ̂/λ₀) − (λ̂ − λ₀)]; (4) record whether D(b) > χ²1,0.95 = 3.841.
3
Step 3 — Compute Empirical Rejection RatesCount the fraction of replicates where D > 3.841. Results across sample sizes:
n = 5: α̂ = 0.0361 (SE = 0.0019) — conservative. n = 20: α̂ = 0.0472 (SE = 0.0021). n = 100: α̂ = 0.0503 (SE = 0.0022) — excellent agreement.
4
Step 4 — Diagnose with a Q-Q PlotPlot the sorted D values against the theoretical quantiles of χ²(1). For n = 5, the Q-Q plot shows systematic departure in the upper tail — the simulated deviance values are smaller than the χ² quantiles predict, confirming the conservative behavior. For n = 100, the points hug the 45° line tightly.
5
Step 5 — Interpret and ConcludeThe χ²(1) approximation for the Poisson LRT is slightly conservative at n = 5 (actual size 3.6% vs. nominal 5%), meaning the test rejects less often than intended. By n = 20, the approximation is serviceable (within Bradley's criterion). By n = 100, the approximation is essentially exact. Conclusion: for the Poisson LRT, n ≥ 20 yields a reliable chi-squared approximation.
The simulation-validated minimum sample size for the Poisson LRT is approximately n = 20 at nominal α = 0.05.

Strengths, Limitations, and Practical Considerations

Simulation-based validation has become an indispensable part of the statistician's toolkit, but it is important to understand both its power and its limitations. The following table provides a systematic comparison.

Strengths and limitations of simulation-based validation
AspectStrengthLimitation / Caveat
GeneralityApplicable to any statistic and any data-generating process — no closed-form distribution required.Results are specific to the configurations simulated; they do not prove a result holds universally.
PrecisionPrecision improves as B → ∞; can be made arbitrarily small by running more replicates.Requires careful accounting of Monte Carlo error. Reporting SE(α̂) is essential; raw α̂ alone is insufficient.
InterpretabilityResults are intuitive — rejection rates, coverage percentages, and Q-Q plots are accessible even to non-theoreticians.Visual assessments (e.g., Q-Q plots) are subjective; different viewers may reach different conclusions.
Computational CostModern hardware makes B = 10⁶ replicates feasible for most low-dimensional problems.High-dimensional problems (e.g., validating REML in mixed models with many random effects) may be prohibitively expensive per replicate.
Scope of InferenceDirectly reveals finite-sample behavior under realistic conditions; not limited to "nice" parametric families.Can only explore a finite number of scenarios; interpolation between grid points must be done cautiously.
KEY TAKEAWAY
Simulation is to asymptotic theory what crash testing is to structural engineering calculations. An engineer can compute the theoretical stress distribution in a car frame analytically, but ultimately the car must be subjected to actual (or simulated) impacts under a range of speeds, angles, and conditions. The calculation provides the blueprint; the crash test reveals whether the blueprint holds under real-world conditions. Similarly, asymptotic theory provides the statistical blueprint, but simulation stress-tests it at the sample sizes and distributions you actually encounter.

Connections to Bootstrap, Higher-Order Asymptotics, and Bayesian Calibration

Simulation for validation is closely connected to several advanced topics in modern statistics. The parametric bootstrap is essentially the same Monte Carlo procedure, but used for inference rather than validation: instead of comparing the empirical distribution to a known asymptotic limit, it replaces the asymptotic approximation when the latter is known to be unreliable. Higher-order asymptotic theory (Edgeworth expansions, saddlepoint approximations, Bartlett corrections) attempts to improve the first-order approximation analytically. Simulation studies are the standard method for comparing these refined approximations against each other and against the plain first-order result.

Simulation's role across methodological approaches
MethodRole of SimulationWhen Preferred
First-order asymptoticsSimulation validates whether the O(n⁻¹/²) error is small enough in practice.Large n, well-behaved (e.g., symmetric, light-tailed) distributions.
Bartlett correctionSimulation compares corrected LRT to uncorrected, verifying that the correction reduces size distortion.Moderate n, parametric models where the correction factor is analytically available.
Saddlepoint approximationSimulation confirms the remarkable accuracy of saddlepoint tail probabilities even for small n.Small n, when tail probabilities are critical (e.g., sequential analysis, rare events).
Parametric bootstrapThe bootstrap IS a simulation method — it replaces the asymptotic reference distribution with a simulated one.When first-order asymptotics are inadequate and analytic corrections are unavailable.
Bayesian posterior calibrationSimulation checks whether Bayesian credible intervals achieve nominal frequentist coverage (calibration studies).Bayesian-frequentist bridging; assessing sensitivity to prior choice.

Looking forward, the increasing complexity of modern statistical models — high-dimensional regression, deep generative models, network data — means that classical asymptotic theory is often the first tool deployed but rarely the last word. Simulation-based validation is evolving from a supplementary check into a primary mode of establishing the reliability of statistical procedures. In some areas, such as selective inference after model selection, the asymptotic theory itself is still under development, and simulation studies define the frontier of our understanding of finite-sample behavior.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why running a simulation study under a known data-generating process provides information that analytic asymptotic results alone cannot. What specific quantity does simulation reveal that is absent from a statement like √n(θ̂ − θ) →d N(0, I(θ)⁻¹)?
PROBLEM 2BASIC CALCULATION
A simulation study with B = 10,000 replicates yields an empirical rejection rate of α̂ = 0.062 for a test with nominal level α = 0.05. (a) Compute the Monte Carlo standard error SE(α̂). (b) Construct a 95% confidence interval for the true rejection rate. (c) Does this result fall within Bradley's liberal criterion [0.025, 0.075]?
PROBLEM 3INTERMEDIATE
You wish to validate the asymptotic normality of the MLE λ̂ = X̄ for data from a Poisson(λ = 0.5) distribution. Describe a complete simulation study design: specify the statistic Tn to be evaluated, the reference distribution, the grid of sample sizes, the number of replicates, and at least two diagnostic tools you would use. Then explain what specific outcome would lead you to conclude that the approximation is inadequate at a given n.
PROBLEM 4APPLIED
A clinical trial has n = 15 patients per arm. The primary analysis uses a two-sample t-test comparing treatment means, with inference based on the asymptotic (normal theory) t-distribution. However, the biomarker of interest is known to be right-skewed (approximately lognormal). Design a simulation study to evaluate whether the t-test maintains its nominal 5% size under these conditions. Write pseudocode for the simulation, specify what you would report, and discuss what alternative procedure you might recommend if the simulation reveals substantial size inflation.
PROBLEM 5CRITICAL THINKING
A colleague claims: "I ran 100 simulation replicates and the empirical rejection rate was 0.05, so the asymptotic approximation is validated." Identify at least three methodological problems with this claim and explain how each could be remedied. Then discuss the philosophical difference between "the approximation is validated" and "the approximation was not found to be inadequate under the conditions tested."

Summary — Simulation to Validate Asymptotic Approximations

Asymptotic theory provides elegant, general results about the behavior of statistical procedures as sample sizes tend to infinity, but it cannot, by itself, tell us whether these results are accurate for the finite sample sizes encountered in practice. Monte Carlo simulation fills this gap by generating data from a known data-generating process, computing the statistic of interest across thousands of replicates, and comparing the resulting empirical sampling distribution to the theoretical asymptotic prediction. Key diagnostics include Q-Q plots, empirical rejection rates (evaluated against Bradley's criterion), and coverage probabilities for confidence intervals.

A well-designed simulation study systematically varies sample size, distributional shape, and parameter values to map the region of the problem space where the approximation is reliable. It always quantifies Monte Carlo error (SE of α̂) and includes positive controls. The method connects naturally to the parametric bootstrap (which replaces the asymptotic reference rather than validating it), higher-order asymptotic corrections (Bartlett, saddlepoint), and Bayesian calibration studies. In modern statistical practice, simulation-based validation is not optional — it is the standard of evidence for establishing that a procedure works as advertised.

Varsity Tutors • Statistics Graduate Level • Simulation for Validation — Simulation to validate asymptotic approximations