Significance test for the mean
Significance test for a mean
The goal of a significance test for a mean is to use sample data to decide whether there’s convincing evidence that the population mean differs from a hypothesized value . In other words, we’re asking:
- Is the difference we see between the sample mean and something that could reasonably happen just from natural sampling variation?
- Or is the difference large enough that it suggests the true population mean is actually different from ?
Procedure for a significance test for a mean
Step 1: State the hypotheses
The null hypothesis always states “no difference” between the population mean and the hypothesized mean:
The alternative hypothesis depends on the question being asked:
Step 2: Check the conditions
Step 3: Calculate the test statistic
Step 4: Find the p-value
To find the p-value, use a t-distribution table with the correct degrees of freedom:
Locate where your t-value falls in the table to approximate the p-value.
If you’re using a TI-84 calculator, press 2nd → VARS, then choose tcdf(lower bound, upper bound, degrees of freedom). This gives a more precise p-value than the table.
Step 5: Make a decision
Use the given significance level. If none is provided, use the common default .
- If , reject .
- If , fail to reject .
Practice problem
Example:
A company claims that its LED light bulbs last hours on average. A consumer takes a random sample of lightbulbs and measures their lifetimes, getting a sample mean lifetime of and a sample standard deviation of . Based on these results, the consumer believes the light bulbs last longer than the company claimed. Use the significance level .
Part a.
State the hypotheses.
We’re testing whether the mean lifetime is greater than , as the consumer believes.
Solution:
This is a right-tailed test because the claim is specifically “greater than ,” not “different from in either direction.”
Part b.
Check that the conditions needed for a t-test are met.
There are three conditions to check:
- Randomness
- Independence
- Normality
Solution:
- Randomness: Met, because the problem states a random sample was taken.
- Independence: Met, because is very likely less than of the total number of LED bulbs the company sells.
- Normality: Met, because is at least , so the central limit theorem tells us the sampling distribution of is approximately normal.
Part c.
Compute the test statistic and the degrees of freedom .
From the problem:
Compute the standard error:
Compute the test statistic:
Compute the degrees of freedom:
Solution:
Part d.
Find the p-value and make a decision about the hypotheses. Also state the conclusion in context.
Because this is a right-tailed test, we use the one-tailed p-value.
From the t-table:
Compare the test statistic from Part c to this critical value:
So the p-value is less than , which is also less than .
Solution:
Since the p-value is less than , we reject .
Conclusion (in context): There is strong evidence that the true mean lifetime of the company’s LED light bulbs is greater than hours.
Part e.
What kind of error is possible in this scenario and how do you know?
Solution:
Because we rejected , the possible error is a type I error.
- Type I error: Rejecting even though it’s actually true.
- Type II error: Failing to reject even though it’s false.
A type II error isn’t possible here because we did not fail to reject . The significance level is , so the probability of a type I error is controlled at .
Part f.
Why might the company have made the claim that the lightbulbs last hours on average when there is strong evidence that they actually last even longer?
Solution:
Although it may seem odd to claim a lower average lifetime than what the data suggests, here are a few possible reasons:
- Less unhappy customers: The company may prefer a conservative claim so customers are more likely to be satisfied (or pleasantly surprised) rather than disappointed.
- Less warranty cost: A conservative advertised lifetime can reduce warranty claims and related costs.
- Less chances of legal consequences: Understating performance can reduce the risk of legal issues related to false advertising.