• It is calculated as: z = (x - μ) / σ where x is the value, μ is the mean, and σ is the standard deviation.
• A z score of 0 means the value is equal to the mean. A z score of 1 means the value is 1 standard deviation above the mean. A z score of -1 means the value is 1 standard deviation below the mean.
• Z scores are useful for comparing values from different normal distributions.
P value:
• It indicates the probability of obtaining a result at least as extreme as the one observed, assuming the null hypothesis is true.
• A small p value (typically ≤ 0.05) indicates strong evidence against the null hypothesis. This means the observed result is unlikely if the null hypothesis is true.
• P values are useful for hypothesis testing - determining if a result is statistically significant.
• The p value depends on the z score, but also depends on the sample size. The same z score can lead to a smaller p value if the sample size is larger.
• P values are calculated based on the cumulative distribution function of the standard normal distribution. A z score is converted into an area under the curve, which corresponds to the p value.
So in summary:
• Z scores indicate how many standard deviations a value is from the mean. They are useful for comparing values from different distributions.
• P values indicate the probability of observing a result at least as extreme as the one observed, assuming the null hypothesis is true. They are useful for hypothesis testing and determining statistical significance.
• P values are calculated from z scores, but also depend on sample size. Z scores alone do not indicate statistical significance.
Hope this helps clarify the difference between z scores and p values! Let me know if you have any other questions.
User
show how to get p value from z score and vice versa
Assistant
Sure, here's how you can calculate the p value from a z score and vice versa:
p value from z score:
Find the area under the standard normal curve that corresponds to the z score. This can be done using a z table or statistical software.
The area on the right tail is the p value. For example, if the z score is 1.65, the area under the curve is 0.95. So the p value is 0.05.
For negative z scores, find the area in the left tail. For example, if z = -1.65, the area is 0.05. So the p value is also 0.05.
For a two-tailed test, double the one-tailed p value. For example, if z = 1.65, the two-tailed p value is 0.05 * 2 = 0.10.
z score from p value:
Determine whether it is a one-tailed or two-tailed test. If one-tailed, look up the p value in the z table or use software to find the corresponding z score.
For a two-tailed test, divide the p value in half and look up the z score for that one-tailed p value. For example, if p = 0.10, look up z for p = 0.05 which is 1.65.
Pay attention to the sign of z. For p values in the right tail, z is positive. For p values in the left tail, z is negative.
Interpolate if needed. Not all p values correspond exactly to z scores in the table. You may need to interpolate between two z scores to get the correct value.
Examples:
p = 0.05, one-tailed: z = 1.645
p = 0.10, two-tailed: z = 1.65 (0.05 in each tail)
p = 0.01, one-tailed: z = 2.326
p = 0.001, one-tailed: z = 3.090
z = 1.65: p = 0.05 (one-tailed) or 0.10 (two-tailed)
z = -1.65: p = 0.05 (one-tailed) or 0.10 (two-tailed)