How does one convert a Z-score from the Z-distribution (standard normal distribution, Gaussian distribution) to a p-value? I have yet to find the magical function in Scipy\'
p_value = scipy.stats.norm.pdf(abs(z_score_max)) #one-sided test p_value = scipy.stats.norm.pdf(abs(z_score_max))*2 # two - sided test
The probability density function (pdf) function in python yields values p-values that are drawn from a z-score table in a intro/AP stats book.