Independent solution
How to solve this Bayes' Theorem question
Answer in brief
Bayes' theorem combines the 20% prior class share with the two class-specific Poisson likelihoods for a count of two. The posterior probability is 0.170298, which matches choice B.
Setup
Setup
Let A denote membership in the lower-rate class and let N be the observed annual count. Record the class proportions and Poisson means.
Pr(A)=0.20,Pr(Ac)=0.80 N∣A∼Poisson(1),N∣Ac∼Poisson(3) Model
Model
Evaluate the likelihood of exactly two events in each class and place those likelihoods into Bayes' formula.
Pr(N=2∣A)=2e−1,Pr(N=2∣Ac)=232e−3 Pr(A∣N=2)=0.20(e−1/2)+0.80(9e−3/2)0.20(e−1/2) Compute
Compute
Calculate the weighted likelihood in the numerator and the total mixture likelihood in the denominator.
Pr(A,N=2)=0.0367879441… Pr(N=2)=0.0367879441…+0.1792334461…=0.2160213902… Pr(A∣N=2)=0.1702976917… Answer
Answer
The requested posterior class probability rounds to 0.170.
Pr(A∣N=2)≈0.170(B)