Draw 500 random samples of size 8 from a random number generator for a standard normal distribution. then increase the sample size to 32. Finally, increase the sample size to 128.
We given an R program for the simulation purpose. The 600 random samples is specified in "B <- 500" and the sample sizes of 8, 32, and 128 respectively through rnorm(8), rnorm(32) and rnorm(128).
> B <- 500
> bs8 = bs32 = bs128 <- NULL
> for(i in 1:B) {
+ bs8[i] <- mean(rnorm(8))
+ bs32[i] <- mean(rnorm(32))
+ bs128[i] <- mean(rnorm(128))
+ }
For each step, calculate the sample mean and the sample variance.
> mean(bs8); mean(bs32); mean(bs128)
[1] -0.007853833
[1] 0.001011168
[1] -0.0021334
> var(bs8); var(bs32); var(bs128)
[1] 0.09262657
[1] 0.03790872
[1] 0.01066618
The simulation shows that as the sample size increases, the variability decreases.
Plot histograms of the sampling distributions of both estimator for each of these three sample sizes.
> windows(height=15,width=5)
> par(mfrow=c(3,1))
> hist(bs8,main="CLT Based on Size 8")
> hist(bs32,main="CLT Based on Size 32")
> hist(bs128,main="CLT Based on Size 128")

Repeat the same experiment with samples drawn from another distribution of your choice, for example an Uniform Distribution or a 2 -distribution. Discuss the results of these experiments in light of the CLT.
The normal distribution is replaced by a Gamma distribution and the previous R program is repeated all over again.
> B <- 500
> bsnonnormal08 = bsnonnormal32 = bsnonnormal128 <- NULL
> for(i in 1:B) {
+ bsnonnormal08[i] <- mean(rgamma(8,5,1.5))
+ bsnonnormal32[i] <- mean(rgamma(32,5,1.5))
+ bsnonnormal128[i] <- mean(rgamma(128,5,1.5))
+ }
> mean(bsnonnormal08); mean(bsnonnormal32); mean(bsnonnormal128)
[1] 3.309641
[1] 3.333957
[1] 3.332683
> var(bsnonnormal08); var(bsnonnormal32); var(bsnonnormal1228)
[1] 0.2112038
[1] 0.0860186
[1] 0.0228132
> windows(height=15,width=5)
> par(mfrow=c(3,1))
> hist(bsnonnormal08,main="CLT Based on Size 08")
> hist(bsnonnormal32,main="CLT Based on Size 32")
> hist(bsnonnormal128,main="CLT Based on Size 128")

The reduction is sample variance is slower now.
Comment
Part D: 1. Draw 500 random samples of size 8 from a random number generator from...
Histograms Samples of size 2 200 Samples of size 5 28 Sample Mean Waist Size 48 30 Sample Mean Waist Size 42 Samples of sizeSamples of size Q 20 200 200 32 Sample Mean Waist Size 32 Sample Mean Waist Size This Question: 1 pt 7 of 8 (0 complete) This Quiz: 8 pts pos A study measured the waist size of 989 men, finding a mean of 36.22 inches and a standard deviation of 4.03 inches. A histogram of...
1) Random samples of size n were selected from populations with the means and variances given here. Find the mean and standard deviation of the sampling distribution of the sample mean in each case. (Round your answers to four decimal places.) (a) n = 16, μ = 14, σ2 = 9 μ=σ= (b) n = 100, μ = 9, σ2 = 4 μ=σ= (c) n = 10, μ = 118, σ2 = 1 μ=σ= 3) A random sample of size...
Random samples of size 55 are taken from a normally distributed population that has 425 elements, a population mean of 20, and a population standard deviation of 7. What is the standard deviation of the sampling distribution of the sample means?
Random samples of size 55 are taken from a normally distributed population that has 425 elements, a population mean of 20, and a population standard deviation of 7. What is the standard deviation of the sampling distribution of the sample means?
Consider random samples of size 265 drawn from population A with proportion 0.13 and random samples of size 285 drawn from population B with proportion 0.31. (a) Find the standard error of the distribution of differences in sample proportions, p A D B. Round your answer for the standard error to three decimal places. standard error Consider random samples of size 86 drawn from population A with proportion 0.44 and random samples of size 66 drawn from population B with...
Random samples of size n = 2 are drawn from a finite population that consists of the numbers 2, 4, 6, and 8. (a) Calculate the mean and the standard deviation of this population. (b) List the six possible random samples of size n = 2 that can be drawn from this population and calculate their means. (c) Use the results of part (b) to construct the sampling distribution of the mean for random samples of size n = 2...
1. Three randomly selected households are surveyed. The numbers of people in the households are 3, 4 and 11. Assume that samples of size n=2 are randomly selected with replacement from the population of3, 4, and 11. Listed below are the nine different samples. Complete parts (a) through (c).3,3 3,4 3,11 4,3 4,4 4,11 11,3 11,4 11,11a. Find the variance of each of the nine samples, then summarize the sampling distribution of the variances in the format of a table...
Page 1 Question 1 Suppose we take repeated random samples of size 20 from a population with a Select all that apply. mean of 60 and a standard deviation of 8. Which of the following statements is 10 points true about the sampling distribution of the sample mean (x)? Check all that apply. A. The distribution is normal regardless of the shape of the population distribution, because the sample size is large enough. B. The distribution will be normal as...
For random samples of size n = 16 selected from a normal distribution with a mean of 75 and a standard deviation of 20, find each of the following: a. The range of sample means that defines the middle 95% of the distribution of sample means b. The range of sample means that defines the middle 99% of the distribution of sample means
Question 41 2.381 points Save Answer Random samples of size 49 are taken from a population that has 200 elements, a mean of 100, and a variance of 196. The distribution of the population is unknown. The mean and the standard error of the distribution of sample means are 100 and 28 100 and 2 100 and 24.39 100 and 1.74