Monte Carlo Estimators and Error Checks
Monte Carlo integration estimates an expectation by averaging random observations. Its characteristic uncertainty can make high-dimensional integrals tractable, but only when the estimator has a manageable variance and the samples explore the relevant distribution. A small displayed standard error is meaningful only after those assumptions have been examined.
Helpful background. Error budgets separates statistical uncertainty from discretization and model errors. Quantum-specific sampling representations are introduced in many-body quantum Monte Carlo.
An estimator and its variance
Section titled “An estimator and its variance”For a normalized density , define . Independent draws give
The sample variance estimates when it is finite. Report the estimated standard error separately from the spread of the observations . An approximately Gaussian interval needs a suitable central-limit regime; rare heavy tails can make the apparent regime misleading.
For a complex estimator, accumulate real and imaginary means and their covariance. A single unsigned “complex error bar” can hide cancellations or an imaginary bias in a theoretically real observable.
A ground-state Gaussian benchmark
Section titled “A ground-state Gaussian benchmark”In dimensionless oscillator units, the ground-state density is . It has and . For ,
At independent draws the expected standard error is about . Repeating independent runs should produce a distribution of estimates consistent with that scale. A single run that lands very close to does not demonstrate superior accuracy.
This benchmark tests the Gaussian generator, observable evaluation, accumulation, and distinction between variance and standard error.
Importance sampling changes the variance
Section titled “Importance sampling changes the variance”If samples instead come from a normalized density wherever contributes, use . Then and
for the complex mean-square convention. A proposal with insufficient tail coverage can make this variance infinite, even when the target expectation exists. Concentrating samples near a visually prominent peak is not enough.
If the normalization of is unknown, the self-normalized weighted ratio is usually used instead. It is consistent under appropriate assumptions but generally biased at finite sample size; reweighting treats its covariance and overlap diagnostics.
A reproducible sampling record
Section titled “A reproducible sampling record”Specify the target, proposal, estimator, random-number generator and seed policy, sample count, and independence assumptions. Separate pilot adaptation from the production sample or use an algorithm whose adaptation is justified. Parallel workers need independent streams or a documented stream-splitting scheme; repeating the same seed on every worker duplicates the sample rather than increasing precision.
Use numerically stable running means and variances for large offsets. Compare independent replicate estimates and inspect tails. If observations come from a Markov chain, replace the independent formula by autocorrelation-aware uncertainty. Thinning does not automatically turn a chain into independent samples.
Exercises
Section titled “Exercises”How much must the independent sample count increase to reduce standard error by a factor of three?
Solution
It must increase by a factor of nine because standard error scales as . Reducing estimator variance by a factor of nine would achieve the same reduction at unchanged sample count. Neither change corrects a biased discretization or a proposal that misses part of the support.
References
Section titled “References”- Foulkes, W. M. C., Lubos Mitas, R. J. Needs, and G. Rajagopal, “Quantum Monte Carlo simulations of solids,” Reviews of Modern Physics 73, 33–83 (2001), doi:10.1103/RevModPhys.73.33 — variational and diffusion Monte Carlo with error analysis.
- Hastings, W. K., “Monte Carlo sampling methods using Markov chains and their applications,” Biometrika 57, 97–109 (1970), doi:10.1093/biomet/57.1.97 — stationary sampling and proposal correction.