Skip to content

Metropolis-Hastings root position sampler #53

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

Merged
merged 3 commits into from
Mar 3, 2025

Conversation

nossleinad
Copy link
Member

@nossleinad nossleinad commented Mar 3, 2025

  • Switch from a global proposal in UniformRootPositionSample to a local one. The local proposal radius dispatches on the UniformRootPositionSample subtype and can depend on the total branch length of the tree. (The previous global proposal can be recovered by setting the relative radius to 1.0)
  • Extend metropolis_step to be compatible with Metropolis-Hastings by introducing log_proposal(modifier, x, y), which is the logarithm of the proposal likelihood of x given y

@nossleinad nossleinad merged commit 45f32cd into MurrellGroup:main Mar 3, 2025
4 checks passed
@nossleinad nossleinad deleted the Hastings-root-pos branch March 3, 2025 17:33
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

Successfully merging this pull request may close these issues.

1 participant