Perils of simulation: parallel streams and the case of stata's rnormal command
Owen Ozier
No 6278, Policy Research Working Paper Series from The World Bank
Abstract:
Large-scale simulation-based studies rely on at least three properties of pseudorandom number sequences: they behave in many ways like truly random numbers; they can be replicated; and they can be generated in parallel. There has been some divergence, however, between empirical techniques employing random numbers, and the standard battery of tests used to validate them. A random number generator that passes tests for any single stream of random numbers may fail the same tests when it is used to generate multiple streams in parallel. The lack of systematic testing of parallel streams leaves statistical software with important potential vulnerabilities. This paper shows one such vulnerability in Stata's rnormal function that went unnoticed for almost four years, and how to detect it. It then shows practical implications for the use of parallel streams in existing software.
Keywords: Scientific Research&Science Parks; Science Education; Statistical&Mathematical Sciences; Crops and Crop Management Systems; Geographical Information Systems (search for similar items in EconPapers)
Date: 2012-11-01
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
http://www-wds.worldbank.org/external/default/WDSC ... ered/PDF/wps6278.pdf (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:wbk:wbrwps:6278
Access Statistics for this paper
More papers in Policy Research Working Paper Series from The World Bank 1818 H Street, N.W., Washington, DC 20433. Contact information at EDIRC.
Bibliographic data for series maintained by Roula I. Yazigi ().