How to find the p-value for one-tailed and two-tailed tests
Once you’ve calculated a test statistic, the next step is to ask how extreme it would be if the null hypothesis were true. We’ll use three z-scores to see which area to count and how that area helps us make a decision.
Find the area for results at least as extreme
The p-value is the probability, assuming the null hypothesis is true, of getting a test statistic at least as extreme as the one we observed, in the direction or directions given by the alternative hypothesis. In a lower-tailed test, count smaller values. In an upper-tailed test, count larger values. For a two-tailed z-test, count values at least as far from zero in either direction.
Find a lower-tailed p-value
If the observed statistic is , a left-area z-table gives . You can find it in the row and the column. The table already gives the area we need, so .
Find an upper-tailed p-value
If the observed statistic is , the table gives to the left. The two areas add up to , so subtract the left area to get the right area.
Find a two-tailed p-value
For , the z-table gives to the left. The right tail starts at . Its matching left tail ends at . Because the normal curve is symmetric, those two areas are equal.
The same tail logic works for the symmetric distribution. Use the appropriate degrees of freedom and check whether your table reports a left area, a right-tail area, or both tails together.
Compare the p-value with the significance level
Choose the significance level before looking at the results. It sets the allowable Type I error rate, the chance of rejecting a true null hypothesis under the test model. If , reject . If , fail to reject .
At , both one-tailed examples are significant because . The two-tailed example fails to reject because . At or , all three fail to reject.
Use a critical value to make the same decision
In an upper-tailed z-test at , the critical value is about . It leaves to its right. The observed falls below that cutoff, so we fail to reject . Here sets the rejection region. The p-value is the area measured from the observed statistic.