How to Evaluate P-Value: Step-by-Step Guide
In this article
Evaluating a p-value is the core step in null-hypothesis significance testing. It tells you how likely your data (or something more extreme) would be if the null hypothesis were true. This guide walks you through reading, interpreting, and acting on a p-value correctly, including what it does and does not tell you.
What You'll Need
- Your test statistic (e.g., t, z, chi-square, F) from your analysis
- The degrees of freedom for your test (df)
- Whether your hypothesis is one-tailed or two-tailed
- Your chosen significance level (alpha, usually 0.05)
- Access to a statistical table (t-table, z-table) or software (R, Python, SPSS, Excel, or an online p-value calculator)
Step-by-Step
- State your null and alternative hypotheses clearly. Write them down before you look at any output. The null (H₀) is typically "no effect" or "no difference." The alternative (H₁) is what you suspect. This determines whether you use a one-tailed or two-tailed test.
- Determine your alpha level. Alpha (α) is the threshold you set before collecting data. The most common is 0.05, meaning you accept a 5% chance of a false positive. Other common choices are 0.01 and 0.10. Do not change alpha after seeing results.
- Identify the test statistic and its distribution. Your analysis produces a test statistic (e.g., t = 2.31). The p-value is the area under the probability distribution curve (t, z, chi-square, F) beyond that statistic, in the direction(s) specified by your alternative hypothesis.
- Decide one-tailed vs. two-tailed. If your alternative hypothesis is directional (e.g., "new drug lowers blood pressure"), use a one-tailed test: the p-value is the area beyond your statistic in one tail. If it is non-directional (e.g., "the means differ"), use a two-tailed test: double the one-tailed p-value (for symmetric distributions) or sum both tail areas.
- Look up or compute the p-value. Using your test statistic and degrees of freedom:
- With software: most packages (R, Python, SPSS, Excel) output the p-value directly. In Excel, use T.DIST.2T for a two-tailed t-test, or T.DIST.RT for a right-tailed test.
- With a table: find your test statistic in the appropriate table row (df) and column. The table gives a range (e.g., p is between 0.01 and 0.02), not an exact value. For precise values, use software.
- With an online calculator: enter the statistic, df, and tail type. Verify the calculator uses the same formula as your software.
- Compare p-value to alpha. This is the decision rule:
- If p ≤ α: reject the null hypothesis. You have statistically significant evidence for the alternative.
- If p > α: fail to reject the null hypothesis. You do not have enough evidence to support the alternative. This is not proof the null is true.
- Report the result with context. Write something like: "The effect was statistically significant, t(28) = 2.31, p = 0.028." Include the test statistic, degrees of freedom, and exact p-value (not just "p < 0.05"). Report the effect size (e.g., Cohen's d) and confidence interval as well.
- Interpret in plain language. Translate the statistical result into a substantive conclusion. For example: "The data provide evidence that the new fertilizer increases yield compared to the old one." Do not say "the hypothesis is proven" or "the result is practically important"—those require additional context.
Common Mistakes
- Misinterpreting p-value as the probability the null is true. The p-value is P(data or more extreme | H₀ true), not P(H₀ true | data). These are very different. The p-value says nothing about the probability that a hypothesis is true or false.
- Using one-tailed when you should use two-tailed. Unless you pre-specified a directional hypothesis with strong justification, use two-tailed. Switching to one-tailed after seeing results inflates your false-positive rate.
- Ignoring the assumptions of the test. Every statistical test has assumptions (normality, independence, equal variances). If these are violated, the p-value is unreliable. Check them before interpreting.
- Treating p = 0.049 as fundamentally different from p = 0.051. The p-value is continuous. A tiny difference near the threshold is not meaningful. Report the exact value and interpret with caution.
- Rounding p-values to "p < 0.05" or "p = NS". This loses information. Report exact values (e.g., p = 0.043) so readers can make their own judgment.
- Confusing statistical significance with practical importance. A very small p-value can occur with a tiny, practically meaningless effect if the sample size is large. Always report effect size.
Tips
- Pre-register your analysis plan, including alpha and tail direction, before collecting data. This prevents p-hacking and questionable research practices.
- Always visualize your data first. A p-value cannot rescue a flawed design or a nonlinear relationship. Plot the data and check for outliers.
- Use confidence intervals alongside p-values. A 95% confidence interval gives the range of plausible effect sizes and conveys uncertainty more fully than a single p-value.
- If your p-value is very small (e.g., p < 0.0001), report it as "p < 0.001" in text, but keep the exact value in your output or appendix.
- For multiple comparisons, adjust your alpha (e.g., Bonferroni correction) to control the family-wise error rate. Unadjusted p-values from many tests will produce false positives by chance.
- Remember that a non-significant result (p > 0.05) is not evidence of no effect. It may be underpowered. Report the power or the confidence interval width to show what the study could detect.
Troubleshooting
- Your p-value seems too small or too large. Check your tail direction. A common error is using a one-tailed p-value when you ran a two-tailed test, or vice versa. Also verify your degrees of freedom—a wrong df changes the p-value substantially.
- Software and table disagree. Tables often round to two decimal places, giving a range rather than an exact value. Software is exact. If they disagree beyond rounding, check whether the table is for a one-tailed or two-tailed test—many t-tables give one-tailed values only.
- Your p-value is exactly 0.0000 in SPSS or R. This does not mean zero probability; it means the value is smaller than the display precision. Report as "p < 0.001" and increase decimal places in the output to see the actual value.
- You get a p-value but your data violate normality. Consider a non-parametric alternative (Mann-Whitney U, Wilcoxon, Kruskal-Wallis) which does not assume normality. These produce their own test statistics and p-values.
- Your result is significant but the confidence interval includes zero. This can happen with certain tests or approximations. Recheck your calculations. If both are computed correctly, they should agree: a significant test at α = 0.05 corresponds to a 95% CI that excludes the null value.
- You do not know the degrees of freedom. For a t-test, df = n₁ + n₂ − 2 (independent samples) or n − 1 (paired/one-sample). For chi-square, df = (rows − 1) × (columns − 1). For ANOVA, df between = k − 1, df within = N − k. If you are unsure, run the analysis in software and read the df from the output.
Frequently Asked Questions
Q: What does a p-value of 0.03 mean?
A: If the null hypothesis is true, there is a 3% chance of observing data as extreme as yours (or more so) purely by random chance. Since 0.03 is less than the typical alpha of 0.05, you would reject the null hypothesis at the 5% significance level.
Q: Is a smaller p-value always better?
A: A smaller p-value indicates stronger evidence against the null, but it does not indicate a larger or more important effect. With a huge sample, even a trivial effect can produce p < 0.0001. Always pair the p-value with an effect size.
Q: Can a p-value be negative?
A: No. A p-value is a probability and must be between 0 and 1. If your software returns a negative value, you have likely entered the wrong tail direction or used an incorrect formula. Check your inputs.
Q: What is the difference between p-value and alpha?
A: Alpha is the threshold you set before the study (e.g., 0.05). The p-value is computed from your data. You compare them: if p ≤ alpha, reject the null. Alpha is fixed; p is random.
Q: Should I report p = 0.06 as "marginally significant"?
A: Avoid this phrasing. Either your alpha is 0.05 (then p = 0.06 is not significant) or you pre-specified alpha = 0.10 (then it is). Report the exact p-value and let readers judge. Do not move the goalposts after seeing results.
Q: Does a p-value tell me the probability I made a mistake?
A: No. The p-value is not the probability that your conclusion is wrong. The probability of a Type I error (rejecting a true null) is controlled by alpha, not the p-value. The p-value is a measure of evidence, not an error rate.