Britney can be homozygous $HH$ or heterozygous $Hh$ with equal probability. Hemophilia is a mostly inherited genetic disorder. A test to detect a dominant allele $h$, responsible for the disorder, is carried out. The test has $85\%$ reliability in heterozygous women (with $Hh$ genotype), that is, it successfully detects the presence of the allele $h$ in $85\%$ of the cases, while in homozygous women (with $HH$ genotype) it fails to detect $h$ in $1\%$ of the cases. We want to calculate the following probabilities: $P (\text{Britney}\,Hh | \text{test was positive})$ and $P(\text{Britney}\,HH | \text{test was negative})$
I am not sure for the correct interpretation of the question, as I had to translate some terms I am not familiar with. With the little knowledge I have on statistics, I will make an attempt:
Prior probability Britney is homozygous or heterozygous $P(ΗΗ)= P(Hh) = 0.5$
$$P(E|Hh)= \text{Probability of a Positive Test Result given Britney is Heterozygous} = 0.85\\ \text{So, we have}\\ P(E|HH)= \text{Probability of a Positive Test Result given Britney is Homozygous} = 0.15$$
We want $$P(HH|E) = \text{Probability of Britney being Heterozygous given the test yields a Positive Result}$$
We also want $$P(Hh|E^c) = \text{Probability of Britney being Homozygous given the test yields a Negative Result}$$
So for a)
$$P(HH|E) = {P(E|HH) P(HH) \over P(E)} = {P(E|HH) P(HH) \over P(E|HH)P(HH) + P(E|{Hh}) P({Hh})}$$ and similarly for the second. Are these correct?
EDIT: Can you tell me if this is correct?
"$P(E|HH)= \text{Probability of a Positive Test Result given Britney is Homozygous} = 0.15$"
or is it "$P(E|HH)= \text{Probability of a Negative Test Result given Britney is Heterozygous} = 0.15$"?