You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Hypothesis testing is a formal procedure for deciding whether sample data provide enough evidence to reject a claim about a population. It is one of the most widely used tools in statistics.
| Hypothesis | Symbol | Description |
|---|---|---|
| Null hypothesis | H₀ | The default claim — typically "no effect" or "no difference" |
| Alternative hypothesis | H₁ (or Hₐ) | The claim you want to test — "there is an effect" or "there is a difference" |
Example: A manufacturer claims the mean lifetime of a battery is 500 hours.
H₀: μ = 500
H₁: μ ≠ 500 (two-tailed test)
The significance level (α) is the probability of rejecting H₀ when it is actually true (Type I error). Common choices:
| α | Interpretation |
|---|---|
| 0.10 | Relaxed — more willing to reject H₀ |
| 0.05 | Standard in most fields |
| 0.01 | Strict — e.g., particle physics uses even smaller values |
The test statistic measures how far the sample result is from the null hypothesis value, in standardised units.
Z-test (σ known or large n):
z = (x̄ − μ₀) / (σ / √n)
t-test (σ unknown):
t = (x̄ − μ₀) / (s / √n)
The p-value is the probability of observing a test statistic as extreme as (or more extreme than) the one calculated, assuming H₀ is true.
If p-value ≤ α → Reject H₀
If p-value > α → Fail to reject H₀
Important: "Failing to reject H₀" is not the same as proving H₀ is true. It means the data did not provide sufficient evidence against it.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.