Documentation

Atlas.TheoryOfProbability.code.FiniteMarkovChain

structure StochasticMatrix (M : ) :

A StochasticMatrix M is an (M+1) × (M+1) row-stochastic matrix: entries prob i j are non-negative real numbers, and the rows sum to 1. This is the transition matrix of a Markov chain on the finite state space Fin (M + 1).

Instances For
    structure IsFiniteMarkovChain {Ω : Type u_1} {m : MeasurableSpace Ω} {M : } (X : ΩFin (M + 1)) (P : StochasticMatrix M) ( : DiscreteFiltration Ω m) (μ : MeasureTheory.Measure Ω) :

    IsFiniteMarkovChain X P ℱ μ asserts that the sequence X : ℕ → Ω → Fin (M+1) is a Markov chain with transition matrix P, adapted to the discrete filtration , under the measure μ. Concretely: each X n is ℱ n-measurable, and the conditional probability that X (n+1) = j given ℱ n equals P.prob (X n) j, matching the Markov property P(X_{n+1} = j | X_n = i, ...) = P_{ij}.

    Instances For