Skip to content

Structured Tree Likelihood

Igor Siveroni edited this page Jul 27, 2017 · 51 revisions

The Structured Tree Likelihood component

The STreeLikelihoodODE class computes the log-likelihood of a genealogy given a population model. The STreeLikelihoodODE component takes as input a structured tree set of intervals and an instantiation of a PopModelODE. A typical STreeLikelihoodODE entry looks like this:

<distribution spec='STreeLikelihoodODE' id = 'stlikelihood'
      useStateName='true' popmodel='@sirmodel'             	 
      solvePL='true' stepSize='0.01' 
      popmodel='@sirmodel'>                
      <treeIntervals spec="STreeIntervals" tree='@tree'> </treeIntervals>                
</distribution>

Clone this wiki locally