Perils of Simulation : Parallel Streams and the Case of Stata’s Rnormal Command
| dc.creator | Owen Ozier | |
| dc.date | 2013-12-09T20:01:31Z | |
| dc.date | 2013-12-09T20:01:31Z | |
| dc.date | 2012-11 | |
| dc.date.accessioned | 2026-07-01T00:57:59Z | |
| dc.description | Large-scale simulation-based studies rely on at least three properties of pseudorandom number sequences. Since they behave like random numbers, they can be replicated and generated in parallel. However, there has been some divergence 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 reveals one such vulnerability in Stata's rnormal function which went unnoticed for almost four years and how this error was detected. Furthermore, the paper discusses practical implications for the use of parallel streams in existing software. | |
| dc.format | application/pdf | |
| dc.format | text/plain | |
| dc.identifier | https://hdl.handle.net/10986/16374 | |
| dc.identifier | https://doi.org/10.1596/1813-9450-6278 | |
| dc.identifier.uri | http://hdl.handle.net/123456789/413610 | |
| dc.language | en_US | |
| dc.publisher | World Bank, Washington, D.C. | |
| dc.relation | Policy Research Working Paper;No.6278 | |
| dc.rights | CC BY 3.0 IGO | |
| dc.rights | http://creativecommons.org/licenses/by/3.0/igo | |
| dc.rights | World Bank | |
| dc.subject | Applied Mathematics | |
| dc.subject | bootstrap | |
| dc.subject | bug | |
| dc.subject | Command | |
| dc.subject | confidence intervals | |
| dc.subject | cores | |
| dc.subject | Data Analysis | |
| dc.subject | Development Research | |
| dc.subject | Econometrics | |
| dc.subject | empirical methods | |
| dc.subject | Estimators | |
| dc.subject | integer | |
| dc.subject | Kurtosis | |
| dc.subject | Monte Carlo methods | |
| dc.subject | probability | |
| dc.subject | produce | |
| dc.subject | Public Services | |
| dc.subject | random numbers | |
| dc.subject | reliability | |
| dc.subject | Research Working Papers | |
| dc.subject | researchers | |
| dc.subject | sciences | |
| dc.subject | seed | |
| dc.subject | Seeds | |
| dc.subject | Simulation | |
| dc.subject | Simulations | |
| dc.subject | Skewness | |
| dc.subject | Stata | |
| dc.subject | statistical tests | |
| dc.subject | techniques | |
| dc.subject | yields | |
| dc.title | Perils of Simulation : Parallel Streams and the Case of Stata’s Rnormal Command |
