Problem: Recall the probability distribution of a Poisson random variable X:
$P(X=x)=\frac{\lambda^x{e^{-\lambda}}}{x!}$
where $\lambda$ is the rate parameter that equals the expected value of $X$.
You are a professor and assign your TAs to type up a very important homework assignment. You have three TAs: David makes an average of one typo per page, Amy makes an average of two typos per page, and Joe makes an average of three typos per page. A one-page typed homework assignment is turned into your box that has ten typos! Assuming that typos follow a Poisson distribution and you have no prior knowledge about which TA typed the assignment, what is the posterior probability that the TA who typed the homework assignment was Joe?
Hints:
The likelihood of the data given the grader is the probability of getting ten typos, given that the data follow a Poisson distribution with the typo averages of the graders as the rate parameter.
Use Bayes’ rule to compare multiple hypotheses about a discrete random variable
The answer is one of the following:
- 0.334
- 0.547
- 0.866
- 0.954
How I tried to solve the problem:
Likelihood = P(10 typos|Joe) = $\frac{3^{10}e^{-3}}{10!} = 0.00081$
Prior (each of the TAs can be considered to be equally likely) = P(Joe) = $0.5$
Data = $P(10 Typos)$ = 0.5($\frac{3^{10}e^{-3}}{10!} + \frac{2^{10}e^{-2}}{10!} + \frac{1^{10}e^{-1}}{10!})$ = 0.000848
Posterior = P(Joe|10 Typos) = $\frac{0.00081*0.5}{0.000848}$ = 0.4775
This does not equal any of the options. Insight on where my reasoning is incorrect would be much appreciated.