The agent distribution: state space and Markov operator #
Step one towards a stationary agent distribution for the income fluctuation problem.
The compact state space #
The model is posed with state space ℝ × Z, but a distribution has to live somewhere
compact -- Prokhorov's theorem, which supplies the compactness of the space of probability
measures, needs a compact underlying space. The household never leaves
[0, assetCap] × Z, so that is where the distribution lives, and State is that region as
a space in its own right rather than as a subset of a larger one.
Taking it as a subtype is forced. A subset of ℝ × Z would not be a compact space, and
the earlier concavity work could not use a subtype because it is not a module over ℝ.
Both choices are right in their own place: concavity needs the linear structure of the
ambient space, the distribution needs compactness of the region.
The Markov operator #
markovOp h s is the expected value of h at next period's state, given that the household
is at s today and follows its optimal policy. The content of the definition is that it
lands in the bounded continuous functions again:
- continuity is the Feller property, and comes from continuity of the optimal policy, which is what the whole concavity and uniqueness development was for;
- boundedness is immediate from
∑ prob = 1.
Feller is what will make the induced map on probability measures continuous, and continuity of that map is what a fixed point argument needs.
The operator on measures #
push μ is where the distribution μ is a period later. It is assembled from
Measure.withDensity and Measure.map rather than from Measure.bind: Mathlib has
lintegral_bind but no Bochner integral_bind, whereas both of the former have their
Bochner lemmas, and it is the Bochner integral that the weak topology is stated with.
integral_push is the duality ∫ h d(push μ) = ∫ (markovOp h) dμ, and it is what makes
the whole thing work: weak convergence is tested against bounded continuous functions, so
weak continuity of push reduces immediately to markovOp h being one.
The compact region the agent distribution lives on: assets in [0, assetCap] paired
with an income state.
Instances For
The region, read back as a state of the original model.
Instances For
Next period's assets under the optimal policy, as a point of the region.
Instances For
Next period's state if the income shock z' occurs.
Instances For
The policy moves the household continuously within the region. This is the Feller input, and it is exactly what the concavity and uniqueness development bought.
The probability of moving to income state z', as a function of today's state.
Equations
- P.prob s z' = P.transitionMatrix s.2 z'
Instances For
The expected value of h next period, as a bare function.
Instances For
The Markov operator. markovOp h is the expected value of h next period. That it
is again bounded and continuous is the Feller property.
Instances For
The operator is monotone: a larger payoff tomorrow is worth more today.
The operator is unital: a constant payoff is worth its own value. This is ∑ prob = 1,
and it is what will make the induced map send probability measures to probability
measures.
The operator on measures #
The reweighting density for shock z', as an ℝ≥0-valued function.
Instances For
One period of the agent distribution's motion. Each income state z' reweights the
distribution by the probability of moving there and pushes it along the policy.
Equations
- P.push μ = MeasureTheory.Measure.sum fun (z' : Z) => MeasureTheory.Measure.map (fun (s : P.State) => P.nextState s z') (μ.withDensity fun (s : P.State) => ↑(P.dens z' s))
Instances For
push preserves total mass, because the transition probabilities sum to one.
Each transition probability is at most one.
Duality. The integral of h against tomorrow's distribution is the integral of the
expected value of h against today's. This is the bridge between the two operators, and it
is what turns the Feller property into weak continuity.
The agent distribution operator, on probability measures.
Instances For
The distribution operator is weakly continuous. This is the Feller property in the
form a fixed point argument needs, and it falls straight out of the duality: weak
convergence is tested against bounded continuous functions, and markovOp h is one.
A stationary agent distribution is a fixed point of the operator.
Equations
- P.IsStationary μ = (P.pushProb μ = μ)