Answer:
(A) 0.297
(B) 0.595
Step-by-step explanation:
Let,
H = a person who suffered from a heart attack
G = a person has the periodontal disease.
Given:
P (G|H) = 0.79, P(G|H') = 0.33 and P (H) = 0.15
Compute the probability that a person has the periodontal disease as follows:
[tex]P(G)=P(G|H)P(H)+P(G|H')P(H')\\=P(G|H)P(H)+P(G|H')(1-P(H))\\=(0.79\times0.15)+(0.33\times(1-0.15))\\=0.399[/tex]
(A)
The probability that a person had periodontal disease, what is the probability that he or she will have a heart attack is:
[tex]P(H|G)=\frac{P(G|H)P(H)}{P(G)}\\=\frac{0.79\times0.15}{0.399} \\=0.29699\\\approx0.297[/tex]
Thus, the probability that a person had periodontal disease, what is the probability that he or she will have a heart attack is 0.297.
(B)
Now if the probability of a person having a heart attack is, P (H) = 0.38.
Compute the probability that a person has the periodontal disease as follows:
[tex]P(G)=P(G|H)P(H)+P(G|H')P(H')\\=P(G|H)P(H)+P(G|H')(1-P(H))\\=(0.79\times0.38)+(0.33\times(1-0.38))\\=0.5048[/tex]
Compute the probability of a person having a heart attack given that he or she has the disease:
[tex]P(H|G)=\frac{P(G|H)P(H)}{P(G)}\\=\frac{0.79\times0.38}{0.5048}\\ =0.59469\\\approx0.595[/tex]
The probability of a person having a heart attack given that he or she has the disease is 0.595.