Independent solution
How to solve this Bayes' Theorem question
Answer in brief
The zero-count relationship determines the first class's Poisson mean as 3-ln(3)=1.901388. Combining the two exact-count likelihoods with prior weights 0.40 and 0.60 gives posterior probability 0.445490, so choice D is correct.
Setup
Setup
Let S denote the first class and N the second. Their prior probabilities are 0.40 and 0.60, and the second class has Poisson mean three.
Pr(S)=0.40,Pr(N)=0.60 Model
Model
Translate the zero-count comparison into an equation for the unknown mean of the first class.
e−λS=3e−3 λS=3−ln3=1.9013877113… Compute
Compute
Evaluate the two likelihoods at count two and apply Bayes' theorem.
Pr(X=2∣S)=e−λS2!λS2=0.2699909325… Pr(X=2∣N)=e−32!32=0.2240418077… Pr(S∣X=2)=0.40(0.2699909325)+0.60(0.2240418077)0.40(0.2699909325) Pr(S∣X=2)=0.4454901561… Answer
Answer
The posterior probability rounds to 0.45.
0.45(D)