LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Sampling in R

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Calculate the standard deviation across replicates of the mean attritions in sampling_distribution_5
sd_of_means_5 <- sampling_distribution_5 %>%
  ___

# Do the same for sampling_distribution_50
sd_of_means_50 <- ___


# ... and for sampling_distribution_500
sd_of_means_500 <- ___


# See the results
sd_of_means_5
sd_of_means_50
sd_of_means_500
Code bearbeiten und ausführen