linguaPhylo icon indicating copy to clipboard operation
linguaPhylo copied to clipboard

Aged conditional coalescent

Open walterxie opened this issue 8 months ago • 0 comments

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 avatar Jun 05 '24 00:06 walterxie