Consider a population having a discrete uniform distribution that places a probability of 0.1 on each of the integers 0 through 9. The mean of this distribution is 4.5 and the standard deviation is 2.872. (a) Calculate the mean and standard error for the distribution of sample means for sample size 30 for this population. (b) In RStudio, create a variable containing the means of 50 random samples of size 30 from this population (in your answer, include the code you used to create the variable, but do not print out the listing of the 50 sample means). Remember that the rdunif() function requires the purrr library. (c) Use the hist() function to create a frequency histogram of the sample means, using the following breaks: 3.0, 3.25, 3.5, 3.75, 4.0, 4.25, 4.5, 4.75, 5.0, 5.25, 5.5, 5.75, 6.0. (d) Calculate the mean and standard deviation of the sample means.
Consider a population having a discrete uniform distribution that places a probability of 0.1 on each of the integers 0 through 9. The
(a) Calculate the mean and standard error for the distribution of sample means for
(b) In RStudio, create a variable containing the means of 50 random samples of size 30 from this population (in your answer, include the code you used to create the variable, but do not print out the listing of the 50 sample means). Remember that the rdunif()
(c) Use the hist() function to create a frequency histogram of the sample means, using the following breaks: 3.0, 3.25, 3.5, 3.75, 4.0, 4.25, 4.5, 4.75, 5.0, 5.25, 5.5, 5.75, 6.0.
(d) Calculate the mean and standard deviation of the sample means.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images