estimate_rank_of_mrca_unbiased
- estimate_rank_of_mrca_unbiased(coincident_ranks_from_first_disparity_through_first_commonality: Iterator[int], p_differentia_collision: float, prior: PriorBase) float | None [source]
Compute an estimate for the rank of the most recent common ancestor (MRCA) that, on average, avoids systematic over- or under-estimation.
Parameters
- coincident_ranks_from_first_disparity_through_first_commonalitytyping.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.