Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Yule prior under 1/birthrate hyperprior default #5

Open
rbouckaert opened this issue Apr 30, 2015 · 0 comments
Open

Make Yule prior under 1/birthrate hyperprior default #5

rbouckaert opened this issue Apr 30, 2015 · 0 comments

Comments

@rbouckaert
Copy link
Contributor

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.

@rbouckaert rbouckaert reopened this Dec 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant