Skip to content

Add optional Yule inference and native prior controls - #120

Merged
rafaelaugustos merged 3 commits into
joint-exchange-ratesfrom
yule-tree-prior
Nov 3, 2026
Merged

rafaelaugustos merged 3 commits into
joint-exchange-ratesfrom
yule-tree-prior

Conversation

@rafaelaugustos

Copy link
Copy Markdown
Collaborator

Add an explicit Yule species-tree prior for contemporaneous tips, with a proper configurable Uniform(0,U) birth-rate prior. Birth–death remains the default and dated tips retain FBD. Yule has no extinction state, proposal or trace column; incompatible dated models and proposal settings fail before output creation.

The Swift app exposes the model and bound in Setup, Review, History and marginal-model comparisons. Format-10 setups reject older readers. Model identity survives CLI import, checkpoints/resume, prediction and marginal estimation; convergence comparisons reject different priors or bounds. All four documentation languages describe units, scope and the density-constant audit.

Validation:

  • 24 fixed synthetic states exported from pinned BEAST.base 2.7.8, zero-extinction birth–death limits and independently derived labeled-tree constants.
  • Independent prior simulation checks waiting times, root heights, birth-rate marginal and topology frequencies, with and without monophyly; power-posterior evidence agrees with quadrature.
  • Exact pause/crash/resume equality across one/four chains, including Yule and existing morphology/dating modes; incompatible CLI option checks.
  • Native strict/relaxed execution, save/reopen, pause/resume, CLI import, posterior prediction and marginal estimates; EN/PT-BR preview inspection; clippy, native parity and documentation build.

The unscaled tree-density constant cancels in power-posterior Z(1)/Z(0). Evidence comparisons still concern the complete model and prior domain, including rate bounds and monophyly. No comparative performance study or default change is included.

Closes #96. Part of #113. Stacked on #117; also contains the small export/test corrections submitted separately in #118.

@rafaelaugustos
rafaelaugustos merged commit 8a64020 into joint-exchange-rates Nov 3, 2026
6 checks passed
rafaelaugustos added a commit that referenced this pull request Nov 3, 2026
Merge pull request #120 from getcortexlabs/yule-tree-prior
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