estimate_rank_of_mrca_maximum_likelihood
- estimate_rank_of_mrca_maximum_likelihood(coincident_ranks_from_first_disparity_through_first_commonality: Iterator[int], p_differentia_collision: float, prior: PriorBase) float | None [source]
Estimate the most recent common ancestor (MRCA) at the rank with the highest posterior probability.
Parameters
coincident_ranks_from_first_disparity_through_first_commonality : typing.Iterator[int]
Iterator of integer values indicating the coincident ranks between two taxa.
Inclusive to first disparity and first commonality.
- p_differentia_collisionfloat
The multiplicative inverse of the number of possible differentia.
- priorPriorBase
Prior expectation for the distribution of MRCA generation between hereditary stratigraphic columns.
Returns
- typing.Optional[float]
Estimated rank of the MRCA, or None if the two hereditary stratigraphic artifacts definitively share no common ancestor.
Notes
The midpoint rank will be estimated for windows of equal posterior probability.