Independent solution

How to solve this Bayes' Theorem question

Setup

Setup

Let S identify the lower-rate class and let N be the observed annual count. Record the prior probabilities and the zero-count likelihoods.

Pr(S)=0.4,Pr(Sc)=0.6\Pr(S)=0.4,\qquad \Pr(S^c)=0.6
Pr(N=0S)=e0.5,Pr(N=0Sc)=e1\Pr(N=0\mid S)=e^{-0.5},\qquad \Pr(N=0\mid S^c)=e^{-1}

Model

Model

Apply Bayes' theorem using the zero observation as the evidence.

Pr(SN=0)=Pr(N=0S)Pr(S)Pr(N=0S)Pr(S)+Pr(N=0Sc)Pr(Sc)\Pr(S\mid N=0)=\frac{\Pr(N=0\mid S)\Pr(S)}{\Pr(N=0\mid S)\Pr(S)+\Pr(N=0\mid S^c)\Pr(S^c)}

Compute

Compute

Substitute the two Poisson likelihoods and prior class weights.

Pr(SN=0)=0.4e0.50.4e0.5+0.6e1\Pr(S\mid N=0)=\frac{0.4e^{-0.5}}{0.4e^{-0.5}+0.6e^{-1}}
Pr(SN=0)=0.5236161378\Pr(S\mid N=0)=0.5236161378\ldots

Answer

Answer

The posterior probability rounds to 0.52.

0.52(D)\boxed{0.52\quad\text{(D)}}