Fine empirical checkerboard from two rank permutations. Ranks are zero based.
Equations
Instances For
Equations
- Verification.rankCopula n hn rx ry = (Verification.rankCellMass n hn rx ry).checkerboard
Instances For
theorem
Verification.rankCopula_cdf
(n : ℕ)
(hn : 0 < n)
(rx ry : Equiv.Perm (Fin n))
(u v : ↑unitInterval)
:
(rankCopula n hn rx ry).cdf ![u, v] = 1 / ↑n * ∑ k : Fin n,
↑((ProbabilityTheory.Copula.IntervalPartition.uniform n hn).coord (rx k) u) * ↑((ProbabilityTheory.Copula.IntervalPartition.uniform n hn).coord (ry k) v)