Copyright | (c) Dominik Schrempf 2021 |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Tue Feb 13 13:16:18 2018.
See Gernhard, T. (2008). The conditioned reconstructed process. Journal of Theoretical Biology, 253(4), 769–778. http://doi.org/10.1016/j.jtbi.2008.04.005.
Distribution of the time of origin for birth and death trees. See corollary 3.3 in the paper cited above.
Synopsis
- data TimeOfOriginDistribution = TOD {}
- cumulative :: TimeOfOriginDistribution -> Time -> Double
- density :: TimeOfOriginDistribution -> Time -> Double
- quantile :: TimeOfOriginDistribution -> Double -> Time
Documentation
data TimeOfOriginDistribution Source #
Distribution of the time of origin for a phylogenetic tree evolving under the birth and death process and conditioned on observing n leaves today.
Instances
cumulative :: TimeOfOriginDistribution -> Time -> Double Source #
Cumulative distribution function Corollary 3.3.
quantile :: TimeOfOriginDistribution -> Double -> Time Source #
The inverted cumulative probability distribution cumulative
. See also
ContDistr
.