Answer:
(a) The probability that someone will test positive and have HIV is 0.000025.
(b) The probability that someone will test positive and not have HIV is 0.0001.
(c) The probability that someone will test positive is 0.000125.
(d) The probability a person has HIV given that he/she was tested positive is 0.1986.
Explanation:
Denote the events as follows:
X = a person has HIV
Y = a person is tested positive for HIV.
The information provided is:
![P(Y|X)=0.993\\P(Y^(c)|X^(c))=0.9999\\P(X)=0.000025](https://img.qammunity.org/2021/formulas/mathematics/college/600jf5lckojog8oqv0x6ofkbx5unlard1c.png)
Compute the probability of a person not having HIV as follows:
![P(X^(c))=1-P(X)=1-0.000025=0.999975](https://img.qammunity.org/2021/formulas/mathematics/college/ctjuy1jayhzu3905b4yk3wo0rv23j2u8ff.png)
Compute the probability of
as follows:
![P(Y^(c)|X)=1-P(Y|X)=1-0.993=0.007](https://img.qammunity.org/2021/formulas/mathematics/college/2m28xr0g1g3wex8wnn9wert1229l8knr6r.png)
Compute the probability of as
follows:
![P(Y|X^(c))=1-P(Y^(c)|X^(c))=1-0.9999=0.0001](https://img.qammunity.org/2021/formulas/mathematics/college/ev2fmxq3yw748iwo0qzm07n41cpydpa8x1.png)
(a)
Compute the probability that someone will test positive and have HIV as follows:
![P(Y\cap X)=P(Y|X)P(X)\\=0.993*0.000025\\=0.000024825\\\approx0.000025](https://img.qammunity.org/2021/formulas/mathematics/college/5x4izltvgb2xg36k6bnk3tqumq1s5yydvn.png)
Thus, the probability that someone will test positive and have HIV is 0.000025.
(b)
Compute the probability that someone will test positive and not have HIV as follows:
![P(Y\cap X^(c))=P(Y|X^(c))P(X^(c))\\=0.0001*0.999975\\=0.0000999975\\\approx0.0001](https://img.qammunity.org/2021/formulas/mathematics/college/8aiyyjltypm9nde0a6pnkbowu1ecaghbhs.png)
Thus, the probability that someone will test positive and not have HIV is 0.0001.
(c)
Compute the probability that someone will test positive as follows:
![P(Y)=P(Y\cap X)+P(Y\cap X^(c))=0.000025+0.0001=0.000125](https://img.qammunity.org/2021/formulas/mathematics/college/obzevdvsyclgf9x7opvvc4wu9901l9fhx8.png)
Thus, the probability that someone will test positive is 0.000125.
(d)
Compute the probability a person has HIV given that he/she was tested positive as follows:
![P(X|Y)=(P(Y|X)P(X))/(P(Y)) \\=(0.993*0.000025)/(0.000125)\\ =0.1986](https://img.qammunity.org/2021/formulas/mathematics/college/kcpnsxifr9nrics0j1mrq2aula18mk7upp.png)
Thus, the probability a person has HIV given that he/she was tested positive is 0.1986.
As the probability of a person having HIV given that he was tested positive is not very large, it would not be wise to implement a random testing policy.