Question

In: Math

To see for yourself how the central limit theorem works, let's say we have a normal...

To see for yourself how the central limit theorem works, let's say we have a normal distribution (with mean =100 and standard devation = 20). Let's generate some random samples of various sizes from this distribution. We can do this in excel using =norm.inv(rand(),100,20) and it will randomly generate numbers from this distribution. I generated four samples of size 5, 10, 20 and 30, and got the means of 124 (n=5); 91 (n=10); 105 (n=20); 103 (n=30). If I continue to increase the sample size, my average values should converge to the mean of 100. Now you try. Pick a distribution and generate some sample sizes to prove this to yourself. Post and discuss your results.

Solutions

Expert Solution

ANSWER:

In R,

set.seed(5)
s1=rnorm(5,mean=100,sd=20)
mean(s1)
set.seed(5)
s2=rnorm(10,mean=100,sd=20)
mean(s2)
set.seed(5)
s3=rnorm(15,mean=100,sd=20)
mean(s3)
set.seed(5)
s4=rnorm(20,mean=100,sd=20)
mean(s4)
set.seed(5)
s5=rnorm(25,mean=100,sd=20)
mean(s5)
set.seed(5)
s6=rnorm(30,mean=100,sd=20)
mean(s6)
set.seed(5)
s7=rnorm(40,mean=100,sd=20)
mean(s7)
set.seed(5)
s8=rnorm(50,mean=100,sd=20)
mean(s8)
set.seed(5)
s9=rnorm(100,mean=100,sd=20)
mean(s9)
set.seed(5)
> set.seed(5)
> s1=rnorm(5,mean=100,sd=20)
> mean(s1)
[1] 104.2784
> set.seed(5)
> s2=rnorm(10,mean=100,sd=20)
> mean(s2)
[1] 98.42297
> set.seed(5)
> s3=rnorm(15,mean=100,sd=20)
> mean(s3)
[1] 96.43686
> set.seed(5)
> s4=rnorm(20,mean=100,sd=20)
> mean(s4)
[1] 94.38884
> set.seed(5)
> s5=rnorm(25,mean=100,sd=20)
> mean(s5)
[1] 99.37997
> set.seed(5)
> s6=rnorm(30,mean=100,sd=20)
> mean(s6)
[1] 100.226
> set.seed(5)
> s7=rnorm(40,mean=100,sd=20)
> mean(s7)
[1] 101.3566
> set.seed(5)
> s8=rnorm(50,mean=100,sd=20)
> mean(s8)
[1] 101.2987
> set.seed(5)
> s9=rnorm(100,mean=100,sd=20)
> mean(s9)
[1] 100.6327
> set.seed(5)

So as sample size increases the sample mean follows to population mean = 100


Related Solutions

Demonstrate the use of the normal distribution, the standard normal distribution, and the central limit theorem...
Demonstrate the use of the normal distribution, the standard normal distribution, and the central limit theorem for calculating areas under the normal curve and exploring these concepts in real life applications. Scenario Frank has only had a brief introduction to statistics when he was in high school 12 years ago, and that did not cover inferential statistics. He is not confident in his ability to answer some of the problems posed in the course. As Frank's tutor, you need to...
I would like to see a proof of the Central Limit Theorem that applies to a...
I would like to see a proof of the Central Limit Theorem that applies to a simple probability dice scenerio, say rolling a 6 x amount of times. The goal is to help me understand the theorem with a simple example. Thanks!
Let's try putting the CLT (Central Limit Theorem) to practice. In a study of bumblebee bats,...
Let's try putting the CLT (Central Limit Theorem) to practice. In a study of bumblebee bats, one of the world’s smallest mammals, the weights have a mean of 2.0 grams and a standard deviation of 0.25 gram. a) Find the probability that a randomly selected bat from the study weights more than 2.3 grams. b) A random sample of 7 bumblebee bats is selected from the study. Find the probability that the mean weight of the sample is more than...
This week we’ve introduced the central limit theorem. According to the central limit theorem, for all...
This week we’ve introduced the central limit theorem. According to the central limit theorem, for all samples of the same size n with n>30, the sampling distribution of x can be approximated by a normal distribution. In your initial post use your own words to explain what this theorem means. Then provide a quick example to explain how this theorem might apply in real life. At last, please share with us your thoughts about why this theorem is important.
We are introduced to the Central Limit Theorem, so you have to explain what makes the...
We are introduced to the Central Limit Theorem, so you have to explain what makes the Central Limit Theorem so important to statistics? Then we are introduced to Confidence Intervals. I would like you to explain if we can have a confidence interval for a confidence level of 100%?
Using the Central Limit Theorem, how can we be confident that this public opinion polling tells...
Using the Central Limit Theorem, how can we be confident that this public opinion polling tells us information about a larger population by taking a sample?
It is said that the Central Limit Theorem is the most important theorem in all of...
It is said that the Central Limit Theorem is the most important theorem in all of Statistics. In your own words, describe why it is so important.
For statistics we use the central limit theorem rule for n>30. But what do we use...
For statistics we use the central limit theorem rule for n>30. But what do we use is n<30?? Please fully explain with examples
How does the central limit theorem work and why is it so important to the use...
How does the central limit theorem work and why is it so important to the use of inferential statistics?
Discuss The Central Limit Theorem and how it is used hypothesis testing for sample means and...
Discuss The Central Limit Theorem and how it is used hypothesis testing for sample means and sample proportions.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT