Expectations and quadratic forms on a finite index set #
The expectation p(φ) = ∑ i, p i * φ i and the quadratic form
⟨φ, K φ⟩_p = ∑ i, ∑ j, p i * K i j * φ i * φ j of Section 2.2 of the paper are defined for
weights p : ι → ℝ on a finite type ι, a function φ : ι → ℝ, and a matrix K. When K is a
Markov kernel which leaves p invariant, ⟨φ, K φ⟩_p - p(φ) ^ 2 is the lag-one autocovariance of
φ for the Markov chain with kernel K started from p.
Probability vectors, the reversibility of a matrix with respect to a vector, and the Gibbs kernel
K(i, ·) = p are also defined. A Markov kernel on ι is a matrix in Matrix.rowStochastic ℝ ι,
with K i j the probability of moving from i to j.
The expectation p(φ) = ∑ i, p i * φ i of φ with respect to the weights p (Section 2.2).
Equations
- CSMC.expect p φ = ∑ i : ι, p i * φ i
Instances For
The Gibbs kernel K(i, ·) = p, under which the new index is drawn from p without regard for
the current index i (Section 2.2).
Equations
- CSMC.gibbs p = Matrix.of fun (x j : ι) => p j
Instances For
The entries of a probability vector are at most one.
The entries of a probability vector other than p i sum to 1 - p i.
If an entry of a probability vector is one, the other entries are zero.
A nonnegative vector which is not zero, divided by its sum, is a probability vector.