Test statistics
Every hypothesis test boils your data down to one number, the test statistic, and then asks how unusual that number would be if the null hypothesis were true. Knowing what each common statistic measures makes output from any software much easier to read.
The general idea: signal over noise
test statistic ≈ observed effect / expected chance variation
A big effect relative to the noise gives a large statistic, which falls far into the tail of its null distribution and gives a small p-value. A small effect, or noisy data, gives a statistic near what chance alone would produce.
The common test statistics
| Statistic | Used in | Measures | Real example |
|---|---|---|---|
| t | t-tests, regression coefficients | Difference between means (or a coefficient) divided by its standard error | t(9) = −4.06, sleep drugs |
| F | ANOVA, the overall regression test | Variance between groups divided by variance within groups | F(2, 57) = 67.42, vitamin C dose |
| χ² (chi-square) | Chi-square tests | Total squared gap between observed and expected counts | χ²(9) = 138.29, hair and eye colour |
| z | Large-sample tests, proportions, rank-test approximations | Distance from the null value in standard errors | Dunn’s post-hoc z values |
| U, W, H | Mann-Whitney, Wilcoxon, Kruskal-Wallis | How ranks are split between groups | U = 20, chick feeds |
| r | Correlation | Strength of a linear relationship (tested via t with n − 2 df) | r(30) = −.87, car weight and mpg |
From statistic to p-value
Under the null hypothesis, each statistic follows a known distribution: t follows the t-distribution, F the F-distribution, and χ² the chi-square distribution, each shaped by its degrees of freedom. The p-value is the area of that distribution at least as extreme as your statistic.
For a two-sided t-test, both tails count, because a large negative t is as surprising as a large positive one. F and χ² are always positive, because they’re built from squares, so only the upper tail counts.
The sign of t
A t statistic’s sign just reflects which group was subtracted from which. In the sleep data t = −4.06 because the calculation was drug 1 − drug 2. Reversing the order gives +4.06 with the same p-value. Always say which direction the difference goes in words.
Why report the statistic, not just p?
- It lets readers check the p-value against the statistic and df.
- It shows which test you ran.
- It allows meta-analysts to convert results into effect sizes, which helps your work get cited.
- APA style requires it: symbol, df in brackets, value, then p.
A test statistic is not an effect size
A larger t or F doesn’t necessarily mean a bigger effect. Test statistics grow with sample size, so a tiny effect in a huge study can produce a large t. Report an effect size alongside, such as Cohen’s d, η² or Cramér’s V, to show magnitude.
More in Hypothesis testing
Try it with the free tools
Run this on your own data
Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.