One-Sample Mean Hypothesis Test


One-Sample Mean Hypothesis Test

Anna
Let’s work through this hypothesis test about student loan debt. The reported average is $25,235 per student. Julie thinks the average in her area is higher, and a random sample of 100 students has a mean of $27,524 and a sample standard deviation of $6,000. The question is whether there’s sufficient evidence for her claim at the 5% significance level.

Corey
First, identify what kind of test we’re doing. We’re testing an average, or mean, not a proportion. Words like “average” and “mean” point us toward a test about the population mean, which we write as mu.

Anna
And the claim’s direction comes from the wording. Julie believes the debt is “higher” in her area. That tells us the alternative hypothesis is one-sided: mu is greater than $25,235.

Corey
So we write the alternative as H-a: mu > 25,235. The null uses the same population mean and reference number, with equality: H-zero: mu = 25,235. A useful strategy is to find the claim’s direction first, then make sure the null and alternative use the same number and parameter.

Anna
Exactly. The sample mean being above $25,235 is consistent with the claim, but the wording of the claim—not just the sample result—is what determines the alternative hypothesis. The sample result is useful as a check, though: a sample mean below the reported average would point against the claim that the local average is higher.

Corey
Now we need the right test. This is a one-sample t-test for a mean. The problem gives us the sample standard deviation, $6,000, rather than a population standard deviation, so we use the t-test procedure.

Anna
Let’s match each number to its job. The hypothesized population mean, mu-zero, is $25,235. The sample mean, usually written x-bar, is $27,524. The sample standard deviation is $6,000, and the sample size is 100.

Corey
That sample mean is not the total debt for all 100 students. It’s the average calculated from the sample. Keeping the labels straight matters when you enter the numbers into a calculator: 27,524 goes in as the sample mean, not as a total.

Anna
The calculator’s t-test asks for the hypothesized mean, sample mean, sample standard deviation, and sample size. After entering those values, choose the alternative that matches H-a: mu greater than 25,235. That means a right-tailed test.

Corey
The direction of the alternative tells us which p-value to use. If the alternative says greater than, use the right-tail result—not the left-tail or two-tail result. In a sketch, start shading at the observed sample mean of $27,524 and shade to its right.

Anna
The p-value is the area in that right tail under the t-distribution, assuming the null hypothesis is true. In words, it measures how likely it would be to get a sample mean at least as high as $27,524 if the true average really were $25,235.

Corey
For these numbers, the right-tail p-value is about 0.0001. It’s a very small area, because a sample mean this far above the null value would be unusual if the null hypothesis were true.

Anna
Now compare the p-value with alpha, the significance level. Five percent is 0.05 as a decimal, so we compare 0.0001 with 0.05.

Corey
Because the p-value is less than alpha, we reject the null hypothesis. Be careful not to reverse the rule: when the p-value is greater than alpha, we do not reject the null.

Anna
And the conclusion should answer the original question in context. Since we reject the null, there is sufficient evidence at the 5% level to support Julie’s claim that the average student loan debt in her area is higher than $25,235.

Corey
The key steps are: recognize a mean problem, use the claim’s wording to set the alternative, select the t-test and enter the sample statistics correctly, choose the right tail, then compare the p-value with alpha and state the conclusion in context.

Ask anything
We've read this whole study set, so questions about it get the best answers.