SOTAVerified

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

2022-06-10Code Available0· sign in to hype

Jherek Healy

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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. 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.

Reproductions