Hypothesis Testing for Proportion of Cans with Trans Fat Content
Suppose a nutritionist claims that the trans fat content in a certain brand of canned food is at most 69 milligrams (mg) per can. We have a suspicion that in 50% of all cans the trans fat content deviates from 69mg per can. To test this, we take a sample of cans and find that in 21 cans the trans fat content is not equal to 69mg. We will perform a hypothesis test at a 1% level of significance.
Step-by-Step Guide
Step 1: State the Hypotheses
\begin{aligned} H_0 &: p = 0.50 \quad \text{(The proportion of cans with trans fat content different from 69mg is 50%)} \\ H_1 &: p \neq 0.50 \quad \text{(The proportion of cans with trans fat content different from 69mg is not 50%)} \end{aligned}Step 2: Set the Significance Level
Step 3: Calculate the Sample Proportion
Step 4: Calculate the Standard Error
The standard error (SE) for the sample proportion is given by:
where and .
The test statistic for the sample proportion is given by:
where , , and .
Step 6: Calculate the p-value
Since we are performing a two-tailed test, the p-value is calculated as:
Using standard normal distribution tables or a calculator:
Therefore,
Conclusion
Since the p-value (0.2584) is greater than the significance level ( = 0.01), we fail to reject the null hypothesis. This means there is not enough evidence to conclude that the proportion of cans with trans fat content different from 69mg is significantly different from 50%.
Summary
- Hypotheses: vs.
- Sample proportion:
- Standard error:
- Test statistic:
- p-value:
- Conclusion: Fail to reject at the 1% significance level.