Answer: The required interval is (0.679, 0.821).
Step-by-step explanation:
Since we have given that
[tex]n_1=100\\\\p_1=20\\\\n_2=400\\\\p_2=50[/tex]
So, the proportions would be
[tex]\hat{p_1}=\dfrac{p_1}{n_1}=\dfrac{20}{100}=0.2\\\\\hat{p_2}=\dfrac{p_2}{n_2}=\dfrac{50}{400}=0.125[/tex]
So, At 90% confidence interval, the z score value would be
z = 1.65
and the hypothesis are :
[tex]H_0:\hat{p_1}-\hat{p_2}=0\\\\H_1:\hat{p_1}-\hat{p_2}\neq 0[/tex]
So, the 90% confidence interval would be
[tex](\hat{p_1}-\hat{p_2})\pm z\sqrt{\dfrac{\hat{p_1}(1-\hat{p_1}}{n_1}+\dfrac{\hat{p_2}(1-\hat{p_2})}{n_2}}\\\\=(0.2-0.125)\pm 1.65\sqrt{\dfrac{0.2\times 0.8}{100}+\dfrac{0.125\times 0.875}{400}}\\\\=0.075\pm 1.65\times 0.0433\\\\=(0.75-0.0714,0.75+0.0714)\\\\=(0.679,0.821)[/tex]
Hence, the required interval is (0.679, 0.821).