You are viewing a single comment's thread. Return to all comments →
import scipy.stats as st import math
pop_mean = 205 pop_sd = 15 sample_size = 49 x = 9800/49
sample_sd = pop_sd/math.sqrt(sample_size)
z_score = (x-pop_mean)/sample_sd
prob = st.norm.cdf(z_score)
print( '{:0.4f}'.format(prob))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 4: The Central Limit Theorem #1
You are viewing a single comment's thread. Return to all comments →
import scipy.stats as st import math
pop_mean = 205 pop_sd = 15 sample_size = 49 x = 9800/49
sample_sd = pop_sd/math.sqrt(sample_size)
z_score = (x-pop_mean)/sample_sd
prob = st.norm.cdf(z_score)
print( '{:0.4f}'.format(prob))