Accurate and consistent calculation of the mean and variance in Monte-Carlo simulations

Jherek Healy
6/10/2022
q-fin.CP

Official code: jherekhealy/MonteCarloMeanVarianceExamples.jl (0 stars, Julia, MIT, last commit 2022-09-12).

Abstract

In parallelized Monte-Carlo simulations, the order of summation is not always the same. When the mean is calculated in running fashion, this may create an artificial randomness in results which ought to be reproducible.

Show full abstract

This note takes a look at the problem and proposes to combine the running mean and variance algorithm with an accurate and robust summing algorithm in order to increase the accuracy and robustness of the Monte-Carlo estimates.

View on arXivView PDF

Code Implementations(1)

MIT

Julia code for the paper "Accurate and consistent calculation of the mean and variance in Monte-Carlo simulations"

01JuliaAug 12, 20224 years agoMIT

Similar Papers

Cite this paper

@article{healy2022accurate,
  title  = {Accurate and consistent calculation of the mean and variance in Monte-Carlo simulations},
  author = {Jherek Healy},
  year   = {2022},
  eprint = {2206.10662},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.10662}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.10662.svg)](https://codeofpaper.com/paper/2206.10662)

Discussion