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

Aged conditional coalescent #487

Open
walterxie opened this issue Jun 5, 2024 · 0 comments
Open

Aged conditional coalescent #487

walterxie opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@walterxie
Copy link
Collaborator

walterxie commented Jun 5, 2024

Conditional coalescent on root age, it may take the PopulationFunction as input.

tree ~ AgedConditionalCoalescent( ... , ParametricDistribution);

  1. simulate 1000 trees from PopulationFunction;
  2. weight each tree by Pr(tree, age | ParametricDistribution), such as Pr(tree, age | meanlog, sdlog) for LogNormal;
  3. resample 1 tree proportional to there weights.
@walterxie walterxie added the enhancement New feature or request label Jun 5, 2024
@walterxie walterxie changed the title Conditional coalescent on root age Aged conditional coalescent Jun 5, 2024
@walterxie walterxie pinned this issue Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant