P-value: definition and interpretation

    Understanding the P-value in AP Statistics

    The P-value is a crucial concept in hypothesis testing, representing the probability of observing a test statistic as extreme as, or more extreme than, the one calculated from our sample data, assuming that the null hypothesis is true. It quantifies the evidence against the null hypothesis.

    Defining 'Extreme'

    What constitutes 'extreme' depends on the alternative hypothesis:

    • One-sided (right-tailed) test: If Ha: p > p0, extreme values are those significantly larger than what's expected under H0. The P-value is the probability of getting a test statistic greater than or equal to the observed one.
    • One-sided (left-tailed) test: If Ha: p < p0, extreme values are those significantly smaller than what's expected under H0. The P-value is the probability of getting a test statistic less than or equal to the observed one.
    • Two-sided test: If Ha: p ≠ p0, extreme values are those significantly larger or significantly smaller than expected. The P-value is typically calculated as twice the one-sided P-value, considering the magnitude of deviation from the null hypothesis in either direction.

    Calculating the P-value for Proportions

    For inference about a single proportion or the difference between two proportions, we often use a Z-test. The test statistic (Z-score) is calculated as:

    Z = (p̂ - p0) / sqrt(p0(1-p0)/n) (for a single proportion)

    Or:

    Z = (p̂₁ - p̂₂) / sqrt(p̂c(1-p̂c)(1/n₁ + 1/n₂)) (for difference of two proportions, where p̂c is the pooled proportion)

    Once the Z-score is obtained, the P-value is found using the standard normal distribution (Z-table or calculator function like normalcdf). For example, if a Z-score of 2.15 is observed in a right-tailed test, the P-value would be P(Z ≥ 2.15).

    Interpreting the P-value

    The interpretation of the P-value is critical for drawing conclusions from a hypothesis test. A common incorrect interpretation is that the P-value is the probability that the null hypothesis is true. This is false.

    Correct interpretation structure:

    "Assuming the null hypothesis [state H0 in context] is true, there is a [P-value as a decimal or percentage] probability of observing a sample statistic [e.g., sample proportion, difference in sample proportions] as extreme as or more extreme than the one observed, by random chance."

    Decision Rule: Comparing P-value to Alpha Level

    We compare the P-value to a pre-determined significance level, denoted by alpha (α), which is the probability of making a Type I error (rejecting a true null hypothesis). Common alpha levels are 0.10, 0.05, and 0.01.

    • If P-value < α: We reject the null hypothesis (H0). This means the observed data provide convincing statistical evidence against H0 and in favor of the alternative hypothesis (Ha).
    • If P-value ≥ α: We fail to reject the null hypothesis (H0). This means the observed data do not provide convincing statistical evidence against H0. We do not conclude that H0 is true; rather, we lack sufficient evidence to reject it.

    For example, if a study finds a P-value of 0.02 and α = 0.05, we reject H0 because 0.02 < 0.05. This suggests the observed effect is statistically significant.

    Practice questions

    1

    A researcher calculated a P-value of 0.03 for a hypothesis test concerning a population proportion. If the significance level (alpha) is 0.05, what is the appropriate conclusion?

    2

    Which of the following is the correct interpretation of a P-value of 0.01 in the context of a study investigating if a new medication improves a certain condition (H0: no improvement, Ha: improvement)?

    3

    If a P-value is 0.15 and the significance level is 0.10, what decision should be made regarding the null hypothesis?

    4

    What does a P-value quantify in hypothesis testing?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/statistics/unit-6-inference-for-categorical-data-proportions/p-value-definition-and-interpretation