Answer:
95% Confidence interval: (0.2291,0.3015)
Step-by-step explanation:
We are given the following in the question:
Sample size, n = 418+151 = 569
Number of yellow peas, x = 151
[tex]\hat{p} = \dfrac{x}{n} = \dfrac{151}{569} = 0.2653[/tex]
a) 95% Confidence interval:
[tex]\hat{p}\pm z_{stat}\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}[/tex]
[tex]z_{critical}\text{ at}~\alpha_{0.05} = 1.96[/tex]
Putting the values, we get:
[tex]0.2653\pm 1.96(\sqrt{\dfrac{0.2653(1-0.2653)}{569}}) = 0.2653\pm 0.0362\\\\=(0.2291,0.3015)[/tex]
b) Interpretation of confidence interval
We are 95% confident that the proportion of yellow peas in the sample lies within the range (0.2291,0.3015)