1. Learn
  2. /
  3. Courses
  4. /
  5. Sampling in R

Exercise

Population and sampling distribution variation

You just calculated the mean of the sampling distribution and saw how it is an estimate of the corresponding population parameter. Similarly, as a result of the central limit theorem, the standard deviation of the sampling distribution has an interesting relationship with the population parameter's standard deviation and the sample size.

attrition_pop, sampling_distribution_5, sampling_distribution_50, and sampling_distribution_500 are available; dplyr is loaded.

Instructions 1/2

undefined XP
    1
    2
  • Using sampling_distribution_5, calculate the standard deviation across all the replicates of the mean_attritions (a standard deviation of sample means). Store this in a column called sd_mean_attrition.
  • Do the same calculation using sampling_distribution_50 and sampling_distribution_500.