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

BirthDeathSampling(lambda=λ, mu=0.0, rho=0.6349, rootAge=65.092); not working #224

Closed
walterxie opened this issue Aug 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@walterxie
Copy link
Collaborator

λ ~ LogNormal(meanlog=-2.5247, sdlog=0.5874);
T ~ BirthDeathSampling(lambda=λ, mu=0.0, rho=0.6349, rootAge=65.092);

It fails because the parser converts the 2nd line to T ~ RhoSampleTree(rho=0.6349, tree=FullBirthDeath(lambda=λ, mu=0.0, rootAge=65.092););. Even after I remove the duplicate );, it still fails. I think generative distribution cannot be inside another one.

Instead, these 3 lines work

λ ~ LogNormal(meanlog=-2.5247, sdlog=0.5874);
ψ ~ FullBirthDeath(lambda=λ, mu=0.0, rootAge=65.092);
T ~ RhoSampleTree(rho=0.6349, tree=ψ);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant