50% of people don't smoke, 20% are light smokers & 30% are heavy smokers.
Heavy smokers are twice as likely to die prematurely as light smokers, light smokers are twice as likely to die prematurely as nonsmokers.
What's the probability of being a heavy smoker given person died prematurely?
I'm sure this would be a Bayes' theorem problem, but I can't figure out how to find the probability of deaths.
that is a succession of frequencies like
$$1;2;4$$
for non smokers, light smokers and heavy smokers that means a probability to die of
$$\left\{\frac{1}{1+2+4};\frac{2}{1+2+4};\frac{4}{1+2+4} \right\}=\left\{\frac{1}{7};\frac{2}{7};\frac{4}{7} \right\}$$
respectively...the rest is a simply Bayes' Theorem example.
Thus, concluding,
$$\mathbb{P}[HS|D]=\frac{0.3\times\frac{4}{7}}{0.5\times\frac{1}{7}+0.2\times\frac{2}{7}+0.3\times\frac{4}{7}}\approx 0.57$$