P-Value Formula

P-value is the probability of observing a test statistic at least as extreme as the one computed from the sample data, assuming the null hypothesis H_0 is true.

The Formula

p-value=P(∣Z∣≥∣zobs∣∣H0 true)

Ask yourself: Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?

Quick example

Test statistic z=2.4 for a two-tailed test. p-value=2×P(Z>2.4)=2×0.0082=0.0164 Since 0.0164<0.05=α, reject H0.

Notation

If p-value <α, reject H0. If p-value ≥α, fail to reject H0.

What this formula means

The probability of observing a test statistic at least as extreme as the one computed from the sample data, assuming the null hypothesis H0 is true.

A p-value is a surprise meter that assumes nothing special is going on. A friend says she is an average free-throw shooter, then sinks 20 shots in a row; you ask how often an average shooter would do that. The rarer that is under her story, the less you believe the story. The meter rates the data, not the story's probability.

Formal view

p-value=P(∣Z∣≥∣zobs∣∣H0) (two-tailed); reject H0 when p-value <α

Worked examples

Example 1

medium
A hypothesis test produces z=2.3 for a two-tailed test. Calculate the p-value and interpret it at both α=0.05 and α=0.01.
Show solution

Answer

p=0.0214. Significant at α=0.05 but not at α=0.01.

First step

1.
Two-tailed p-value: p=2×P(Z>2.3)=2×(1−0.9893)=2×0.0107=0.0214

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Correct the following misconceptions about p-values: (a) 'p=0.03 means there's a 3% chance H₀ is true.' (b) 'p=0.03 means the effect is large.'

Example 3

easy
A right-tailed test produces z=0.5. Use P(Z>0.5)=0.3085 to find the p-value and decide at α=0.05.

Common mistakes

  • Reading the p-value as the probability the null hypothesis is true - it is the probability of the data given the null, not of the null given the data.
  • Concluding H0 is true when p is large - a large p-value means insufficient evidence to reject, never proof the null holds.
  • Comparing the p-value to the wrong tail or forgetting two-sided - use ∣Z∣≥∣zobs∣ for a two-sided test, doubling the one-tail area.

Why this formula matters

Most scientific claims you read, from "this drug lowers blood pressure" to "this teaching method helps," are backed by a p-value. Reading it correctly separates "these data would be surprising if the drug did nothing" from the common misreading "there's only a 3% chance the drug does nothing." That misreading inflates confidence in weak results and lies behind many headlines that later fail to replicate.

Frequently asked questions

What is the P-Value formula?

The probability of observing a test statistic at least as extreme as the one computed from the sample data, assuming the null hypothesis H0 is true.

How do you use the P-Value formula?

Use a p-value after computing a test statistic (z, t or χ2) when you need to say how surprising the data are under H0, then compare it with α. Count both tails for a two-sided Ha (≠) and one tail for > or <. If the question asks how likely H0 itself is, a p-value can't answer it. If it asks for the long-run rate of rejecting a true null, that is α, the Type I error rate.

What do the symbols mean in the P-Value formula?

If p-value <α, reject H0. If p-value ≥α, fail to reject H0.

Why is the P-Value formula important in Math?

Most scientific claims you read, from "this drug lowers blood pressure" to "this teaching method helps," are backed by a p-value. Reading it correctly separates "these data would be surprising if the drug did nothing" from the common misreading "there's only a 3% chance the drug does nothing." That misreading inflates confidence in weak results and lies behind many headlines that later fail to replicate.

What do students get wrong about P-Value?

The procedure for p-value is the easy part; the trap is reading the p-value as the probability the null hypothesis is true. Asking "Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the P-Value formula?

Before studying the P-Value formula, you should understand: hypothesis testing, probability.