Documentation

Copula.Rank.Region.RhoTau.OrderSigns

← Copula mathematical handbook

Order signs and the finite Spearman moment identity #

theorem ProbabilityTheory.Copula.RankRegion.RhoTau.orderSign_sq {α : Type u_1} [LinearOrder α] {i j : α} (h : i ≠ j) :
orderSign i j ^ 2 = 1
theorem ProbabilityTheory.Copula.RankRegion.RhoTau.permutation_triple_sign {n : ℕ} (π : Equiv.Perm (Fin n)) (i j k : Fin n) :
(permutationSigns π).triple i j k = (completeSigns.triple i j k - (orderSign i j - orderSign i k + orderSign j k) * (orderSign (π i) (π j) - orderSign (π i) (π k) + orderSign (π j) (π k))) / 2