Answer
$0.18$
Work Step by Step
According to Bayes' theorem:
$P(R|H)=\dfrac{P(H|R)P(R)}{P(H|R)P(R)+P(H|R')+P(R')}~~~~~~~~(1)$
Here, we have
$P(H|R)= 2 \% =0.02 \\ P(R)= \dfrac{1}{10} =0.1 \\ P(H|R')=1 \% =0.01$
Now, we will now use formula (1) and the given data to obtain:
$P(R|H)=\dfrac{P(H|R)P(R)}{P(H|R)P(R)+P(H|R')+P(R')}=\dfrac{(0.02)(0.1)}{(0.02)(0.1)+(0.01) (1-0.1)}$
or, $ \approx 0.18$
Thus, we conclude the probability of raining in Spain when there are hurricanes in Hartford is approximately $0.18$.