Question

In: Statistics and Probability

The purpose of this is to demonstrate the sampling distribution of the sample mean when the...

The purpose of this is to demonstrate the sampling distribution of the sample mean when the data is generated from an exponential distribution (at rate 2.0) as sample size increases. Describe and compare the sampling distributions of the sample mean for sample sizes n=5, n=20, n=40. Do this by simulating samples at least 5000 times. R-code for generating a sample of size n=10 from exponential distribution at rate 2.0 is

>rexp(n=10, rate=2.0)

Solutions

Expert Solution

R pROGRAM

nsim=5000
x1=numeric(nsim)
x2=numeric(nsim)
x3=numeric(nsim)
for( i in 1:nsim)
{
x1[i]=mean(rexp(n=5,rate=2))
x2[i]=mean(rexp(n=20,rate=2))
x3[i]=mean(rexp(n=40,rate=2))
}
par(mfrow=c(1,3))
hist(x1,prob=TRUE,ylim=c(0,5),xlab="",ylab="",main="Histogram for n=5")
hist(x2,prob=TRUE,ylim=c(0,5),xlab="",ylab="",main="Histogram for n=20")
hist(x3,prob=TRUE,ylim=c(0,5),xlab="",ylab="",main="Histogram for n=40")

For the purpose of comparison, we plot the histogram of the 5000 sample means thus generated for each sample size.

We find that as we increase n, the height of the histogram increases with decrease in the spread. This is expected because as we increase n, the sample mean becomes closer to the population mean 1/2 . Hence as we increase sample size , the spread reduces and height increases. For further large n, it is expected to have a histogram with a bar of huge height and virtually zero spread.


Related Solutions

What is the sampling distribution of the sample mean? Provide examples.
What is the sampling distribution of the sample mean? Provide examples.  
1. The sampling distribution of the sample mean is approximately normal for all sample sizes. a....
1. The sampling distribution of the sample mean is approximately normal for all sample sizes. a. true b. false 2. If all possible samples of the same size have the same chance of being selected, these samples are said to be random samples. a. true b. false 3. The population of sample means of every possible sample size (n) is known as the ______ distribution of the mean. 4. A sample size of 49 drawn from a population with a...
What is the sampling distribution of the sample mean? What is the central limit theorem?
  Question 4 What is the sampling distribution of the sample mean? Provide examples. Question 5 What is the central limit theorem? Provide examples. Question 6 What is the standard error of the mean? Provide examples.
Purpose: To explore the sampling distribution for sample proportions. Materials: One package of candies with multiple...
Purpose: To explore the sampling distribution for sample proportions. Materials: One package of candies with multiple colors (M&M’s – any variety, Skittles – any variety, Reese’s Pieces, etc.). You may select any size package but be mindful of the “sample size” which will vary depending on the type of candy you choose. You may want to purchase at least a king size package to ensure you end up with a sample size that is “large enough.” Select a color whose...
Define the sampling distribution of the mean
Define the sampling distribution of the mean
Which is true for the sampling distribution of the sample mean (note multiple answers may be...
Which is true for the sampling distribution of the sample mean (note multiple answers may be correct)? A. The standard deviation for the sample mean is always less than the standard deviation for the underlying population that created the mean. B. The sample mean will only follow a normal distribution if the sample from which the mean was constructed is also a normal distribution. C. The sample mean will follow a normal distribution only if the sample constructing the mean...
Explain how a sampling distribution is created. What does the mean (center) of the sampling distribution...
Explain how a sampling distribution is created. What does the mean (center) of the sampling distribution tell us? What is the standard deviation of the sampling distribution called and what does it tell us? Explain the central limit theorem. Why is it important for a sampling distribution of sample means and sample proportions to be normal? What requirement ensures that a sampling distribution for sample means is normal? What requirement ensures that a sampling distribution for sample proportion is normal?...
What is a sampling distribution? If we are considering the sample mean, how do we calculate...
What is a sampling distribution? If we are considering the sample mean, how do we calculate the standard error of the sample mean? If we are considering the sample proportion, how do we calculate the standard error of the sample proportion?
How do you calculate the mean and standard deviation of the sampling distribution for sample means?...
How do you calculate the mean and standard deviation of the sampling distribution for sample means? [2 sentences] What is the effect of increasing sample size on the sampling distribution and what does this mean in terms of the central limit theorem? [2 sentences] Why is the standard deviation of the sampling distribution smaller than the standard deviation of the population from which it came? [3 sentences]
(a) Create a sampling distribution for the sample mean using sample sizes n=2. Take N=2000 repeated...
(a) Create a sampling distribution for the sample mean using sample sizes n=2. Take N=2000 repeated sample sizes of 2, and observe the histogram of the sample means. What shape does this sampling distribution have? The sampling distribution is normal The sampling distribution is triangular The sampling distribution is skewed right The sampling distribution is uniform (b) Now take N = 2000 repeated samples of size 8. Explain how the variability and the shape of the sampling distribution changes as...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT