It Depends on the Model
In my last blog post I wrote about the asymptotic equipartition principle. This week I will write about something completely unrelated.
This blog post evolved from a discussion with Brendan O’Connor about science and evidence. The back story is as follows. We were talking about Central Square (Cambridge, MA) and how it is sort of sketchy at night. Brendan mentioned that he had heard some stories about muggings in the area, and I said “Oh yeah, I heard about someone whose place got robbed recently.” To which Brendan replied, “Was it in Central?” I told him that I didn’t know but that it probably was.
We then got on the topic of whether a crime with an unknown location provided evidence for Central being sketchy. Brendan (who I later learned formalized confirmation bias for his master’s thesis) wisely argued that it would depend on the model. I think this is a great point, so in this post I will examine two models that lead to differing conclusions.
I will consider a simplified situation in which there are two areas in town, C and K, and four crimes. The first two crimes occurred C, the third in K, and the fourth may have occurred in either C or K. I will present two alternative statistical models for estimating the “crimeyness” (Brendan’s word) of C and K.
The first model treats each crime as an independent draw from a categorical distribution, i.e., each crime occurs in area C with probability (crimeyness) and in area K with probability . Letting be the location of the th crime, the likelihood function is then
which is just the likelihood of the data without counting the crime in the unobserved location. Thus in this case, that crime adds no evidence for the crimeyness of C.
Roger Grosse inspired the second model I examine here with his insightful comment that, really, the observation of a crime in an unknown location provides evidence for higher crimeyness in all areas.
This model assumes that the number of crimes in C, , and the number of crimes in K, , have independent Poisson distributions with rate (crimeyness) parameters and , respectively.
Ignoring the fourth crime, the likelihood function would be
which looks like:
However, including the fourth crime gives the likelihood
which looks like:
It is clear, then, that including the fourth crime in the second analysis increases the evidence for high crimeyness in both C and K. Thus, as Brendan suggested, whether the crime in the unknown location adds to the evidence of crimeyness depends on the model you use.
Moral of the story: Don’t go to Central.
Homework: Is there a model under which the fourth crime provides evidence for higher crimeyness in C but not for higher crimeyness in K?
Also: R code for the plots
Disclaimer: Please email me if you find any errors!