elynx-tree-0.3.2: Handle phylogenetic trees

Copyright(c) Dominik Schrempf 2018
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Distribution.BirthDeathNearlyCritical

Description

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 values of the point process such that it corresponds to reconstructed trees under the birth and death process; nearly critical birth and death process with lambda~mu.

Basically, this is a Taylor expansion of Eq. (2) and Eq. (3).

Synopsis

Documentation

data BirthDeathNearlyCriticalDistribution Source #

Distribution of the values of the point process such that it corresponds to a reconstructed tree of the birth and death process.

Constructors

BDNCD 

Fields

Instances
Eq BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

Data BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BirthDeathNearlyCriticalDistribution -> c BirthDeathNearlyCriticalDistribution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BirthDeathNearlyCriticalDistribution #

toConstr :: BirthDeathNearlyCriticalDistribution -> Constr #

dataTypeOf :: BirthDeathNearlyCriticalDistribution -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BirthDeathNearlyCriticalDistribution) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BirthDeathNearlyCriticalDistribution) #

gmapT :: (forall b. Data b => b -> b) -> BirthDeathNearlyCriticalDistribution -> BirthDeathNearlyCriticalDistribution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BirthDeathNearlyCriticalDistribution -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BirthDeathNearlyCriticalDistribution -> r #

gmapQ :: (forall d. Data d => d -> u) -> BirthDeathNearlyCriticalDistribution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BirthDeathNearlyCriticalDistribution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BirthDeathNearlyCriticalDistribution -> m BirthDeathNearlyCriticalDistribution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BirthDeathNearlyCriticalDistribution -> m BirthDeathNearlyCriticalDistribution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BirthDeathNearlyCriticalDistribution -> m BirthDeathNearlyCriticalDistribution #

Generic BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

Distribution BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

ContDistr BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

ContGen BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

type Rep BirthDeathNearlyCriticalDistribution Source # 
Instance details

Defined in ELynx.Distribution.BirthDeathNearlyCritical

type Rep BirthDeathNearlyCriticalDistribution = D1 (MetaData "BirthDeathNearlyCriticalDistribution" "ELynx.Distribution.BirthDeathNearlyCritical" "elynx-tree-0.3.2-D4z8hEm7d0IGPFAaza2gb3" False) (C1 (MetaCons "BDNCD" PrefixI True) (S1 (MetaSel (Just "bdncdTOr") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Time) :*: (S1 (MetaSel (Just "bdncdLa") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Rate) :*: S1 (MetaSel (Just "bdncdMu") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Rate))))

cumulative :: BirthDeathNearlyCriticalDistribution -> Time -> Double Source #

Cumulative distribution function section 2.1.2, second formula.

density :: BirthDeathNearlyCriticalDistribution -> Time -> Double Source #

Density function section 2.1.2, first formula.

quantile :: BirthDeathNearlyCriticalDistribution -> Double -> Time Source #

Inverted cumulative probability distribution cumulative. See also ContDistr.