A learner shades the right tail of a bell curve.

P-Value definition

A p-value is the probability, under the null model, of a test statistic as extreme as the observed one or more extreme in the test’s specified direction.

In Spanish
valor p
Topic
Statistical inference

P-Value in a picture

P-Value diagramFor a right-tailed test, the shaded area includes the observed statistic and more extreme results to its right.Observed value
For a right-tailed test, the shaded area includes the observed statistic and more extreme results to its right.

How it works

Calculate the probability using the null distribution and the chosen alternative. A one-sided test uses one direction. A two-sided test counts extremeness in both directions according to its test statistic. A smaller p-value means the result is harder to reconcile with the null model, assuming the method applies.

Worked examples

A right-tailed test has p = 0.03. What does that mean?

Under the null model, the chance of a test statistic at least as large as observed is 3%.

Compare p = 0.02 with α = 0.05.

The p-value is below the cutoff, so reject the null under this rule.

Does p = 0.02 mean the null has a 2% chance of being true?

No. The probability is calculated under the assumption that the null model holds.

Common mistake

A p-value describes results under the null model. It does not measure the probability that the null itself is true or the size of an effect.

Quick check

What model is assumed when calculating the probability?

Show answer

The null model.

What does as extreme mean for a right-tailed test?

Show answer

At least as large as observed.

Can a p-value be greater than 1?

Show answer

No.

Sources

Flashcard

P-Value

Reveal the definition

A p-value is the probability, under the null model, of a test statistic as extreme as the observed one or more extreme in the test’s specified direction.

Effortless Math. “P-Value.” Math Dictionary.