Documentation

Copula.Vine.Structure

← Copula mathematical handbook

Regular-vine structures by nested path attachment #

A new variable is attached along a path through the existing vine's nested coordinate clusters. Each new higher-tree edge shares an immediate parent with its two endpoints: the proximity condition is built into the construction. Always taking the left child gives a C-vine; always taking the right child gives a D-vine. Mixed paths give other regular vines.

A labelled ancestral representation of the top edge of a regular vine. Repeated subtrees represent the same lower-tree cluster.

Instances For
    def ProbabilityTheory.Copula.Vine.instDecidableEqTree.decEq {d✝ : ℕ} (x✝ x✝¹ : Tree d✝) :
    Decidable (x✝ = x✝¹)
    Equations
    Instances For

      An immediate parent in the preceding tree.

      Equations
      Instances For

        The usual shared-parent proximity condition, with the first tree as base case.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Well-formed recursive regular-vine clusters.

          Instances For
            theorem ProbabilityTheory.Copula.Vine.Tree.valid_join_iff {d : ℕ} {a b : Fin d} {s : Finset (Fin d)} {l r : Tree d} :
            (join a b s l r).Valid ↔ l.Valid ∧ r.Valid ∧ l.vars = insert a s ∧ r.vars = insert b s ∧ a ∉ s ∧ b ∉ s ∧ a ≠ b ∧ l.Proximity r s

            Attach a fresh variable along a path (false = left, true = right). Missing choices default to left; choices after reaching a leaf are unused.

            Equations
            Instances For
              theorem ProbabilityTheory.Copula.Vine.Tree.vars_graft {d : ℕ} {t : Tree d} (ht : t.Valid) (a : Fin d) (path : List Bool) :
              (t.graft a path).vars = insert a t.vars
              theorem ProbabilityTheory.Copula.Vine.Tree.child_graft {d : ℕ} {t : Tree d} (ht : t ≠ empty) (a : Fin d) (path : List Bool) :
              t.Child (t.graft a path)
              theorem ProbabilityTheory.Copula.Vine.Tree.Valid.graft {d : ℕ} {t : Tree d} (ht : t.Valid) (a : Fin d) (ha : a ∉ t.vars) (path : List Bool) :
              (t.graft a path).Valid

              Path attachment preserves regularity and the proximity condition.

              def ProbabilityTheory.Copula.Vine.Tree.ofList {d : ℕ} (paths : Fin d → List Bool) :
              List (Fin d) → Tree d

              Build a vine by adding a list of distinct variables from right to left.

              Equations
              Instances For
                theorem ProbabilityTheory.Copula.Vine.Tree.valid_ofList {d : ℕ} (paths : Fin d → List Bool) (xs : List (Fin d)) :
                xs.Nodup → (ofList paths xs).Valid ∧ (ofList paths xs).vars = xs.toFinset

                All labelled pair-copula edges; duplicate ancestral references are removed.

                Equations
                Instances For

                  A regular-vine structure in path-attachment form. The list is an elimination order: construction adds its variables from right to left.

                  Instances For

                    Specify the order in which variables are added, together with their attachment paths.

                    Equations
                    Instances For

                      The C-vine with the given root order.

                      Equations
                      Instances For

                        The labelled ancestral tree, including all conditioned and conditioning sets.

                        Equations
                        Instances For

                          Every structure produced by the API satisfies the recursive proximity condition.

                          The distinct pair-copula edges (a, b, conditioningSet).

                          Equations
                          Instances For

                            First-tree edges, with empty conditioning sets.

                            Equations
                            Instances For