Surveying the Universe
Bayesian number counts
Here's a simple bit of statistics for a Friday lunchtime. You count the number of galaxies in a certain area on the sky (with the galaxies satisfying some specific properties, if you like). What is the true number density? Let the expected number be
(the true number density multiplied by the area on the sky) and the measured number be
. Then, in true Bayesian fashion, what we want is

Now, for the prior,
, we assume a prior which is flat on a logarithmic scale. That is, we guess (before making the observation) that the expected number is as likely to lie between 1 and 10 as it is to lie between 1000 and 10,000. (The alternative, a flat prior on a linear scale, would mean that we guess the true density is just as likely to lie between 10,001 and 10,010 as it is to lie between 1 and 10, which is ridiculous.) So
. The likelihood,
is given by the Poisson distribution. So, ignoring the normalizing factor of
,


And this is the Gamma distribution. Easy peasy.
| Print article | This entry was posted by Anthony on 30 Apr 2010 at 1.40 pm, and is filed under Research. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
I live in York and I'm a research fellow in