PhyloBrownian(TimeTree tree, Double diffRate, Double y0)

The phylogenetic Brownian motion distribution. A continous trait is simulated for every leaf node, and every direct ancestor node with an id.(The sampling distribution that the phylogenetic continuous trait likelihood is derived from.)

Parameters

  • TimeTree tree - the time tree.
  • Double diffRate - the diffusion rate.
  • Double y0 - the value of continuous trait at the root.

Return type

ContinuousCharacterData

Examples

  • simplePhyloBrownian.lphy

Reference

Felsenstein J. (1973). Maximum-likelihood estimation of evolutionary trees from continuous characters. American journal of human genetics, 25(5), 471–492.https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1762641/