Answer:
The margin of error for the 90% confidence interval is of 0.038.
Explanation:
In a sample with a number n of people surveyed with a probability of a success of
, and a confidence level of
, we have the following confidence interval of proportions.
![\pi \pm z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/xaspnvwmqbzby128e94p45buy526l3lzrv.png)
In which
z is the zscore that has a pvalue of
.
The margin of error is of:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
To this end we have obtained a random sample of 400 fruit flies. We find that 280 of the flies in the sample possess the gene.
This means that
![n = 400, \pi = (280)/(400) = 0.7](https://img.qammunity.org/2022/formulas/mathematics/college/3piwefy40ks5ox2buybs694hjnud5o133g.png)
90% confidence level
So
, z is the value of Z that has a pvalue of
, so
.
Margin of error:
![M = z\sqrt{(\pi(1-\pi))/(n)}](https://img.qammunity.org/2022/formulas/mathematics/college/nqm1cetumuawgnf21cjwekd4pqalhffs6t.png)
![M = 1.645\sqrt{(0.7*0.3)/(400)}](https://img.qammunity.org/2022/formulas/mathematics/college/kwiz5of5xv1t7wjg0zqwpefv5kiddcdlz9.png)
![M = 0.038](https://img.qammunity.org/2022/formulas/mathematics/college/ug082h9nudoi92jr6ltfnj47aio5up14of.png)
The margin of error for the 90% confidence interval is of 0.038.