statable Statistics for study and research

What does a p value say, and what does it not say? (principles on the p value, sample size, effect size)

In brief

The p value answers a narrow question: how unusual would these data be if the null hypothesis and all assumptions of the calculation held? It does not say how probable the hypothesis is, how large the effect is or how important. The same effect gives very different p values with different sample sizes.

An example by hand

A support program raises test performance by 5 points on average, the standard deviation is 10 points in both groups. Three studies find exactly this difference, with 10, 40 and 160 people per group.

The effect is the same, only the precision of its measurement grows. t grows with the square root of n: sixteen times the sample size gives four times t.

Principles in six sentences

  1. A small p value shows that the data fit a model poorly. Whether the null hypothesis or another assumption of the model is to blame it does not show.
  2. It is not a probability for the hypothesis and not a probability that only chance was at work.
  3. It measures neither size nor importance of an effect. Tiny effects become significant with many people, large ones often not with few.
  4. The threshold of 5% is a convention. Conclusions and decisions should not hinge solely on whether p lies just below or above it.
  5. A p value can be interpreted only if it is clear how many analyses there were. If many are run and only the striking ones shown, the values shown say almost nothing.
  6. A p value never stands alone in a report: effect size and interval show how large and how precisely the effect is estimated.

How it works in Statable

  1. Under "Learning" open the unit "Principles on the p value": first "Work it out yourself" with the three studies, then "Try it out".
  2. In the calculator "Compare groups from summary numbers" enter the same means and standard deviations with 10, 40 and 160 people and look at p, effect and confidence interval side by side.
  3. The result sentence of an analysis gives p as an exact number and puts effect size and interval beside it.

What is often misunderstood

For specialists

The p value tests the whole statistical model, including random sampling or randomisation and the assumption that the analysis was not chosen after the result. For a given sample size a p threshold is at the same time a minimum effect size: with 60 people in total the two-sided threshold of 5% corresponds to a correlation of r = 0.254. The inference from "p small" to "H₀ improbable" is formally invalid, because P(H₀ | data) is sought but P(data | H₀) is delivered; the reversal requires Bayes' theorem and a prior probability. Alternatives and complements: estimation with intervals, Bayes factors, likelihood ratios.

Sources

Wasserstein, R. L. & Lazar, N. A. (2016). The ASA statement on p-values: context, process, and purpose. The American Statistician, 70, 129-133. Greenland, S. et al. (2016). Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations. European Journal of Epidemiology, 31, 337-350. Funder, D. C. & Ozer, D. J. (2019). Evaluating effect size in psychological research: sense and nonsense. Advances in Methods and Practices in Psychological Science, 2, 156-168.

Take away

  • p says how poorly the data fit a model with a null hypothesis, not how probable the hypothesis is.
  • The same effect gives a smaller p with a larger sample size: t grows with the square root of n.
  • Neither a small nor a large p says anything about size or importance of the effect.
  • Every p belongs together with effect size, interval and the number of analyses run.

Related

Open in Statable