EconPapers    
Economics at your fingertips  
 

IRREPRO: Stata module to produce a simulation of irreproducible results

Nicholas Cox

Statistical Software Components from Boston College Department of Economics

Abstract: Imagine an urn containing w white and b black balls, together with inexhaustible supplies of white and black balls. Pick one ball from the urn randomly, and replace it in the urn, together with a additional balls of the same colour. Repeat indefinitely. What happens to (say) the proportion of white balls in the urn? Experiment indicates, and analysis confirms, that in any particular experiment the proportion stabilises rapidly, but on an unrepeatable value. A set of experiments approximates a distribution of limiting proportions that is beta over the whole range from 0 to 1 (uniform if b = w = a = 1). irrepro runs the experiment once and plots proportion white against number of picks. irrepron runs the experiment for as many times as there are observations. Under Windows, the effect is a movie with as many frames as there are observations.

Language: Stata
Requires: distplot.ado
Keywords: stochastic processes; urn models; simulation; fun (search for similar items in EconPapers)
Date: 1998-12-03
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/i/irrepro.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/irrepro.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/i/irrepron.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/i/irrepron.hlp help file (text/plain)

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:boc:bocode:s362401

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s362401