In the Framingham Offspring study 3630 subjects were on anti-hypertensive medication out of 4657 total subjects. What is the length of the 99 percent confidence interval for this data.
We have
n=4657p^=36304657=0.779472n=4657\\\hat{p}=\frac{3630}{4657}=0.779472n=4657p^=46573630=0.779472
The confidence interval for the proportion is
(p^−z1−α2p^(1−p^)n,p^+z1−α2p^(1−p^)n)\left( \hat{p}-z_{1-\frac{\alpha}{2}}\sqrt{\frac{\hat{p}\left( 1-\hat{p} \right)}{n}},\hat{p}+z_{1-\frac{\alpha}{2}}\sqrt{\frac{\hat{p}\left( 1-\hat{p} \right)}{n}} \right)(p^−z1−2αnp^(1−p^),p^+z1−2αnp^(1−p^))
from which the length of the interval is
2zα2p^(1−p^)n=2⋅2.57580.7795(1−0.7795)4657=0.03129692z_{\frac{\alpha}{2}}\sqrt{\frac{\hat{p}\left( 1-\hat{p} \right)}{n}}=2\cdot 2.5758\sqrt{\frac{0.7795\left( 1-0.7795 \right)}{4657}}=0.03129692z2αnp^(1−p^)=2⋅2.575846570.7795(1−0.7795)=0.0312969
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments