Answer:
P(H|D)=
prob of hector getting the vote, given that the person has a diploma:
0.7
P(H|- with d under) =
prob of hector getting the vote, given that the person doesn't have the diploma
0.3
Ultimate questions is what is the probability that a randomly chosen voter voted for Hector??
= diploma*voting with diploma + no diploma * voting with no diploma
= 0.9*0.7 + 0.1*0.3
= 0.66