I know I'm going wrong somewhere just not sure where
I haven't used Bayes' theorem much before so any help would be greatly appreciated.
Suppose you are given following data.
$5\%$ of the population have heart disease.
If you have heart disease, the probability that you have high blood pressure is $90\%$
If you do not have heart disease, the probability that you have high blood pressure is $15\%$
What is the probability that a person chosen at random from the population has high blood pressure?
$$P(B) = P(B|H)P(H) + P(B|H')P(H')$$
$$P(B) = (.9)(.05) + (.15)(.95) = .1875$$
Using Bayes Theorem calculate the probability that the person has heart disease, if they have high blood pressure.
$$P(H|B) = \frac{P(B|H)P(H)}{P(B)}$$
$$(.9)(.05)/.1875 = .24$$
Using Bayes Theorem calculate the probability that the person has heart disease, if they do not have high blood pressure.
$$P(H|B') = \frac{P(B'|H)P(B')}{P(H)}$$
When I sub in for this part I'm getting an invalid answer