Free sample lesson · Introductory Statistics 2e III — Hypothesis Testing
Hypotheses Name the Parameter Claim
A manufacturer claims mean life is 1,000 hours; which statement belongs in H₀?
Lesson 1 of the Wondering course Introductory Statistics 2e III — Hypothesis Testing
Hypotheses Describe the Population
A manufacturer claims its bulbs last longer than 1,000 hours on average. Which statement belongs in $$H_0$$?
Start by naming the parameter. Here it is the population mean life, $$\mu$$. Hypotheses always describe the population, never the sample.
- Parameter μ
- Statistic x̄
The sample mean, $$\bar{x}$$, comes later. It belongs in the test statistic, not in the hypotheses.
Writing $$H_0: \bar{x} = 1000$$ is a common mistake. Once you collect data you already know $$\bar{x}$$, so there is nothing left to test.
Equality Lives in the Null
The null hypothesis, $$H_0$$, states the parameter value tested with equality.
For the bulb claim, write $$H_0: \mu = 1000$$ and $$H_a: \mu > 1000$$. The two statements contradict each other.
- H₀
- Hₐ
Why equality? The exact value gives a precise null distribution, so you can measure how extreme the data are.
The alternative, $$H_a$$, holds the competing direction. Rejection supports it. Here the manufacturer's claim sits in $$H_a$$.
A null may be written as a boundary, like $$\mu \le 1000$$. The calculation still uses the equality boundary, 1000.
The Alternative Sets the Tail
The symbol in $$H_a$$ decides the type of test.
Use $$<$$ for a left-tailed test, $$>$$ for a right-tailed test, and $$\neq$$ for a two-tailed test.
The question picks the symbol. “Longer than 1,000 hours” gives $$\mu > 1000$$. “Less than 1,000 hours” gives $$\mu < 1000$$.
“Different from 1,000 hours” gives $$\mu \neq 1000$$. Stay two-tailed even if the observed mean happens to land above 1,000.
Decide Before You Look
Direction must come from the research question and be chosen before you inspect the sample.
Picking the tail from the observed sign is a trap. Switching a two-sided question to one-sided afterward exaggerates the evidence.
- Questions should precede outcomes
So write the parameter, both hypotheses, and the tail first. Only then collect and analyze the data.
- Name parameter: Identify the population quantity, such as μ.
- Write H₀: State the value with equality, such as μ = 1000.
- Write Hₐ: Use <, >, or ≠ as the question demands.
- Fix the tail: Lock in left, right, or two-tailed from the question.
- Then analyze: Collect and inspect the sample only after setup.
Only Two Decisions
A test ends with one of two decisions: reject $$H_0$$ or do not reject $$H_0$$.
Rejection means the data are sufficiently incompatible with the null value under your chosen rule.
Not rejecting means the evidence did not cross that threshold. Avoid saying “accept $$H_0$$.”
- Compare data to H₀
- Sufficiently incompatible?: Judged under the rule chosen in advance.
- Reject H₀
- Do not reject H₀
- Sufficient evidence for Hₐ
- Insufficient evidence for Hₐ
- Yes
- No
Then add a conclusion in context: “There is sufficient evidence that mean bulb life exceeds 1,000 hours.”
Rejection has limits too. It does not reveal what mechanism caused the difference.
Not Rejecting Is Not Proof
Suppose the true mean life really is 1,020 hours, but your sample is noisy.
The test may fail to tell 1,000 from 1,020. You do not reject $$H_0$$, yet $$H_0$$ is false.
A failure to reject can reflect a nearly true null, high variability, a small sample, or poor sensitivity.
So write: “There is insufficient evidence that mean life differs from 1,000 hours.” Showing equivalence needs a different design and criterion.
Your Hypothesis Checklist
For any research question, work through four moves.
Name the parameter. Write $$H_0$$ with equality. Write $$H_a$$ with $$<$$, $$>$$, or $$\neq$$. Choose the tail from the question.
After the test, match your wording to the decision: “sufficient evidence” after rejecting, “insufficient evidence” after not rejecting.
Watch for sample values in hypotheses, equality in both statements, and tails chosen from the data.
- Do
- Name the parameter: For example, the population mean μ.
- Put equality in H₀
- Choose the tail from the question
- Match wording to the decision: Sufficient or insufficient evidence.
- Avoid
- Sample values in hypotheses
- Equality in both statements
- Tails chosen from the data
- Saying accept H₀
Check yourself
A sample of 40 light bulbs has an average life of 1,030 hours. The hypotheses for testing a claim about bulb life should be written about _____
- the population mean μ of all bulbs
- the sample mean of 1,030 hours
Answer: the population mean μ of all bulbs
Hypotheses are about the population parameter μ, the true mean for all bulbs. The sample mean of 1,030 is used later in the test statistic, not in the hypotheses.
A factory asks: "Is the mean bag weight different from 50 g?" The null is μ _____ 50, the alternative is μ _____ 50, and the test is _____.
Answer: A factory asks: "Is the mean bag weight different from 50 g?" The null is μ = 50, the alternative is μ ≠ 50, and the test is two-tailed.
The null always carries the equality. The word "different" means either direction counts, so the alternative uses ≠ and the test is two-tailed.
A company claims its phone battery lasts longer than 500 hours on average. Which pair of hypotheses fits a test of this claim?
- H₀: μ = 500 and Hₐ: μ > 500
- H₀: μ > 500 and Hₐ: μ = 500
- H₀: μ = 500 and Hₐ: μ < 500
- H₀: μ = 500 and Hₐ: μ ≠ 500
Answer: H₀: μ = 500 and Hₐ: μ > 500
The null hypothesis holds the equality value (500). The alternative states the claimed direction (greater than 500). Putting the claim in H₀ without an equal sign, or flipping the direction, does not match the question.
Keep going
This is lesson 1 of 8 in Introductory Statistics 2e III — Hypothesis Testing. Next up:
- A p-Value Lives Inside the Model
- Errors, Power, and Importance
- Test One Mean
- Test One Proportion
- Compare Independent Means
Wondering turns any topic into short lessons you can read, watch, or listen to, with practice questions and an AI tutor.