Documentation

LogOptimalEProcesses.Gaussian.Defs

The Gaussian location model #

This file defines the objects of Section 4 of the paper and of Sections S1 and S2 of its supplementary material. The observations take values in 𝒳 = ℝ, and the coordinate x i of a path x : ℕ → ℝ is the observation X_{i+1}.

Variances are nonnegative reals in Mathlib's gaussianReal; the variances s² and ρ² are (s ^ 2).toNNReal and (ρ ^ 2).toNNReal.

The null and the alternative #

noncomputable def LogOptimal.nullDist (θ : ℝ) :

The null distribution P_θ = N(θ, 1)^{⊗∞} of Section 4.

Equations
Instances For

    The Gaussian location null 𝔓 = {P_θ : θ ∈ ℝ} of Section 4.

    Equations
    Instances For
      noncomputable def LogOptimal.altDist (s μ : ℝ) :

      The alternative Q_μ = N(μ, s²)^{⊗∞} of Section 4.

      Equations
      Instances For
        noncomputable def LogOptimal.mixAlt (s ρ : ℝ) :

        The alternative Q = ∫ Q_μ N(0, ρ²)(dμ) of Section 4, where N(0, 0) is the unit mass at zero.

        Equations
        Instances For

          The running mean and the variables Y_i #

          noncomputable def LogOptimal.runningMean (t : ℕ) (x : ℕ → ℝ) :

          The running mean X̄_t = t^{-1} ∑_{i=1}^t X_i.

          Equations
          Instances For
            noncomputable def LogOptimal.helmertY (i : ℕ) (x : ℕ → ℝ) :

            The variable Y_i = {(i − 1)/i}^{1/2}(X_i − X̄_{i−1}) of eq. (7), for i ≥ 2.

            Equations
            Instances For

              The filtration (𝒢_t)_{t ≥ 0} generated by (Y_t)_{t ≥ 2}, with 𝒢₀ and 𝒢₁ trivial.

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

                Likelihood ratios and numéraires #

                noncomputable def LogOptimal.lik (s y : ℝ) :

                The likelihood ratio ℓ = φ_{s²}/φ₁, where φ_v is the density of N(0, v).

                Equations
                Instances For

                  The mixture of N(θ, b) over θ ∼ N(m, a) is N(m, a + b).

                  noncomputable def LogOptimal.notepCond (s θ : ℝ) (x : ℕ → ℝ) :

                  The conditional expectation E_θ(E*_2 ∣ X_1) = {2/(1 + s²)}^{1/2} exp{−(1 − s²)(X_1 − θ)²/(2 + 2s²)} of eq. (S15), as a function of the path.

                  Equations
                  Instances For
                    noncomputable def LogOptimal.kappa (s : ℝ) :

                    κ = (s² − 1 − log s²)/2, the Kullback–Leibler divergence of N(0, s²) from N(0, 1).

                    Equations
                    Instances For
                      noncomputable def LogOptimal.gaussNumeraire (s : ℝ) (t : ℕ) (x : ℕ → ℝ) :

                      The numéraire E*_t = ∏_{i=2}^t ℓ(Y_i) of Proposition 2, equal to one for t ≤ 1.

                      Equations
                      Instances For
                        noncomputable def LogOptimal.likProcess (s θ : ℝ) (t : ℕ) (x : ℕ → ℝ) :

                        The likelihood ratio L^θ_t = ∏_{i=1}^t ℓ(X_i − θ) of Q_θ against P_θ on ℱ_t, with L^θ₀ = 1 (Section 4.2).

                        Equations
                        Instances For

                          The random walk of Lemma 2 #

                          The distribution N(0, 1)^{⊗∞} of the increments of the random walk (S_t) of Lemma 2.

                          Equations
                          Instances For
                            def LogOptimal.walk (t : ℕ) (ω : ℕ → ℝ) :

                            The random walk S_t = ∑_{i < t} ω_i with S₀ = 0, as a function of its increments ω.

                            Equations
                            Instances For

                              The filtration generated by the random walk (S_t)_{t ≥ 0}.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                noncomputable def LogOptimal.reward (s : ℝ) (t : ℕ) (ω : ℕ → ℝ) :

                                The reward h_t = s exp{(1 − s²)S_t²/(2t)} of Lemma 2, with h₀ = 1.

                                Equations
                                Instances For

                                  The e-process of Proposition 3(ii) #

                                  noncomputable def LogOptimal.horizon (j : ℕ) :

                                  The horizon T_j = ⌈exp(e^j)⌉ of Proposition 3(ii).

                                  Equations
                                  Instances For
                                    noncomputable def LogOptimal.blockRatio (s : ℝ) (j : ℕ) :

                                    The ratio q_j = 1 + s²/{(1 − s²)(j + 1)} of Proposition 3(ii).

                                    Equations
                                    Instances For
                                      noncomputable def LogOptimal.etaBound (s : ℝ) (j : ℕ) :

                                      The bound u_j = {(j + 1)/(s² j)}(2 + 2 log T_j / log q_j)^{1 − s² j/(j + 1)} of Proposition 3(ii).

                                      Equations
                                      Instances For
                                        noncomputable def LogOptimal.mixtureEProcess (s : ℝ) (t : ℕ) (x : ℕ → ℝ) :

                                        The e-process E_t = ∑_{j ≥ 1} E*_{t ∧ T_j}/{j(j + 1)u_j} of Proposition 3(ii).

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

                                          The process with the running mean of Proposition S6 #

                                          noncomputable def LogOptimal.runningMeanProcess (s : ℝ) (t : ℕ) (x : ℕ → ℝ) :

                                          The process Ẽ_t = ∏_{i=2}^t ℓ(X_i − X̄_{i−1}) of Proposition S6.

                                          Equations
                                          Instances For