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.
The Formula
When to use: The p-value answers: 'If nothing special is going on ( is true), how surprising is my data?' A tiny p-value means the data would be very rare under , so maybe is wrong. Think of it like this: you flip a coin 100 times and get 92 heads. If the coin is fair, the chance of that happening is astronomically small (tiny p-value)—so you'd conclude the coin is probably not fair.
Quick Example
Notation
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 is true.
The p-value answers: 'If nothing special is going on ( is true), how surprising is my data?' A tiny p-value means the data would be very rare under , so maybe is wrong. Think of it like this: you flip a coin 100 times and get 92 heads. If the coin is fair, the chance of that happening is astronomically small (tiny p-value)—so you'd conclude the coin is probably not fair.
Formal View
Worked Examples
Example 1
mediumAnswer
First step
See the full worked solution + why-it-works coaching
SetupKey insightWhy it worksCommon pitfallConnection
Example 2
hardExample 3
easyCommon 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 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 for a two-sided test, doubling the one-tail area.
Why This Formula Matters
The p-value is the single number that turns 'my sample looks different' into a defensible reject/fail-to-reject decision. Students who read it backward — as the probability the null is true — draw wrong conclusions from correct arithmetic, which is the most common inference error in all of intro statistics. Recognizing it by "Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?" — rather than by familiar numbers — is what lets a student tell it apart from significance level and confidence level and type i error rate in a mixed problem set.
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 is true.
How do you use the P-Value formula?
The p-value answers: 'If nothing special is going on ( is true), how surprising is my data?' A tiny p-value means the data would be very rare under , so maybe is wrong. Think of it like this: you flip a coin 100 times and get 92 heads. If the coin is fair, the chance of that happening is astronomically small (tiny p-value)—so you'd conclude the coin is probably not fair.
What do the symbols mean in the P-Value formula?
If p-value , reject . If p-value , fail to reject .
Why is the P-Value formula important in Math?
The p-value is the single number that turns 'my sample looks different' into a defensible reject/fail-to-reject decision. Students who read it backward — as the probability the null is true — draw wrong conclusions from correct arithmetic, which is the most common inference error in all of intro statistics. Recognizing it by "Am I computing the probability of data this extreme assuming the null is true (not the probability the null is true)?" — rather than by familiar numbers — is what lets a student tell it apart from significance level and confidence level and type i error rate in a mixed problem set.
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.