Difference between revisions of "SOCR EduMaterials Activities CentralLimitTheorem"

From SOCR
Jump to: navigation, search
(This is an activity to explore the distribution of the sample mean and the Central Limit Theorem (CLT).)
(This is an activity to explore the distribution of the sample mean and the Central Limit Theorem (CLT).)
Line 36: Line 36:
  
  
Below you can see a snapshot of the theoretical distribution of <math> X </math> and <math> \bar X </math>.
+
Below you can see a snapshot of the theoretical distribution of <math> X \sim gamma(1,1) </math> and <math> \bar X </math>, together with the simulation results of 1000 samples from the gamma distribution.
  
 
<center>[[Image: SOCR_Activities_Christou_christou_clt.jpg|600px]]</center>
 
<center>[[Image: SOCR_Activities_Christou_christou_clt.jpg|600px]]</center>

Revision as of 01:24, 25 November 2006

This is an activity to explore the distribution of the sample mean and the Central Limit Theorem (CLT).

  • Description: You can access the applet for the Sample Mean Experiment at SOCR Experiments.


The central limit theorem (clt) states that if a random sample of size $n$ ($X_1, X_2, \cdots, X_n$) is selected from ANY distribution (this distribution has mean $\mu$ and standard deviation $\sigma$), then the sample mean $\bar X$ approximately follows the normal distribution with mean $\mu$ and standard deviation $\frac{\sigma}{\sqrt{n}}$. Requirements: Large $n$, usually $n \ge 30$, and independent observations. Note: If the sample is selected from a population that it is already normal then $n$ can be of any size (as small as $n=2$). We can illustrate the clt using some experiments in SOCR. You can find the {\it Sample Mean Experiment} under Experiments in SOCR. \\ Answer the following questions: \begin{itemize} \item[] Question 1: \begin{itemize} \item[a.] Select as population the normal distribution with $\mu=5, \sigma=2$. You will randomly select many samples of size $N=16$ each. The two distributions in blue are the theoretical distributions of $X$ (on the left), and $\bar X$ on the right labeled with $M$. Explain what the numbers below $X$, and below $\bar X$ are and what the column next to each one represents. \item[b.] One of the numbers under the column of $X$ is 3.16. How many standard deviations this number is from the mean of $X$ ($\mu=5$), and what is $P(3.16 < X < 5)$? Use the $z$ score and your $z$ table or SOCR (you will need to click on distributions and select the normal distribution with $\mu=5, \sigma=2$). \item[c.] One of the numbers under the column of $\bar X$ is 3.14. How many standard deviations this number is from the mean of $\bar X$ ($\mu=5$), and what is $P(3.14 < \bar X < 5)$? Use the $z$ score and your $z$ table or SOCR (you will need to click on distributions and select the normal distribution with $\mu=5, \sigma=\frac{2}{\sqrt{16}}$). \item[d.] Explain the difference between parts (b) and (c). Draw by hand the two distributions ($X$, and $\bar X$) and show the probabilities of parts (b) and (c) on the graphs (draw first the distribution of $X$ and below it the distribution of $\bar X$). \item[e.] Perform the experiment 1000 times ($\mu=5, \sigma=2, N=16$). Take a snapshot of the output. What do you observe? What is the mean of these 1000 sample means? What is the standard deviation of these 1000 sample means? How well do they compare to the theoretical mean and standard deviation of $\bar X$? \item[f.] In theory the sample size $N$ has to be large (at least 30) to get normal distribution of the sample mean. In part (e) we have only selected samples of size $N=16$. Is there a problem here? \end{itemize} \item[] Question 2: \begin{itemize} \item[a.] Select as population the gamma distribution with $k=1, b=1$ (this is a skewed to the right distribution with mean $\mu=1$ and standard deviation $\sigma=1$). You will select samples of size $N=16$. The two distributions in blue are the theoretical distributions of $X$ and $\bar X$. What is the shape of the distribution of $\bar X$? \item[b.] Perform the experiment 1000 times. Take a snapshot of the output and comment? \item[c.] Decrease the sample size to $N=1$. What do you observe? Explain. What do you think needs to be done so that the sample mean is approximately normal. \item[d.] Increase the sample to $N=36$. Describe the distribution of the sample mean? Run the experiment 1000 times. What is the mean of these 1000 sample means? What is the standard deviation of these 1000 sample means? How well do they compare to the theoretical mean and standard deviation $\bar X$? \end{itemize} \clearpage \item[] Question 3: \begin{itemize} \item[a.] Choose as population the binomial distribution with number of trials $n=4$ and probability of success $p=0.9$. Select samples of size $N=2$. Describe the distribution of the sample mean $\bar X$. What is the shape of $X$? What is the shape of $\bar X$? \item[b.] Increase the sample size to $N=31$. Describe the distribution of $\bar X$. What is the shape of the distribution of $\bar X$? \item[c.] Run the experiment 1000 times ($n=4, p=0.90, N=31$). What is the mean of these 1000 sample means? What is the standard deviation of these 1000 sample means? How well do they compare to the theoretical mean and standard deviation $\bar X$? \end{itemize} \end{itemize} \end{document}


Below you can see a snapshot of the theoretical distribution of \( X \sim gamma(1,1) \) and \( \bar X \), together with the simulation results of 1000 samples from the gamma distribution.

SOCR Activities Christou christou clt.jpg





Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif