EconPapers    
Economics at your fingertips  
 

Simulating the central limit theorem

Marshall A. Taylor ()
Additional contact information
Marshall A. Taylor: University of Notre Dame

Stata Journal, 2018, vol. 18, issue 2, 345-356

Abstract: Understanding the central limit theorem is crucial for comprehend- ing parametric inferential statistics. Despite this, undergraduate and graduate students alike often struggle with grasping how the theorem works and why re- searchers rely on its properties to draw inferences from a single unbiased random sample. In this article, I outline a new command, sdist, that can be used to simulate the central limit theorem by generating a matrix of randomly generated normal or nonnormal variables and comparing the true sampling distribution stan- dard deviation with the standard error from the first randomly generated sample. The user also has the option of plotting the empirical sampling distribution of sample means, the first random variable distribution, and a stacked visualization of the two distributions. Copyright 2018 by StataCorp LP.

Keywords: sdist; central limit theorem; simulation; runiform(); teaching (search for similar items in EconPapers)
Date: 2018
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0525 link to article purchase
http://www.stata-journal.com/software/sj18-2/st0525/ (text/html)

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:tsj:stataj:v:18:y:2018:i:2:p:345-356

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:18:y:2018:i:2:p:345-356