MulaiMulai sekarang secara gratis

Population & 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; numpy is loaded with its usual alias.

Latihan ini adalah bagian dari kursus

Sampling in Python

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate the std. dev. of the mean attritions for each sampling distribution
sd_of_means_5 = ____
sd_of_means_50 = ____
sd_of_means_500 = ____

# Print the results
print(sd_of_means_5)
print(sd_of_means_50)
print(sd_of_means_500)
Edit dan Jalankan Kode