Skip to content

Inferential statistics, hypothesis testing and the p-value

Inferential statistics provides the mathematical framework to make generalizations about a larger population based on data collected from a representative sample. Unlike descriptive statistics which merely characterize a dataset, inferential methods use probability theory to distinguish between genuine clinical effects and random sampling error. The process centers on hypothesis testing, where researchers contrast a Null Hypothesis H0H_0, representing no effect, against an Alternative Hypothesis HAH_A, representing a significant difference. The outcome is typically measured by a P-value, which is compared against a pre-defined significance threshold α\alpha to determine if the results are statistically significant, while accounting for the inherent risks of Type I (False Positive) and Type II (False Negative) errors.

Key points

  • Goal: To infer population characteristics from sample data using probability.
  • Hypothesis Testing: Involves the Null Hypothesis H0H_0: no difference) and Alternative Hypothesis HAH_A: genuine effect).
  • P-value: The probability of observing results as extreme as the study's, assuming H0H_0 is true.
  • Significance Threshold α\alpha: Usually set at 0.05 (5%); results are significant if P<αP < \alpha.
  • Type I Error α\alpha: Falsely rejecting H0H_0 (False Positive).
  • Type II Error β\beta: Falsely failing to reject H0H_0 (False Negative).
  • Statistical Power 1−β1 - \beta: The ability of a test to detect a true effect.
  • Clinical vs. Statistical Significance: A low P-value proves mathematical significance but does not inherently guarantee clinical importance or large effect size.

1. Fundamentals of Inference

  • Purpose: Generalizing findings from a sample to a population.
  • Mechanism: Uses probability theory to account for sampling error.
  • Signal vs. Noise: Statistical tests filter actual biological/clinical 'signals' from random 'noise'.

2. The Hypothesis Framework

  • Null Hypothesis H0H_0:
    • Represents the status quo or "no change."
    • Assumes observed differences are due to chance.
  • Alternative Hypothesis HAH_A or H1H_1:
    • Represents the researcher's claim of a real effect.
    • Posits a statistically significant difference exists.

3. Understanding the P-Value

  • Definition: The probability of obtaining the observed result (or more extreme) if H0H_0 is true.
  • Interpretation:
    • High P-value: Data is consistent with H0H_0 - fail to reject H0H_0.
    • Low P-value: Result is unlikely under H0H_0 - reject H0H_0 in favor of HAH_A.
  • Common Misconceptions:
    • It is NOT the probability that H0H_0 is true.
    • It is NOT the probability that the results are false.
    • It does NOT measure the magnitude or clinical importance of the effect.

4. Alpha Level α\alpha and Significance

  • Threshold: A pre-determined cutoff for significance, typically set at 0.050.05.
  • Decision Rule: If P<0.05P < 0.05, the result is "statistically significant."
  • Risk Tolerance: Setting α=0.05\alpha = 0.05 means accepting a 5% risk of a False Positive.

5. Statistical Errors

  • Type I Error (Alpha Error):
    • Occurs when H0H_0 is rejected despite being true.
    • Known as a False Positive.
    • Probability is equal to the α\alpha level.
  • Type II Error (Beta Error):
    • Occurs when H0H_0 is not rejected despite HAH_A being true.
    • Known as a False Negative.
    • Probability is denoted as β\beta.
  • Statistical Power 1−β1 - \beta:
    • The probability of correctly rejecting a false H0H_0.
    • The capacity to detect a true difference.

6. Clinical Relevance vs. Statistical Significance

  • Statistical Significance: A mathematical conclusion based on probability (P-value).
  • Clinical Relevance: A judgment call based on the magnitude of effect (Effect Size).
  • Note: Large sample sizes can produce very small P-values for clinically negligible differences.