How to use
- Choose the test statistic you have: a Z-score, a t statistic, a chi-square statistic or an F statistic.
- For a Z-score you can fill in any one box, a Z-score or any of the p-values, and the rest are worked out. For the other tests enter the statistic and its degrees of freedom.
- Pick one-tailed (left or right) or two-tailed, and your significance level (0.05 is common).
- Read the p-value and whether the result is significant at that level.
Formula
The p-value is the probability, if the null hypothesis were true, of a result at least as extreme as the one observed. For a Z-score it comes from the standard normal curve; for t, chi-square and F it comes from those distributions with the given degrees of freedom. Two-tailed p = 2 × the smaller tail (at most 1). A result is significant when p ≤ α.Example
A Z-score of 2 gives a right-tail p-value of 0.02275 and a two-tailed p-value of 0.0455, which is below 0.05, so a two-tailed test at the 5% level rejects the null hypothesis. A t statistic of 2.228 with 10 degrees of freedom gives a two-tailed p-value of 0.05.
A small p-value says the data are unlikely under the null hypothesis; it does not give the probability that the null hypothesis is true or the size of an effect. Decide whether the test is one- or two-tailed before looking at the data. The chi-square and F distributions are not symmetric, so their two-tailed value is twice the smaller tail, the usual convention.