🔍 What is a Hypothesis?
A hypothesis is a formal statement predicting the outcome of a study. It sets the groundwork for statistical testing and is typically divided into two main types:
1. Null Hypothesis (H₀):
-
States that no effect or no difference exists.
-
Example: There is no difference in hospital readmission rates between Drug A and Drug B.
2. Alternative Hypothesis (H₁ or Ha):
-
States that an effect or difference does exist.
-
Example: There is a difference in hospital readmission rates between Drug A and Drug B.
In statistical testing, we start by assuming the null hypothesis is true, and use data to decide whether to reject it in favor of the alternative.
⚠️ Types of Errors in Hypothesis Testing
Even well-designed studies can make mistakes in conclusions. These are known as Type I and Type II errors:
🟥 Type I Error (False Positive):
-
Occurs when the null hypothesis is incorrectly rejected.
-
You conclude there is a difference/effect when there isn’t.
-
Probability of this error is denoted by α (alpha)—commonly set at 0.05.
-
Example: Concluding Drug A is better than Drug B, when in fact there is no difference.
🟦 Type II Error (False Negative):
-
Occurs when the null hypothesis is incorrectly accepted (not rejected).
-
You fail to detect a real effect/difference.
-
Probability of this error is denoted by β (beta).
-
Example: Concluding there’s no benefit to Drug A when it actually performs better than Drug B.
✅ Power of a Test:
-
Power = 1 - β
-
It represents the probability of correctly rejecting the null hypothesis (i.e., detecting a true effect).
-
Increasing sample size or effect size increases power.