BEAST2-Dev / SNAPP

A package for BEAST2 implementing SNAPP
http://beast2.org/snapp/
4 stars 7 forks source link

Make Yule prior under 1/birthrate hyperprior default #5

Open rbouckaert opened 9 years ago

rbouckaert commented 9 years ago

The Yule prior (as we use it) is proportional to \lambda^n exp(-\lambda H) where n is the number of species and H is the sum of heights. Throwing on the 1/lambda prior we can integrate analytically: \int_0^\infty \lambda^n exp(-\lambda H) 1/\lambda d \lambda = (n-1)! / H^n

It seems we should just use this as our prior.