From the free course AP Statistics on Lykke

3.6 p-Values

Key concepts: p-value — chance of a result this extreme if H₀ is true · Null distribution — how the test statistic behaves if H₀ holds · Direction of “more extreme” is set by the alternative hypothesis · Two-sided p-value — twice the tail area beyond |z| · Simulated p-value — proportion of null trials at least as extreme · Small p-value is evidence for Hₐ; a large one never confirms H₀

A p-value measures the strength of evidence against a null hypothesis by quantifying how unusual the observed sample data would be if that null hypothesis were actually true.

A p-value measures the strength of evidence against a null hypothesis by quantifying how unusual the observed sample data would be if that null hypothesis were actually true. It acts as a bridge between the raw data (the test statistic) and the final conclusion, providing a standardized probability that allows statisticians to assess whether a result is likely due to the specific claim being tested or simply the result of random sampling variability.

Definition (VAR-6.D): The p-value is the probability of observing a test statistic as extreme as, or more extreme than, the value actually observed, provided that the null hypothesis ($H_0$) is true.

The Conditional Nature of p-Values

The most critical aspect of a p-value is that it is a conditional probability (VAR-6.D.1). It does not measure the probability that a hypothesis is "correct" in an absolute sense. Instead, it operates entirely within a hypothetical world where the null hypothesis is a perfect reflection of reality. We calculate the p-value by looking at the sampling distribution centered at the null parameter and determining how much of that distribution lies at or beyond our sample statistic.

Directionality and "More Extreme"

The definition of "more extreme" is not universal; it is dictated entirely by the alternative hypothesis ($H_a$) (VAR-6.D.2). The p-value represents the area in the tail(s) of the null distribution, and the direction of those tails must align with the claim we are testing:

  • Right-Tailed Test ($H_a: p > p_0$): The p-value is the probability of getting a sample proportion $\hat{p}$ equal to or greater than the observed value.
  • Left-Tailed Test ($H_a: p < p_0$): The p-value is the probability of getting a sample proportion $\hat{p}$ equal to or less than the observed value.
  • Two-Tailed Test ($H_a: p \neq p_0$): The p-value is the probability of getting a sample proportion $\hat{p}$ that is at least as far from the null parameter $p_0$ in either direction. This is typically calculated by finding the area in one tail and doubling it.

Interpreting in Context (Skill 4.F)

To satisfy AP Skill 4.F, an interpretation must include four specific components: the condition (assuming $H_0$ is true), the probability (the p-value itself), the statistic (the observed sample result), and the direction (as extreme or more extreme).

Contextual Example: The "Lucky" Coin

Suppose a magician claims a coin is "lucky" and lands on heads more than 50% of the time. You test the null hypothesis $H_0: p = 0.50$ against the alternative $H_a: p > 0.50$. You flip the coin 50 times and observe 32 heads ($\hat{p} = 0.64$). After calculating the test statistic, you find a p-value of 0.023.

Correct Interpretation: "Assuming the coin is fair (heads 50% of the time), there is a 0.023 probability of getting a sample proportion of heads of 0.64 or greater purely by chance."

Misconception Clinic

  • Incorrect: "The p-value is the probability that the null hypothesis is true."
    • Correction: The p-value is calculated assuming the null is true; it cannot tell you the probability of the assumption itself.
  • Incorrect: "A p-value of 0.03 means there is a 3% chance the results are due to luck."
    • Correction: This implies we know the "chance of luck." The p-value only tells us how often this specific result would happen in the long run if the null model were the only thing at work.
  • Incorrect: "A p-value of 0.80 proves the null hypothesis is true."
    • Correction: A high p-value only means the data is consistent with the null hypothesis. It does not prove the null is the only possible explanation.

Interpretation Check

A researcher is testing whether a new medication reduces the proportion of patients who experience side effects compared to the current rate of 0.15. The hypotheses are $H_0: p = 0.15$ and $H_a: p < 0.15$. The resulting p-value is 0.042.

Which of the following is the most accurate interpretation of this p-value? A) There is a 4.2% chance that the medication does not work. B) Assuming the true side-effect rate is still 0.15, the probability of observing a sample proportion as low as or lower than the one found in this study is 0.042. C) The probability that the side-effect rate is less than 0.15 is 0.958. D) There is a 4.2% chance that the null hypothesis is false.

Check: B is correct. It maintains the conditional "assuming $H_0$ is true" and correctly identifies the direction of the alternative hypothesis ("as low as or lower").

3.6 p-Values - AP Statistics - image 1
3.6 p-Values - AP Statistics - image 1
3.6 p-Values - AP Statistics - diagram 1
3.6 p-Values - AP Statistics - diagram 1

Source Materials

The whole course on Lykke · Browse all public course wikis