Answer:
A)The probability that someone who tests positive has the disease is 0.9995
B)The probability that someone who tests negative does not have the disease is 0.99999
Explanation:
Let D be the event that a person has a disease
Let
be the event that a person don't have a disease
Let A be the event that a person is tested positive for that disease.
P(D|A) = Probability that someone has a disease given that he tests positive.
We are given that There is an excellent test for the disease; 98.8% of the people with the disease test positive
So, P(A|D)=probability that a person is tested positive given he has a disease = 0.988
We are also given that one person in 10,000 people has a rare genetic disease.
So,
![P(D)=(1)/(10000)](https://img.qammunity.org/2020/formulas/mathematics/high-school/ltu7bk6jhg1cwxahsqlaormsrrdofxkio1.png)
Only 0.4% of the people who don't have it test positive.
= probability that a person is tested positive given he don't have a disease = 0.004
![P(D^c)=1-(1)/(10000)](https://img.qammunity.org/2020/formulas/mathematics/high-school/t6vavl465ezsj8qjnhsp8vtbcozvo4q9ic.png)
Formula:
![P(D|A)=(P(A|D)P(D))/(P(A|D)P(D^c)+P(A|D^c)P(D^c))](https://img.qammunity.org/2020/formulas/mathematics/high-school/qss1rkzjblu8y6l2vg5zkt3xro5blj3o1b.png)
![P(D|A)=(0.988 * (1)/(10000))/(0.988 * (1-(1)/(10000)))+0.004 * (1-(1)/(10000)))](https://img.qammunity.org/2020/formulas/mathematics/high-school/k6p2o16a8jix8zf9j55l547mbbxfmdkqqt.png)
P(D|A)=
=0.9995
P(D|A)=
![0.9995](https://img.qammunity.org/2020/formulas/mathematics/high-school/yvg5baicnwvsq4161c3fw8kghsp2uv8ihn.png)
A)The probability that someone who tests positive has the disease is 0.9995
(B)
=probability that someone does not have disease given that he tests negative
=probability that a person tests negative given that he does not have disease =1-0.004
=0.996
=probability that a person tests negative given that he has a disease =1-0.988=0.012
Formula:
![P(D^c|A^c)=(P(A^c|D^c)P(D^c))/(P(A^c|D^c)P(D^c)+P(A^c|D)P(D))](https://img.qammunity.org/2020/formulas/mathematics/high-school/txeqekrzccz7dnw29wfnrhgr5p74zf0swh.png)
![P(D^c|A^c)=(0.996 * (1-(1)/(10000)))/(0.996 * (1-(1)/(10000))+0.012 * (1)/(1000))](https://img.qammunity.org/2020/formulas/mathematics/high-school/8zqg17d9ia18tlma08868ub6xazv05gkb5.png)
![P(D^c|A^c)=0.99999](https://img.qammunity.org/2020/formulas/mathematics/high-school/yfashq4o7lmno0g69grxsiabmrxk6thphj.png)
B)The probability that someone who tests negative does not have the disease is 0.99999