--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.
<distribution id="taxonSetForTipA.prior" spec="beast.math.distributions.MRCAPrior" tipsonly="true" tree="@Tree.t:tree"> <taxonset id="taxonSetForTipA" spec="TaxonSet"> <taxon id="taxon1" spec="Taxon"/> </taxonset> <LogNormal id="LogNormalDistributionModel.0" meanInRealSpace="true" name="distr"> <parameter id="parameter.hyperLogNormalDistributionModel-M-taxonSetForTipA.prior" estimate="false" name="M">1.0</parameter> <parameter id="parameter.hyperLogNormalDistributionModel-S-taxonSetForTipA.prior" estimate="false" lower="0.0" name="S" upper="5.0">1.25</parameter> </LogNormal> </distribution>
<distribution id="taxonSetForTipB.prior" ...
<log idref="taxonSetForTipA.prior"/> <log idref="taxonSetForTipB.prior"/> ...
<operator id="TipDatesRandomWalker.01" windowSize="1" spec="TipDatesRandomWalker" taxonset="@taxonSetForTipA" tree="@Tree.t:tree" weight="1.0"/>
<operator id="TipDatesRandomWalker.02" ...
Could you confirm this is the correct way to go about it?
My second question is related to the prior distribution for these tip dates. I'd like to set a hard boundary on the date I have, while allowing for earlier dates with decreasing probabilities (but no later dates after the date I have). Is it possible to mirror or reverse the exponential distribution in BEAUti? I.e. for a tip date in 2005, I'd like the boundary to be 2005 and the exponential to go back in time. Or is it easier to achieve this by defining my dates as "time before the present" rather than "time since the past"?
Thanks for your help,
Pieter
The way I understand your explanation and the tutorial you linked to, I'd have to first define taxon sets for each of my dated taxa/tips. Next, I'd need to add as many random walk operators as I have taxon sets (which each contain exactly one taxon/tip at this point). My initial understanding was that I'd have to create a single taxon set which included all of my dates tips/taxa, rather than multiple taxon sets each containing a single tip.
My second question is related to the prior distribution for these tip dates. I'd like to set a hard boundary on the date I have, while allowing for earlier dates with decreasing probabilities (but no later dates after the date I have). Is it possible to mirror or reverse the exponential distribution in BEAUti? I.e. for a tip date in 2005, I'd like the boundary to be 2005 and the exponential to go back in time. Or is it easier to achieve this by defining my dates as "time before the present" rather than "time since the past"?