estimate_rank_of_mrca_between

estimate_rank_of_mrca_between(first: Union[HereditaryStratigraphicColumn, HereditaryStratigraphicSpecimen], second: Union[HereditaryStratigraphicColumn, HereditaryStratigraphicSpecimen], estimator: str, prior: Literal['arbitrary', 'uniform'] | PriorBase) float | None

At what generation did the most recent common ancestor of first and second occur?

Parameters

estimator{“maximum_likelihood”, “unbiased”}

What estimation method should be used? Options are “maximum_likelihood” or “unbiased”.

The “maximum_likelihood” estimator is faster to compute than the “unbiased” estimator.

prior{“arbitrary”, “uniform”} or object implementing prior interface

Prior probability density distribution over possible generations of the MRCA.

Implementations for arbitrary, geometric, exponential, and uniform priors are available in hstrat.phylogenetic_inference.priors. User -defined classes specifying custom priors can also be provided.

Returns

float, optional

Estimate of MRCA rank, unless first and second definitively share no common ancestor in which case None will be returned.

See Also

calc_rank_of_mrca_bounds_between :

Calculates confidence intervals for generation of most recent common ancestor between two hereditary stratigraphic columns.

does_definitively_have_no_common_anestor :

Does the hereditary stratigraphic record definitively prove that first and second could not possibly share a common ancestor?