Documentation

Copula.Rank.Region.Common.Shuffle

← Copula mathematical handbook

Finite shuffles with increasing strips #

The construction is a sum of actual uniform segment laws. The tiling conditions state that the horizontal and vertical strips partition the unit interval; zero-width strips are allowed throughout.

theorem ProbabilityTheory.Copula.RankRegion.Common.stripCut_zero {s a u : ℝ} (hs : 0 ≤ s) (hu : u ≤ a) :
stripCut s a u = 0
theorem ProbabilityTheory.Copula.RankRegion.Common.stripCut_inside {s a u : ℝ} (h0 : a ≤ u) (h1 : u ≤ a + s) :
stripCut s a u = u - a
Instances For
    Equations
    Instances For
      Instances For
        Equations
        Instances For
          theorem ProbabilityTheory.Copula.RankRegion.Common.PositiveShuffle.law_Iic {n : ℕ} (S : PositiveShuffle n) (u : Fin 2 → ↑unitInterval) :
          S.law (Set.Iic u) = ENNReal.ofReal (∑ i : Fin n, min (stripCut (S.strip i).width (S.strip i).x ↑(u 0)) (stripCut (S.strip i).width (S.strip i).y ↑(u 1)))
          Equations
          Instances For
            theorem ProbabilityTheory.Copula.RankRegion.Common.PositiveShuffle.cdf {n : ℕ} (S : PositiveShuffle n) (u : Fin 2 → ↑unitInterval) :
            S.copula.cdf u = ∑ i : Fin n, min (stripCut (S.strip i).width (S.strip i).x ↑(u 0)) (stripCut (S.strip i).width (S.strip i).y ↑(u 1))
            theorem ProbabilityTheory.Copula.RankRegion.Common.PositiveShuffle.cdf_point {n : ℕ} (S : PositiveShuffle n) (π : Equiv.Perm (Fin n)) (hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x) (hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y) (i : Fin n) (u : ↑unitInterval) :
            S.copula.cdf ((S.strip i).point u) = (S.strip i).width * ↑u + ∑ j : Fin n, if j < i ∧ π j < π i then (S.strip j).width else 0
            theorem ProbabilityTheory.Copula.RankRegion.Common.PositiveShuffle.tau {n : ℕ} (S : PositiveShuffle n) (π : Equiv.Perm (Fin n)) (hx : ∀ (i j : Fin n), i < j → (S.strip i).x + (S.strip i).width ≤ (S.strip j).x) (hy : ∀ (i j : Fin n), π i < π j → (S.strip i).y + (S.strip i).width ≤ (S.strip j).y) :
            S.copula.kendallTau = 4 * ∑ i : Fin n, (S.strip i).width * ((S.strip i).width / 2 + ∑ j : Fin n, if j < i ∧ π j < π i then (S.strip j).width else 0) - 1