EconPapers    
Economics at your fingertips  
 

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

Jherek Healy

Papers from arXiv.org

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.

Date: 2022-06, Revised 2022-09
New Economics Papers: this item is included in nep-cmp
References: Add references at CitEc
Citations:

Downloads: (external link)
http://arxiv.org/pdf/2206.10662 Latest version (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:arx:papers:2206.10662

Access Statistics for this paper

More papers in Papers from arXiv.org
Bibliographic data for series maintained by arXiv administrators ().

 
Page updated 2025-03-19
Handle: RePEc:arx:papers:2206.10662