
Rank-persistence null: the overlap of two top-k sets by chance
Source:R/ledger_1_4_3.R
morie_rank_persistence_null.RdUnder the null that this year's top-\(k\) places are a uniformly random \(k\)-subset of
the \(n\) places, independent of last year's, the number of places in both sets is
hypergeometric: \(P(j) = C(k, j) C(n-k, k-j) / C(n, k)\)
(Research.P7.Persistence.card_overlapSets, overlap_prob), the law sums to one
(overlap_prob_sum) and its mean is \(k^2/n\).