Questions: Suppose that in a random selection of 100 colored candies, 22% of them are blue. The candy company claims that the percentage of blue candies is equal to 20%. Use a 0.05 significance level to test that claim.
Identify the null and alternative hypotheses for this test. Choose the correct answer below.
A. H0: p ≠ 0.2
H1: p=0.2
B. H0: p=0.2
H1: p>0.2
C. H0: P=0.2
H1: p ≠ 0.2
D. H0: P=0.2
H1: p<0.2
Transcript text: Suppose that in a random selection of 100 colored candies, $22 \%$ of them are blue. The candy company claims that the percentage of blue candies is equal to $20 \%$. Use a 0.05 significance level to test that claim.
Identify the null and alternative hypotheses for this test. Choose the correct answer below.
A. $\mathrm{H}_{0}: \mathrm{p} \neq 0.2$
$\mathrm{H}_{1}: \mathrm{p}=0.2$
B. $H_{0}: p=0.2$
$\mathrm{H}_{1}: p>0.2$
C. $H_{0}: P=0.2$
$H_{1}: p \neq 0.2$
D. $H_{0}: P=0.2$
$\mathrm{H}_{1}: \mathrm{p}<0.2$
Solution
Solution Steps
Step 1: State the Hypotheses
We are testing the claim made by the candy company regarding the proportion of blue candies. The null and alternative hypotheses are defined as follows:
\[
H_0: p = 0.2
\]
\[
H_1: p \neq 0.2
\]
Step 2: Calculate the Test Statistic
The test statistic \(Z\) is calculated using the formula:
\[
Z = \frac{\hat{p} - p_0}{\sqrt{\frac{p_0(1 - p_0)}{n}}}
\]
Where:
\(\hat{p} = 0.22\) (sample proportion)
\(p_0 = 0.2\) (hypothesized population proportion)