01 / 20
\( H_0 \)
\( H_a \)

Null & Alternative
Hypotheses

Learn to formulate competing claims about a population parameter: the foundation of every hypothesis test in statistics.

College Statistics

What Is a Hypothesis?

In statistics, a hypothesis is a claim or statement about a population parameter: a number like a mean \( \mu \), a proportion \( p \), or a standard deviation \( \sigma \).

We never know the true value of the parameter with certainty. Instead, we collect sample data and use it to judge whether the claim is reasonable.

The Two Hypotheses

Null Hypothesis \( H_0 \)
The "no change" or "no effect" claim. It states that the population parameter equals a specific value. This is the default assumption.
Alternative Hypothesis \( H_a \)
The "something changed" claim. It states that the parameter differs from the null value. This is what the researcher hopes to support.

Why Does This Matter?

Every scientific study, clinical trial, and quality-control check relies on hypothesis testing. Getting the hypotheses right is the first and most important step.

1
Medicine: Does a new drug lower blood pressure more than a placebo?
2
Business: Has the average customer satisfaction score changed after a policy update?
3
Education: Is the proportion of students passing above 70%?

Formal Notation

Null Hypothesis
Always uses =
For means:
\( H_0: \mu = \mu_0 \)
For proportions:
\( H_0: p = p_0 \)
Alternative Hypothesis
Uses ≠, <, or >
Two-tailed:
\( H_a: \mu \neq \mu_0 \)
One-tailed:
\( H_a: \mu < \mu_0 \) or \( \mu > \mu_0 \)

One-Tailed vs Two-Tailed Tests

Left-Tailed
\( H_a: \mu < \mu_0 \)
Tests if the parameter is less than the null value.
Two-Tailed
\( H_a: \mu \neq \mu_0 \)
Tests if the parameter is different (either direction).
Right-Tailed
\( H_a: \mu > \mu_0 \)
Tests if the parameter is greater than the null value.

Visualizing Tail Regions

\( \mu_0 \)
Left tail
\( \mu < \mu_0 \)
Right tail
\( \mu > \mu_0 \)
Two-tailed: both shaded regions

Claim vs Parameter

A common source of confusion: hypotheses are about population parameters, never about sample statistics. The sample is evidence; the parameter is the target.

Population Parameter Sample Statistic
Mean \( \mu \) \( \bar{x} \)
Proportion \( p \) \( \hat{p} \)
Std. Dev. \( \sigma \) \( s \)
Used in \( H_0 / H_a \)? ✓ Yes ✕ No

How to Write Hypotheses

1
Identify the parameter. Is the claim about a mean \( \mu \), a proportion \( p \), or something else?
2
Determine the claimed value. What specific number does the null hypothesis assert? (e.g., \( \mu = 100 \)).
3
Read the research question. Does the researcher suspect "less than," "greater than," or simply "different from"?
4
Write \( H_0 \) with \( = \) and \( H_a \) with the appropriate inequality. Always state both clearly.

Example 1: Battery Life

A phone manufacturer claims their battery lasts an average of 12 hours. A consumer group suspects the true average is less than 12 hours and tests 50 phones.

Example 2: Voter Proportion

A news network reports that 60% of voters favor a policy. A rival poll wants to check whether the true proportion is different from 60%.

Example 3: Drug Effectiveness

A pharmaceutical company claims a new drug reduces average recovery time. The current standard is 14 days. A clinical trial is run to test whether recovery time is less than 14 days with the new drug.

Decision Flowchart

Read the research question Direction specified? Yes One-Tailed < or > No Two-Tailed ≠
Write \( H_0 \) with = and \( H_a \) with ≠, <, or >

Common Mistakes

✕ Using sample statistics
Writing \( H_0: \bar{x} = 50 \) instead of \( H_0: \mu = 50 \). Hypotheses must reference population parameters.
✕ Inequality in \( H_0 \)
Writing \( H_0: \mu > 50 \). The null always uses \( = \). Inequalities belong only in \( H_a \).
✕ Choosing direction after seeing data
Peeking at the sample mean and then picking a one-tailed test to match. The direction of \( H_a \) must be set before data collection.

Summary Table

Feature \( H_0 \) (Null) \( H_a \) (Alternative)
Role Default assumption Research claim
Symbol \( = \) \( \neq \), \( < \), or \( > \)
Burden of proof Assumed true Must be supported by data
Outcome if rejected Evidence favors \( H_a \) N/A (you don't reject \( H_a \))
Contains parameter? ✓ Always ✓ Always

Question 1 of 5

A bakery claims the average weight of its loaves is 500 g. An inspector suspects loaves are lighter. Which hypotheses are correct?

Question 2 of 5

Which symbol can never appear in a null hypothesis \( H_0 \)?

Question 3 of 5

A researcher wants to know if a coin is unfair (not 50/50). What is the correct alternative hypothesis?

Question 4 of 5

A school claims at least 80% of students graduate on time. A journalist believes the rate is lower. The journalist's hypotheses are:

Question 5 of 5

After performing a hypothesis test, you fail to reject \( H_0 \). What is the correct interpretation?