RESEARCH DOSSIER
Distributional State Dynamics and Heterogeneous Agent Computation
Abstract. An economic distribution is an evolving endogenous state whenever households or firms make decisions under heterogeneous constraints, exposures, and histories. This monograph investigates the mathematical transition from individual decision rules to probability measures, invariant distributions, market-clearing prices, and time-dependent general equilibrium. Its principal object is the policy-induced distribution operator: a mapping that combines individual choices, stochastic state transitions, and aggregation. The analysis develops discrete-time and continuous-time formulations; distinguishes invariant-measure existence from uniqueness, convergence, and quantitative stability; examines asset-grid transport, simulation, projection, perturbation, and sequence-space methods; and specifies conditions under which aggregate moments provide reliable state compression. An independently constructed six-state synthetic example supplies an exact transition matrix, a numerically verified invariant law, marginal state probabilities, aggregate assets, and inequality statistics. Counterexamples establish why neither a small stationarity residual nor an accurate aggregate regression alone proves distributional accuracy. The manuscript synthesizes foundational incomplete-market models and subsequent computational research, with an emphasis on traceable assumptions, reproducible numerical diagnostics, and precise boundaries between economic modeling, mathematical inference, and empirical measurement. No claim of a newly discovered theorem or new named theory is made.
Keywords: Heterogeneous agents; distributional states; Markov operators; invariant probability measures; ergodicity; incomplete markets; numerical general equilibrium; cross-sectional distributions; transport matrices; stationary equilibrium; aggregate uncertainty; Krusell–Smith approximation; finite-state discretization; endogenous grid method; forward Kolmogorov equation; sequence-space Jacobian; Euler residuals; distributional verification
Introduction
The distribution of economic resources carries information about what an economy can do next. Individual asset holdings, earnings states, productivity, employment, age, and exposure to incomplete insurance determine feasible saving, consumption, and investment choices. Those choices change the cross-section; the resulting cross-section changes aggregate supplies, prices, and sometimes expectations. The computational problem is therefore recursive in two senses. Household decisions depend on future prices and risk, while the aggregate state depends on the entire collection of household decisions.
Three canonical contributions make the distinction concrete. Huggett's incomplete-insurance economy (1993) constructs an equilibrium with uninsurable endowment shocks and trading in a risk-free asset. Aiyagari's aggregate-saving analysis (1994) places related incomplete-market mechanisms within a production economy. Krusell and Smith's heterogeneity and macroeconomy study (1998) shows that an aggregate law of motion depending on a small number of moments can be strikingly accurate within their examined models. These results motivate different computational questions. They establish neither a universal moment-closure theorem nor a universal ranking of algorithms. The distribution transition must be specified and validated for the economic environment at hand.
This investigation separates the mathematical state from the economic mechanisms layered upon it. Market incompleteness, precautionary saving, labor-income persistence, aggregate risk, or distributional monetary transmission may motivate a model; the object studied here is how a policy induces a transition on measures and how that transition is approximated, solved, and checked. The distinction matters because two models with similar aggregate capital may imply different concentration at borrowing constraints, different marginal propensities to consume, and different responses to an identical price path.
The method is formal and computational. First, a probability distribution and its transition law are defined. Next, stationary and recursive equilibria are expressed as coupled household and measure fixed points. The analysis then compares classes of numerical algorithms. Finally, an independently calculated example and exact counterexamples illustrate diagnostics that are logically stronger than plausible simulation plots. Empirical claims are limited to identifying the appropriate interface between model objects and observed weighted distributions. No household microdata are asserted to have been collected or calibrated.
The Distribution as an Economic State
Consider a continuum of households of unit mass with individual state , where is an asset position in a feasible set and is an idiosyncratic earnings state in . Let and let denote the probability measures on . At date , the cross-section is a measure . For a measurable set , is the share of households whose states belong to . A probability measure is part of the economically relevant state because constraints and behavioral rules operate on individual rather than average positions.
Aggregates are functionals of this measure. Capital supply is when the first moment exists. Mean consumption is . The mass at a borrowing limit is ; the unemployed share is an integral of an employment-state indicator. A model requiring only total assets for production may nevertheless need the full joint asset–earnings measure to forecast individual decisions and therefore tomorrow's total assets.
The joint nature of the state is essential. Two economies can have identical wealth marginals and identical earnings marginals while assigning high earnings to different wealth groups. If the saving policy depends on both variables, the induced next-period distributions and aggregate saving will generally differ. Consequently, preserving two separate marginals is weaker than preserving their dependence structure.
A distribution is a state sufficient for forecasting when the assumed continuum economy, exogenous aggregate state, institutional rules, and equilibrium selection are specified so that the future depends on the individual cross-section only through that measure. This is an economic and mathematical assumption, not an empirical statement that every conceivable household history can be summarized by assets and earnings. When histories affect preferences, constraints, or transitions, they must enter or be integrated out under justified conditional laws.
A stationary distribution is time-invariant under a specified transition operator. A stationary equilibrium additionally imposes household optimality, individual-state consistency, market clearing, and compatible prices. Keeping these concepts separate prevents a numerical invariant vector from being mistaken for a solved economic equilibrium.
Measure-Theoretic Foundations
Let be a measurable state space and a Markov kernel: for each state , is a probability measure, and for each measurable , is measurable. The induced operator on probability measures is
This equation is the foundation of distributional state dynamics. It states that the probability mass assigned to a destination set equals the current mass at each origin, weighted by its probability of moving into that set. The mapping is linear in when the kernel is fixed. It is generally nonlinear as an equilibrium law if the kernel itself responds to through prices or aggregate forecasts.
For a bounded measurable test function , define the Markov operator on functions by . The fundamental duality is
The identity follows directly by changing the order of integration under boundedness. It is useful both in proofs and code: one can propagate a probability vector or propagate an observable backward, and the two methods must give the same expectation.
For finite assets and a finite productivity grid, becomes multiplication by a row-stochastic matrix. In unbounded continuous state spaces, further assumptions are required to establish existence of an invariant measure, control the tails, or ensure convergence. Compactness and continuity assumptions can support existence results; suitable drift and minorization conditions often support stability on noncompact spaces. Neither family of assumptions is implicit in the probability-measure notation.
Moment existence is a separate issue. A valid probability distribution may possess infinite mean wealth, so requires integrability. Similarly, a weakly convergent sequence of distributions need not have convergent means without suitable uniform-integrability or moment controls. Numerical verification therefore must check the economic observables used for clearing, not only whether histogram probabilities sum to one.
The general theory of economic Markov systems and their computational approximation is developed in Stachurski's Economic Dynamics (2009). Here the measure–function duality supplies the organizing mathematical language for the remainder of the investigation.
Household Optimization and Feasible Policies
An incomplete-market household receives a sequence of idiosyncratic earnings shocks and chooses consumption and next-period asset holdings subject to a budget and a borrowing restriction. In a familiar stationary formulation,
where the maximization is also restricted to choices making consumption positive, $0<\beta<1$, and is a stochastic earnings transition matrix. The value function is defined relative to a candidate price vector and an assumed transition law. The optimal policy maps each state into a feasible next asset position.
The asset and labor-income terms must be timed consistently. The convention above prices a unit of next-period assets at one unit of present resources and treats as the net return on beginning-of-period assets. Alternative formulations place the gross return inside next period's budget. Mixing timing conventions is a frequent source of numerical errors, especially when comparing Euler equations with reported prices.
At an interior choice, differentiability and standard envelope conditions yield the Euler equation
At a binding lower asset constraint, the appropriate inequality is in the corresponding differentiable formulation. A solver that forces equality at the borrowing limit may report small computational residuals for the wrong optimization problem. Accurate microeconomic policy functions therefore require feasibility checks, Kuhn–Tucker checks, and sensitivity to interpolation near constraint kinks.
A deterministic policy combined with stochastic earnings transitions induces a Markov kernel. On asset grids, interpolation introduces an additional numerical lottery whose sole purpose is to allocate the off-grid choice to neighboring asset points. This lottery approximates a deterministic choice; it need not represent additional economic uncertainty. Distinguishing economic shocks from numerical mass splitting is essential for interpreting a simulated distribution.
The computational advances in Carroll's endogenous grid method (2006) demonstrate how the Euler equation can often be reorganized to solve efficiently for current endogenous asset positions at prescribed future asset holdings. The method changes the numerical route to a policy, while the measure transition still depends on the actual policy and shock kernel. Accuracy in the household problem and accuracy in distribution propagation remain separate dimensions.
Policy-Induced Transition Operators
Let the policy be , where collects structural parameters, collects market prices, and the dependence on allows an equilibrium rule. Assume for the moment that the earnings transition is . The policy-induced kernel is
The corresponding cross-sectional law is . Household decisions and probability transitions are combined only once: first an origin state determines the asset choice, then exogenous states transition, then the resulting state receives mass. If contemporaneous earnings changes enter the decision, the timing and integral must be rewritten accordingly.
Three mathematical properties are immediate when is a valid Markov kernel. Nonnegative mass stays nonnegative; a probability distribution stays normalized; and the expectation duality holds for bounded test functions. These properties are necessary for a credible numerical operator but provide no guarantee that solves the household problem or that clears markets.
A fixed-policy operator is linear in the distribution. The full law of motion may fail linearity because market prices vary with aggregate assets, and aggregate assets vary with the distribution. Writing without stating whether the price is fixed can conceal this key distinction. The derivative of the equilibrium operator contains both the direct effect of redistributing mass under fixed policies and the indirect response of policies to prices and expectations.
For an observable , the next-period aggregate is
If the integrand lies in the linear span of the moments used to summarize , those moments yield an exact closed recursion at fixed prices. Otherwise a finite-moment law is an approximation unless additional restrictions on admissible distributions make it exact. This is a direct consequence of the operator definition, not an independent theorem about every heterogeneous-agent economy.
The operator viewpoint clarifies implementation: a numerical procedure should expose explicit mappings from policy arrays to transition weights, from weights to distribution updates, and from the updated distribution to economically meaningful aggregates. It also permits unit tests at each boundary.
Finite-State Markov Approximation
Choose an asset grid and earnings states . The joint grid contains states. If lies between adjacent asset nodes and , assign nonnegative interpolation weights
These weights sum to one and preserve the first moment of the chosen asset at that origin: . They do not generally preserve the second moment or the value of a nonlinear observable. Feasible policies outside the numerical grid require grid expansion or an explicitly documented boundary rule rather than silent clipping.
The full transition matrix, indexed by origin and destination , is with the appropriate two neighboring destination asset nodes. Its row sums are one because and . Each row is nonnegative by construction. A finite probability row vector then evolves by .
Two errors enter this construction. Earnings discretization changes the underlying stochastic process. Asset transport discretization changes the distribution of next asset choices, even when the policy is exact at grid nodes. A third error arises because the policy itself was computed on a finite grid. These errors interact but should be diagnosed separately.
Kopecky and Suen's Markov-chain approximation comparison (2010) shows why the method used to discretize a persistent process can materially affect computed solutions. In particular, a large autoregressive persistence parameter makes simple coarse approximations more delicate. A rigorous computational study therefore records the earnings-process discretization, transition convention, grid endpoints, target moments, and refinement checks.
Nonnegativity is a valuable algorithmic invariant. Higher-order interpolation methods may give locally accurate function values yet create negative distribution weights if applied without positivity constraints. For distributions, preserving mass and nonnegativity is a fundamental part of accuracy, not merely a graphical preference.
Invariant Measures, Existence, and Multiplicity
A distribution is invariant for a fixed Markov transition if , , and . In a finite state space, at least one invariant probability vector exists. One construction uses finite-dimensional fixed-point reasoning on the probability simplex, which is nonempty, compact, and convex and is mapped continuously into itself by the linear transition operator.
Uniqueness requires more. A finite irreducible Markov chain has a unique invariant probability vector, and a finite irreducible aperiodic chain converges toward that invariant vector from every initial probability distribution. A chain that can never move between two closed classes may have multiple invariant measures. A period-two chain may have a unique invariant vector while its pointwise probability distribution oscillates instead of converging.
For a simple reducible example, has every vector , $0\leq q\leq1$, as an invariant distribution. No solver can discover a uniquely determined stationary cross-section from this transition law because the law does not select one. For a periodic example,
the unique invariant vector is , but the initial state alternates forever between the two pure states. These examples show why existence, uniqueness, and convergence must be tested separately.
The economic fixed point adds further requirements. An invariant probability measure computed at a candidate interest rate can fail market clearing. Conversely, a market-clearing price associated with one of several stationary distributions may fail to determine a unique equilibrium. Solving is therefore only one component of stationarity.
For unbounded continuous asset spaces, compact-simplex reasoning is unavailable without further tightness or drift assumptions. A sequence of distributions can escape toward ever larger assets. Establishing stationary solutions requires control over economically feasible asset dynamics and, in many applications, suitable return and discount restrictions. The literature's numerical success under particular calibrations does not remove these mathematical requirements.
This separation is particularly relevant when interpreting Aiyagari's stationary saving economy (1994): stationary prices, optimal policies, invariant cross-sections, and aggregate capital consistency form a coupled construction rather than independent observed facts.
Ergodicity, Mixing, and Stability
A stationary distribution may exist and be unique while numerical convergence is slow. The convergence rate depends on how rapidly the Markov process forgets its initial state. For finite chains, the magnitude of subdominant eigenvalues, together with possible nonnormal effects and the chosen norm, helps characterize decay of deviations. An eigenvalue close to one signals persistent distributional modes: mass may remain concentrated in some regions long after total assets appear stable.
A useful direct contraction criterion is the Dobrushin coefficient
For probability vectors , . If , the operator is a contraction on the simplex in total variation and has a unique fixed point. Many economically meaningful transitions have in one step because separate asset regions have disjoint supports. In that case a power can still be contractive, or alternative drift–minorization arguments may apply.
The convergence criterion yields an informative a posteriori error bound. Let be a normalized nonnegative numerical approximation with residual . If and the invariant distribution is , then
The proof subtracts , applies the triangle inequality, and rearranges. A tiny residual without a mixing bound may certify little about the distance to the true invariant law. Report both a stationarity residual and evidence about the rate of contraction or a validated spectral gap when feasible.
Perturbations of policies and transition probabilities matter as well. If a model changes the Markov kernel, the invariant distribution can move substantially when the original process mixes slowly. Sensitivity is amplified near recurrent-class separation. This provides a mathematical reason to run grid and policy perturbation checks rather than assuming smooth changes in displayed aggregates.
The practical implication is that 'the distribution converged' requires a declared metric, tolerance, initial conditions, and evidence of robust behavior. A plot of mean capital alone can conceal slowly moving wealth tails or changes in the mass of liquidity-constrained households.
Equilibrium Prices and Distributional Fixed Points
Consider a production economy with aggregate capital , labor , and production . A competitive factor-price mapping may be and , under the assumed technology and market structure. For a candidate aggregate capital stock, solve the household problem, construct the transition kernel, obtain a stationary measure, and compute household capital supply . An equilibrium satisfies the price equations and .
A numerical root can be organized around . A sign-changing bracket and continuity can support bisection; otherwise a safeguarded or multidimensional solver may be appropriate. Economic monotonicity should not be presumed from the direction of a few numerical iterations. Because the household saving decision, distribution, and price mapping may interact nonlinearly, uniqueness and even monotonicity of aggregate supply require model-specific arguments.
Nested iteration creates a hierarchy of tolerances. If the stationary distribution for each candidate price is computed imprecisely, the apparent market-clearing residual can reflect an inner-loop numerical error. A credible computation specifies tolerances for the Bellman or Euler step, distribution invariance, and the final excess-demand function, and checks whether the economic conclusion is stable when all tolerances are tightened.
The foundational problem appears in Huggett's risk-free asset market (1993) and in Aiyagari's capital accumulation model (1994), although their market-clearing arrangements and economic objects differ. A zero-net-supply bond economy clears assets at zero aggregate net holdings; an economy with productive capital equates household holdings to firms' capital demand. These models should not be conflated by applying the same terminal residual blindly.
An equilibrium distribution can remain complicated even when the aggregate equilibrium condition is scalar. The computational advantage of solving a low-dimensional price root follows from the economic price structure, while the distribution still requires high-dimensional propagation.
Recursive Equilibrium with Aggregate Risk
Aggregate uncertainty changes the state and the computational problem. Write for the exogenous aggregate state and for the current cross-section. Individual policies can depend on , and the transition law becomes a mapping , with timing adapted to the information available when decisions are made. Rational expectations require the forecast law used in household optimization to be consistent with the distribution path that those same policies generate.
The full measure is an infinite-dimensional state in a continuum model. A practical solution can replace it with statistics , such as total assets, while approximating the law of motion of those statistics. This is the computational setting explored in Krusell and Smith's aggregate-risk study (1998). Their reported high accuracy for aggregate dynamics in specific specifications is a substantive numerical finding, not a general proof that mean wealth always carries sufficient information.
Let denote selected moments and let an estimated forecast rule be . The algorithm iterates between optimal household policies conditional on , simulation or deterministic propagation of the cross-section, and reestimation or updating of . A successful fixed point has consistency between assumed and realized aggregate dynamics in the dimensions being approximated. It does not automatically establish accuracy for omitted moments, tails, constrained-household shares, or welfare.
The 2010 computational suite organized by den Haan and collaborators emphasizes numerical comparison precisely because nonlinearities, idiosyncratic states, and occasionally binding constraints complicate such models. Model-specific performance should be assessed across transition rules, aggregate shocks, and nonlinear outcomes.
The distinction between exact and approximate aggregation is important. Exact aggregation requires an invariant collection of state summaries under the relevant transition mapping. Approximate aggregation is a controlled statement about small errors for particular observables and domains. The methodological task is to establish which claim is justified for a given computation.
Computation of the Household Problem
The household policy is the primary input into distribution propagation. Errors in the policy can be especially consequential near the borrowing boundary, at nonconvex choice thresholds, and in states receiving a large share of stationary mass. A solver should therefore be judged on the accuracy of the economically relevant choice, not merely on the stability of a value-function array.
Value-function iteration applies the Bellman operator repeatedly on a grid. Its principal advantage is direct representation of the optimization problem, including inequality constraints and option comparisons. Its costs arise from optimization over next-period choices at many state points and possibly slow contraction when the discount factor is close to one. Policy-function iteration and Howard improvement can accelerate computation when the associated maximizations and policy evaluations are performed correctly. Interpolation should preserve feasible choices.
Euler-equation methods exploit first-order conditions for smooth concave problems. For example, with an asset policy indexed by end-of-period savings , define expected discounted marginal utility at next-period states, invert the current marginal utility, and recover current cash-on-hand required to support that saving. This is the central computational rearrangement in Carroll's endogenous gridpoints paper (2006). The current asset grid is then endogenous, so interpolation is needed to recover the policy at the chosen exogenous evaluation points.
The efficiency of this method is conditional on the optimization structure. A nonconcavity, discrete alternative, collateral constraint, or region of multiple candidate optima can require extensions or a separate global comparison. A grid-point formula that ignores the possibility of binding constraints does not solve the constrained Bellman problem. Numerical work should compare consumption and saving against budget identities, check the signs of Euler inequalities, and test envelopes near regime transitions.
Convergence of policy functions in an unweighted norm is not automatically convergence of aggregate observables if errors are concentrated in parts of the state space that receive disproportionately large or rapidly changing mass. Policy verification can therefore weight errors by the stationary measure while retaining separate worst-case checks on boundary regions. Such weighting is a diagnostic choice, not permission to ignore rare but economically consequential states.
Finally, a household solution conditional on a forecast law is provisional. In a general-equilibrium model the forecast law changes when aggregate prices or the distribution move. The outer equilibrium iteration must revisit the household problem until the policy and the endogenous aggregate environment are mutually consistent.
Distribution Propagation on Asset Grids
A discrete transport algorithm updates probability mass directly rather than simulating individual histories. Given a current joint probability array and an asset policy, it computes the destination asset interval for each origin state, assigns neighboring-grid weights, and multiplies by the earnings transition probabilities. All destination contributions are accumulated into the next distribution. Direct accumulation should avoid introducing negative weights through rounding, and row sums must be checked after any numerical modification.
For asset nodes and earnings states, a simple policy with adjacent-node interpolation induces at most $2N_z$ nonzero destinations per origin. A sparse representation can therefore reduce memory relative to storing a dense matrix. In many implementations the transition need never be explicitly assembled: an operator can apply contributions directly to the probability array. This is often sufficient for forward iteration and transition-path computations.
Order of operations matters. With current-policy timing, one first computes next assets from current and only then applies the Markov transition from current to future earnings. An alternative model in which choices follow observation of next earnings uses a different kernel. These alternatives may generate different cross-sectional laws even when their code uses similar arrays. A reproducible implementation states the convention and tests one-step transitions on a probability mass concentrated in a single origin state.
One-dimensional linear mass splitting preserves total assets chosen by the policy if the choice remains within the grid. However, two distributions having the same sum of asset holdings need not agree on wealth quantiles or constrained shares. Furthermore, retaining the exact mean of a mapped choice does not guarantee accurate prices when prices depend on other distributional aggregates.
Boundary diagnostics are indispensable. Report the probability mass at the first and last asset nodes, the largest desired next asset, the share of choices whose interpolation would exceed the grid, and how these quantities change as grid endpoints expand. An upper-end point with substantial mass may conceal truncation error in the invariant measure. Lower-end accumulation can be genuine economic borrowing-constraint behavior, but only a household-policy check can distinguish it from erroneous clipping.
The output of distribution propagation should include a mass-conservation check, a positivity check, and one-step consistency with the test-function identity. These checks are cheap relative to a full equilibrium solve and catch different classes of implementation failure.
Nonstochastic Simulation and Particle Methods
Two common representations of the cross-section are a deterministic probability histogram and a finite collection of simulated households. A histogram propagates all represented mass with the transition operator. A particle simulation evolves random individual states and constructs empirical distributions from their realizations. Both can approximate the same continuum economic object, but they have different sources of error and computational costs.
For an independent sample from a fixed distribution, estimates of a bounded observable ordinarily exhibit sampling error on an order of under standard variance assumptions. Dynamic economies with common shocks, correlated sampling, reweighting, resampling, or time aggregation require a more careful error analysis. Conditional independence under a common aggregate history is different from unconditional independence; a naive standard error that ignores common shocks can be misleading.
A deterministic histogram removes simulation noise from the propagation of a given discrete kernel, leaving grid and policy errors. It can be especially attractive when the objective is to compare subtly different price paths or calculate sequence-space derivatives. It also may be expensive in many dimensions because the joint grid grows multiplicatively. Particle schemes trade a large deterministic state array for sampling variation and potentially more flexible high-dimensional state representation.
Young's nonstochastic simulation algorithm (2010) adapts Krusell–Smith-style computation by propagating distributions without stochastic simulation of a finite household panel. The relevant distinction is computational: nonstochastic mass transport can isolate the approximation error of the transition operator from Monte Carlo variation in population histories.
Comparisons should hold fixed the economic model, policy accuracy, shock discretization, target quantities, and computational budget. A high correlation of aggregate capital paths may coexist with substantial differences in the tails or in shares at the borrowing boundary. Conversely, a small discrepancy in rarely visited extreme states may have limited implications for a narrowly defined aggregate objective but remain essential for welfare or distributional questions.
When agents carry many continuous characteristics, adaptive grids, sparse approximations, and particles can be combined. Such hybrids need explicit accounting of interpolation bias, sampling bias, and conservation properties. They should also specify reproducible random seeds for simulations while reporting how outcomes vary across seeds and population sizes.
Forecasting Laws and Approximate Aggregation
A full distribution is in principle an infinite-dimensional state. It may be possible to use finitely many summary statistics to forecast particular aggregates with small error. The key mathematical question is whether the map depends only on and the exogenous aggregate state. An exact closed law requires this dependence property throughout the relevant distribution domain, under the equilibrium policies being considered.
For a fixed transition kernel and moments of the form , exact linear closure holds if lies in the linear span of $1,\varphi_1,\ldots,\varphi_q$ for all included observables. This sufficient condition follows from measure–function duality. It is not necessary for exact closure on every restricted equilibrium manifold, because admissible distributions may satisfy additional relationships; nevertheless, it provides a direct diagnostic for a proposed global moment representation.
Approximate laws can be useful even when exact closure fails. Krusell and Smith (1998) find that the mean of the wealth distribution describes macroeconomic aggregates almost perfectly in their calibrated stochastic equilibrium; their published abstract also notes that their benchmark economy understates wealth dispersion and skewness relative to the empirical distribution. This pairing cautions against treating an accurate macro forecast as full distributional validation.
The coefficient of determination from an aggregate forecasting regression is not a sufficient accuracy criterion. Den Haan's aggregate-law accuracy study (2010) demonstrates that a very high can coexist with substantial errors in the variability implied by the estimated law. Forecast evaluation should inspect level errors, conditional errors, distributional statistics, long-horizon drift, and moments relevant for equilibrium prices.
A high-level moment forecast may also be fragile after a policy or parameter change. If the distribution shifts outside the region in which a forecast equation was estimated, the approximation error need not remain small. Accordingly, one should revalidate after changes in borrowing limits, income persistence, asset returns, or exposure to aggregate shocks.
Useful diagnostics include direct one-period prediction errors across a basis of initial distributions, simulation versus forecast comparisons under independently generated shock paths, and impulse-response agreement for both aggregate and distributional outcomes. Approximate aggregation is an empirical-numerical property of a specified model region; the operator makes its domain and relevant observables explicit.
Projection and Perturbation Techniques
Projection methods approximate unknown functions or distributions in a finite-dimensional basis and impose equations at collocation nodes or through weighted residual conditions. Perturbation methods approximate equilibrium responses locally around a reference solution. A heterogeneous-agent economy permits both strategies, but the placement of approximation is decisive: one can project individual policies, the cross-sectional distribution, aggregate forecast laws, or combinations of them.
Reiter's projection and perturbation approach (2009) combines a nonlinear solution for the stationary heterogeneous-agent economy with a local perturbation for aggregate fluctuations. This exploits the fact that a complex stationary distribution may be computed accurately before solving for local aggregate responses. The approach is especially informative for distinguishing the size of the steady-state problem from the dimension of the local dynamic response problem.
Suppose the distribution is represented by a vector in a finite approximation space and equilibrium equations are . At a regular steady state , a local linearization is
The Jacobian can be large but sparse or structured. A stationary or local response derived from this equation is justified only when the relevant derivative exists and the linearization adequately represents the range of aggregate disturbances under consideration.
Constraints produce potential nonsmoothness. An individual's policy can change formula at the borrowing boundary, and a distribution may carry positive point mass there. Differentiation of interpolated transition weights may create artifacts when desired assets cross grid nodes. Local methods should therefore test directional perturbations, asset-grid refinement, and numerical derivative steps around such transitions.
Projection also raises approximation questions distinct from stationarity. A low-dimensional basis for the distribution may preserve the first few moments while violating positivity or normalization. One can preserve these properties through suitable parameterizations or constrained optimization, but that changes the numerical problem and sometimes the approximation class.
The most useful comparison is not simply 'global' versus 'local.' It is the match between the desired economic object and the region of approximation: stationary equilibria, local impulse responses, nonlinear transition paths, wealth tails, and welfare functionals place different demands on the numerical representation.
Sequence-Space Equilibrium Computation
Sequence-space methods regard entire time paths of aggregate quantities as inputs and outputs. Around a stationary economy, the model supplies mappings between paths of prices, transfers, output, assets, and other aggregates. The derivatives of these mappings form Jacobians indexed by both the date of a perturbation and the date of an outcome. These temporal derivatives organize the dynamics of heterogeneous households without requiring a full infinite-dimensional aggregate-state policy function.
Auclert, Bardóczy, Rognlie, and Straub's sequence-space Jacobian method (2021) constructs fast derivatives of heterogeneous-agent blocks and composes them with general-equilibrium blocks to solve impulse responses and transitions. The method is especially valuable when many equilibrium calculations share the same stationary household environment and when a sequence of small shocks is the central object.
Consider a vector of aggregate price sequences and a vector of aggregate quantities. The household block defines , while firms and other market blocks impose . Linearizing at a steady path gives
The combined system separates household response computation from equilibrium inversion. Its dimensions scale with the chosen time horizon and number of aggregate sequences rather than directly with the number of households represented by the cross-section.
The method remains anchored in a stationary heterogeneous-agent solution. Errors in stationary policies, distribution transport, or the computed household Jacobian can propagate into dynamic responses. Jacobian step-size diagnostics and comparisons against independently solved nonlinear transitions therefore matter.
A linear impulse response is a local approximation. For large policy changes or severe constraints, nonlinear perfect-foresight transition methods are needed; the same sequence-space organization can be used in iterative nonlinear solution, but the linear Jacobian alone does not certify global validity.
Distributional observables can be incorporated as outputs of household blocks. For instance, the share of households at an asset boundary can have a path-dependent derivative even when aggregate assets change little. This reinforces the principle that the computational state may be high-dimensional while selected sequence-space objects are low-dimensional.
Continuous-Time Equations and Boundary Conditions
In continuous time, individual assets can evolve according to a controlled drift , and an idiosyncratic state can change according to a finite-state generator whose rows sum to zero. Let be the density of households in earnings state , away from any point masses. Its forward equation is
This is a Kolmogorov forward or transport equation. When asset diffusion is introduced, the appropriate second-order diffusion term must also be included. When the distribution has an atom at a borrowing boundary, the mass at that boundary needs an explicit balance equation or a discretization that correctly incorporates it. A density-only calculation may lose mass if it ignores an accumulating atom.
The corresponding stationary household optimization equation, in a simple discounted model with a utility flow and controlled asset drift, has the Hamilton–Jacobi–Bellman form
The stationary forward equation is obtained by setting . The two equations must be solved together with prices and market clearing, which produces the continuous-time counterpart of the household–distribution fixed point.
Achdou, Han, Lasry, Lions, and Moll's continuous-time distribution method (2022) develops this connection for incomplete-market macroeconomic models. Their formulation brings tools for Hamilton–Jacobi–Bellman equations, forward Kolmogorov equations, and numerical transport into direct contact with wealth distribution economics.
Mass conservation requires correct treatment of the asset boundaries and state switching: integration of the forward equation across assets must cancel internal fluxes, while each generator row sums to zero. A conservative finite-volume discretization directly represents flows between cells and can be preferable to a derivative approximation that creates or destroys mass.
Continuous time is not simply a smaller-step version of an arbitrarily specified discrete model. Model primitives, event timing, discounting, drift, and jump rates must be translated consistently. A correct comparison studies whether a sequence of discrete transition kernels converges to the intended generator and whether the associated stationary distributions and equilibrium observables converge under the chosen assumptions.
Transition Paths and Perfect-Foresight Dynamics
An equilibrium transition between stationary economies requires both backward-looking and forward-looking calculations. Given a candidate path of prices or aggregates, households solve lifetime optimization with the expected future path. Their time-dependent policies induce forward movement of the cross-sectional distribution from a specified initial measure. Aggregates computed from these forward distributions then determine whether the candidate price path clears markets at every date.
A generic algorithm starts with an initial stationary equilibrium and a terminal equilibrium or sufficiently long terminal horizon. It guesses a path , computes household decisions backward from appropriate terminal conditions, propagates forward, calculates aggregate supply and demand residuals at each date, and revises the candidate path. This is a nonlinear fixed-point problem in sequences.
The initial distribution is a condition on the economy, not a terminal choice. Replacing it with the stationary distribution of the destination economy assumes away the transition. Similarly, using terminal policies prematurely may distort the near-horizon response. A finite-horizon solution should be checked by extending the horizon and comparing early-date paths.
A large structural change may generate different movement across the wealth distribution even when the endpoints have similar mean capital. Transitional inequality, constrained shares, and consumption response profiles depend on the sequence of policies and distributions, not only on the two stationary equilibria. The computational state is consequently an entire path of probability measures.
The sequence-space framework of Auclert and coauthors (2021) is one way to organize these computations. Transition solutions also motivate the use of direct distribution propagation rather than noisy panel simulation when one wants to resolve small quantitative differences between candidate paths.
Convergence should be assessed on market-clearing residuals, household feasibility, mass conservation at each date, and stability under horizon extension. An apparently smooth price sequence can coexist with significant distributional error if the transport step is inaccurate or truncates rapidly changing tails. In production economies the terminal capital stock must also be reconciled with the implied terminal distribution.
Perfect foresight here refers to knowledge of the aggregate transition path conditional on the modeled event; households may continue to face idiosyncratic earnings risk. That distinction preserves the economic structure of incomplete markets throughout the transition.
Computational Error and Verification
A heterogeneous-agent numerical solution has several interacting error sources: approximation of the stochastic earnings process, asset-grid interpolation, individual policy solution, invariant-measure computation, market-clearing root, aggregate-state compression, time-path truncation, and, when relevant, simulation noise. Their effects on an aggregate observable may reinforce or offset one another. A small final market-clearing residual cannot by itself identify which component is accurate.
The first diagnostic is mechanical. For a finite row-stochastic transition matrix, verify that all entries are nonnegative within a documented floating-point tolerance, each row sums to one, the input distribution is normalized, and the output distribution remains normalized. Compare direct propagation with the adjoint expectation identity. This detects transposition mistakes, omitted shock transitions, and mass leakage.
The second diagnostic is economic. Verify the budget identity and constraints at every household grid point, compare interior Euler residuals where equality is valid, and compare inequality signs where a constraint binds. Santos's Euler-residual accuracy analysis (2000) explains the importance and limitations of using Euler-equation residuals to assess numerical solutions. Such residuals are informative but depend on model conditions; for constrained states the relevant complementarity conditions must be checked.
The third diagnostic is distributional. Report , tail mass, borrowing-boundary mass, mean assets, second moments where finite, and quantiles or concentration measures central to the research question. Iterate from distinct initial distributions. Compute left-eigenvector checks or solve the normalized linear system as an independent stationary calculation, where stable.
The fourth diagnostic concerns general equilibrium. Tighten the household, distribution, and price-loop tolerances; change grid density and endpoints; refine the earnings transition; perturb initial guesses; and verify that economic conclusions remain within a prespecified accuracy target. Price-root error and distribution error should be reported separately.
The fifth diagnostic concerns dynamics. Extend the time horizon; compare one-step predicted aggregates with direct transport; test the Jacobian using perturbations of different magnitudes; and compare linear responses with a nonlinear transition when the shock is large enough to make local approximation questionable.
Finally, a computational receipt must state what was actually executed. The presence of source code or a plausible reported tolerance is evidence of design, not proof of execution. The following synthetic experiment separates numerically computed quantities from theoretical claims and from empirical evidence.
A Reproducible Synthetic Six-State Economy
The experiment is deliberately synthetic. It defines a six-state Markov process rather than a calibrated household equilibrium. Assets take the values , and earnings status is . The ordering of states is . The earnings transition matrix, with rows representing current and columns future status, is
Conditional on current status , the illustrative asset-state transition is
and conditional on current status it is
Each is a stipulated stochastic asset-transition kernel. It could be interpreted as a stylized randomized grid policy, but no Bellman problem is claimed to generate it. Define . In the specified state order, this gives
Direct matrix calculation gives the invariant distribution, rounded to eight decimal places,
The earnings marginal is , or approximately . The asset marginal for is approximately . Mean assets are asset units. Treating zero, one, and two as an illustrative wealth scale, the population Gini coefficient calculated as is approximately .
All six rows sum to one, and the minimum entry is zero. Numerical eigendecomposition gives a unique unit eigenvalue and subdominant eigenvalue magnitudes approximately and , consistent with convergence for this finite example. The computed invariant vector satisfies before rounding to the displayed digits. The verification was performed numerically using a double-precision array calculation; it does not supply an economic equilibrium, a data estimate, or an independent proof of every possible implementation.
The example makes two methodological points visible. First, a full joint law is needed to track the coupling between asset and earnings states, even though the earnings marginal alone can be calculated from . Second, reporting total assets and the Gini statistic together provides information about two different aspects of the invariant measure. Neither statistic replaces the invariant vector when a subsequent policy depends on the detailed joint state.
Counterexamples and Diagnostic Experiments
Distributional computation benefits from counterexamples because they show which reported summaries cannot logically certify the underlying object. The simplest moment-closure counterexample uses three asset points and two probability measures and . Both have mean assets equal to one. Their second moments differ: and . If a hypothetical next-asset policy is , then next-period mean assets differ, $1$ versus $1/2$. A single current mean is therefore insufficient to forecast the next mean under this nonlinear policy. This is an algebraic construction; it makes no claim that the policy is optimal in a particular household model.
One can also construct a model where different distributions give the same future aggregate for a particular policy. If , the next mean is , and the mean closes exactly under a fixed-price deterministic asset transformation. The important variable is the structure of the policy and the set of economic observables, rather than the mere presence of heterogeneous agents.
A second counterexample separates stationarity from convergence. Under the two-state switching matrix with zero diagonal and unit off-diagonal, the invariant vector is unique but pointwise distributions cycle. A stationary-eigenvector routine can return the correct invariant vector while time iteration from a degenerate initial condition never converges. Periodicity is an independent diagnostic.
A third example concerns slow mixing. Suppose a two-state transition has a very small positive probability of switching states. The invariant law may be exactly balanced, but a distribution concentrated in one state can take many steps to approach balance. An early stopping rule based on a small one-step change can produce a misleading numerical conclusion. The residual-to-error bound from the ergodicity chapter makes the missing mixing information explicit.
A fourth example separates numerical balance from economics. A stochastic matrix can be carefully normalized, solved to machine precision, and tested on several grids while being constructed from an economically infeasible policy. Mechanical stationarity does not validate the household budget, borrowing limit, or equilibrium prices.
These examples together show why a credible certificate combines mathematically distinct checks: model primitives, household optimality, transition validity, invariant-measure reliability, clearing, and the particular distributional statistics relevant to the claim.
Wealth Inequality and Distributional Functionals
Inequality statistics are functionals of the distribution, so their numerical reliability depends on the representation of tails, atoms, and the relationship between asset and earnings states. In a nonnegative-wealth economy with finite positive mean , a discrete population Gini coefficient is
When negative net wealth is present, conventions for concentration measurement require additional care; the usual zero-to-one interpretation for nonnegative values does not carry over mechanically. The wealth definition—net worth, financial assets, liquid assets, or pension-inclusive resources—changes both the distribution and the meaning of the statistic.
A quantile requires enough resolution of the cumulative distribution near the desired cutoff. With an atom at the borrowing limit, linear interpolation of a cumulative distribution must account for the jump. A top-wealth share can be extremely sensitive to the upper grid endpoint even if mean assets change modestly. A tail refinement check should compare upper quantiles and top-share functionals in addition to total capital.
Consumption responses add another dimension. The cross-sectional distribution of marginal propensities to consume depends on both state shares and household policies. Two economies with similar wealth Gini coefficients may differ in liquid-asset concentration and earnings risk, leading to distinct aggregate responses. Kaplan, Moll, and Violante's monetary policy according to HANK (2018) demonstrates the importance of distributional household responses in a heterogeneous-agent general-equilibrium model. This substantive application motivates computational diagnostics without turning the present work into a separate monetary-transmission monograph.
McKay, Nakamura, and Steinsson's forward guidance analysis (2016) likewise illustrates the relevance of incomplete markets and household constraints for aggregate intertemporal responses. These studies establish model-specific mechanisms, not a general identity between any inequality statistic and aggregate transmission.
For welfare, compute a clearly defined ex ante or cross-sectional criterion, noting the measure over which utilities are aggregated. Average utility, consumption-equivalent variations, and social welfare weights involve different objects. If welfare depends on utility curvature and borrowing constraints, accurately preserving mean consumption may be insufficient. Welfare analysis should use household value functions and distribution weights consistent with the same equilibrium price path.
Distribution-dependent research therefore has two duties: measure the cross-section with a representation suited to the target statistic, and state which outcomes are identified by a model rather than directly measured in data.
Computational Complexity and Software Architecture
The central computational challenge is the product of individual state dimensions, grid resolution, price iterations, and time horizons. With independent continuous state dimensions and grid nodes per dimension, a full tensor grid grows as before multiplying by discrete earnings, employment, age, or aggregate state categories. The curse of dimensionality is a concrete memory and computation constraint, not a claim that every additional state is equally costly.
Sparse transition operators exploit the fact that interpolation and finite shocks often send each origin to relatively few destinations. Sparse matrix–vector products, operator application without matrix assembly, and iteration on distributions can make moderate-size problems tractable. The relevant cost is the number of nonzero origin–destination links, memory traffic, and the cost of evaluating policies. Dense linear algebra may be reasonable for small test models but a poor default for a highly refined joint state space.
A modular implementation separates five components: model primitives and discretization; household optimization; policy-to-transition construction; distribution propagation or invariant-law computation; and market-clearing or dynamic equilibrium solving. Each component receives typed arrays with documented axis order and units. A matrix transposition should be detectable by an isolated one-state propagation test.
Computational reproducibility includes software versions, tolerance choices, grid points, state order, interpolation convention, initialization, stopping conditions, and recorded numeric outputs. A deterministic experiment can be tested with exact expected values at small dimensions, while production-scale calculations can use regression tests on summary observables.
Den Haan's comparison of heterogeneous-agent algorithms (2010) supports method comparison within a common economic benchmark. The appropriate ranking depends on the economic model, numerical budget, and accuracy criterion. Fast computation of aggregate capital alone should not be presented as superior when the research target is detailed distribution dynamics.
A robust implementation additionally records the final source and evidence fingerprints. Content hashes establish file identity, and scientific QA establishes that the identified file satisfies defined research and computational tests. These are different kinds of assurance. A successful hash check cannot certify a mathematical theorem, and a correct theoretical argument cannot certify that an external publication package contains the intended bytes.
Identification, Empirical Interfaces, and Measurement
Distributional state models can be studied formally without empirical calibration, as in the synthetic experiment above. When they are calibrated or confronted with data, the mapping from observed units to model states becomes a new research object. Household surveys typically represent populations through weights, collection conventions, missing-value treatments, and varying definitions of assets and income. Administrative records have their own coverage and classification rules. The model's unit mass must be linked to an explicit target population.
A survey-weighted empirical distribution can be written as , where weights are nonnegative and sum to one. Comparisons to a theoretical distribution require the same units, reference period, asset concept, and treatment of household size. Converting household wealth to an individual-agent state without defining equivalence rules creates a mismatch.
Measurement error may affect the tails disproportionately. A small number of high-wealth observations can influence the modeled capital stock and top shares; survey nonresponse or top-coding can distort these quantities. For income processes, an estimated transition matrix should reflect the observation interval, the distinction between persistent and transitory components, and the consequences of discretization. Kopecky and Suen's persistent-process approximation study (2010) reinforces the need to check the approximation of stochastic persistence.
Identification is separate from numerical solution. A solver may compute a precise model equilibrium for parameters that observational data do not distinguish. A small distance between selected model moments and data moments establishes a fit for those chosen targets; it does not prove that the entire wealth–earnings distribution, transition mechanism, or structural parameters have been uniquely identified.
Empirical validation can compare weighted cross-sectional moments, joint asset–earnings patterns, conditional transition probabilities, life-cycle or cohort profiles, and responses to plausibly identified aggregate events. The validity of the empirical design must be assessed on its own terms. Synthetic examples should be clearly labelled, and measured observations should carry dataset edition, weights, units, reference period, and extraction provenance.
This monograph intentionally introduces no new empirical data series and makes no worldwide numerical inequality estimate. Its contribution is to specify the observable objects a future calibration or empirical exercise must align with the computational distribution state.
Comparative Methodological Assessment
The methods reviewed solve different representations of a related family of equilibrium problems. Stationary grid iteration directly represents a fixed-policy probability operator and can provide detailed invariant masses. Particle methods represent a cross-section by simulated agents and are flexible in higher-dimensional state spaces at the cost of sampling uncertainty. Krusell–Smith approximations focus on forecasts of a reduced set of aggregate moments. Projection and perturbation methods exploit a solved stationary heterogeneous-agent economy to characterize local aggregate fluctuations. Sequence-space methods assemble temporal equilibrium responses from household and aggregate blocks. Continuous-time methods use coupled Hamilton–Jacobi–Bellman and forward Kolmogorov equations.
These techniques cannot be ranked unconditionally. A computational study of stationary tail concentrations has different requirements from one estimating a short-horizon aggregate impulse response. A method preserving detailed mass near the borrowing boundary may offer greater value for distributional statistics, while a method exploiting Jacobian structure may dominate in repeated local equilibrium calculations. What constitutes an accurate result depends on the target functional and model environment.
The 2010 comparison study by den Haan and the companion computational benchmark clarify the need to hold the underlying economy fixed in method comparisons. Otherwise differences in policy solutions, income discretization, aggregate shocks, or calibration can be mistaken for properties of the numerical algorithms themselves.
Three methodological choices recur. The first is representation: full joint distribution, parameterized distribution, moments, simulated agents, or function coefficients. The second is the operator: direct Markov transport, Euler–Bellman policy iteration, forward differential equations, or time-path derivatives. The third is verification: mass and optimality residuals, invariant-law residuals and mixing, aggregate laws, grid convergence, or nonlinear transition accuracy.
A reproducible comparison reports all three choices. It also reports computation time, memory burden, and accuracy with respect to a common reference solution or transparent mathematical benchmark. A method that gives a highly stable aggregate answer but a noticeably different tail distribution must be evaluated in light of the particular question being asked.
In the present manuscript the synthetic six-state problem is a deliberately small benchmark: the full transition is explicitly known and can be independently solved. It is useful for verifying distributional algorithms and for teaching the distinction between economic mechanisms and operator mechanics; it is not a performance tournament for large-scale equilibrium solvers.
Original Analytical Synthesis
The research yields an integrated computational interpretation through three logically connected layers. At the individual layer, feasible policy functions describe economic choice. At the distributional layer, the policy-induced Markov operator transports the cross-section. At the equilibrium layer, prices and aggregate consistency feed the distribution back into choice. Each layer has its own equations and its own verification requirements.
First, the most informative description of a heterogeneous-agent equilibrium is the pair comprising a policy and an invariant distribution, together with the price map that makes them consistent. An invariant distribution without policy optimality is a Markov result. A policy without its induced distribution is a conditional household solution. A price root without tight inner tolerances can be a numerical artifact. This layered interpretation is a synthesis of established mathematical and economic reasoning, not a new named theory.
Second, the computational role of the distribution is determined by the observables one wishes to preserve. For aggregate capital, a suitable low-dimensional approximation may be sufficient. For a borrowing-boundary share, wealth tail, or nonlinear consumption response, the same approximation may be inadequate. The formal reason is the dual relationship between transition operators and test functions: the future of an observable depends on its image under the operator. This provides a disciplined way to ask whether particular moments are closed, nearly closed, or poorly approximated.
Third, two numerical claims should be disentangled: that an approximate distribution is nearly invariant under an approximate kernel, and that the approximate kernel represents the intended economic model. An exact invariant distribution of the wrong policy is still the wrong economic result. Quantitative stability requires assessing the transition kernel itself, the error in its invariant measure, and the sensitivity of target functionals.
Fourth, stationary and dynamic validation cannot be collapsed into one test. A stationary economy can have a well-computed invariant law while a finite aggregate-state forecast fails over a transition path. A local Jacobian can be accurate for small disturbances but miss a large nonlinear movement toward a borrowing constraint. The domain of a computational claim should therefore include the distribution region, shock size, time horizon, and functionals evaluated.
Fifth, numerical conservation laws offer powerful negative tests. If a stochastic transition creates negative probability mass or fails to conserve total mass, the computation is demonstrably invalid. If these tests pass, additional economic and accuracy checks remain necessary. This asymmetry explains the practical value of cheap structural diagnostics without exaggerating what they establish.
The synthetic economy makes the synthesis tangible. Its full matrix and stationary vector can be verified independently, and its mean assets and Gini statistic can be recalculated from the same vector. It also demonstrates the difference between solving an operator and solving an economy: no household optimality or market clearing was imposed on its stipulated transition kernels. The distinction is recorded as a substantive limitation of the example.
The resulting methodological standard is a claim-specific computational certificate: identify the economic equations; specify the numerical operator and approximations; verify conservation and feasibility; document residuals and convergence; and report accuracy for the actual economic observable under investigation. This is an analytical research conclusion derived from the reviewed literature and explicit mathematics.
Research Limitations and Open Problems
The first limitation is the scope of direct computation. The six-state example verifies the algebra and selected numerical properties of a deliberately chosen finite Markov process. It does not numerically solve a production economy, estimate a household income process, or compare sophisticated heterogeneous-agent solvers on a common large-scale benchmark. General claims about convergence rest on stated mathematical conditions, not an empirical performance exercise.
The second limitation is the scope of literature access. Journal landing pages, publisher abstracts, author-provided manuscripts, and institutional bibliographic records were used to verify titles, methods, and claims. Where full publisher text was unavailable, the manuscript confines attribution to the level supported by the accessible record. Detailed numerical claims from inaccessible tables are not reproduced. The verified literature is sufficient for the conceptual and formal scope of this work, while a future replication project would require additional model code and datasets.
The third limitation concerns general equilibrium uniqueness. Markov invariance under a fixed kernel is a different mathematical problem from price–policy–distribution consistency. Uniqueness of stationary measures or monotonicity of aggregate saving cannot be generalized to every economic environment. Similarly, a local derivative of an equilibrium mapping may not exist at a nonsmooth selection boundary.
The fourth limitation concerns distribution approximation. Finite grids introduce truncation and interpolation effects; continuous-time schemes can mishandle boundary atoms; simulated panels are noisy; and moment compression can omit distributional channels. Stronger mathematical approximation bounds for specific model classes require assumptions that can be checked or established in those classes.
The fifth limitation concerns data. A future empirical study should specify a country or population, survey or administrative dataset, wealth definition, sampling design, observation window, and identification method. Without those choices, worldwide empirical estimates would conflate incomparable statistical constructions. This manuscript deliberately stays within a formal and synthetic computational design.
Open methodological questions include designing conservative high-dimensional transport schemes, validating derivatives at constraint kinks, establishing sharp a posteriori distribution-error bounds in slowly mixing economies, and measuring how reduced-state forecast error propagates into welfare. These are research questions, not unverified claims of new discoveries.
Conclusion
Distributional state dynamics gives heterogeneous-agent economics a precise computational object: the evolution of a probability measure under individual policy choices and stochastic transitions. Its mathematical core is the Markov or transport operator, with an invariant law representing stationarity under fixed policies and a coupled equilibrium condition selecting prices and policies. The full recursion connects individual feasibility, cross-sectional movement, and aggregate market consistency.
The foundational incomplete-market models and subsequent computational studies establish a rich range of solution strategies. Finite-state transition matrices provide transparent conservation and invariant-measure checks; nonlinear household solvers generate the underlying policies; deterministic transport and particle methods represent the evolving cross-section; moment forecasting compresses aggregate states when justified; projection, perturbation, sequence-space, and continuous-time methods address particular equilibrium objects and time horizons.
The independently verified synthetic six-state calculation illustrates how a transition matrix, stationary measure, aggregate assets, and inequality statistic can be reported from one consistent probability law. The counterexamples show why neither moment equality, unique invariance, nor a high aggregate forecasting fit alone establishes complete distributional accuracy.
The central methodological conclusion is that accuracy must be certified at the level of the claimed economic object. Conservation, feasibility, stationarity, equilibrium clearing, and observable-specific convergence constitute distinct verification tasks. A scientifically defensible distributional computation records each task explicitly, preserving the distinction between a solved mathematical operator, a solved economic model, and a statistically identified account of observed economies.
Appendix A: Formal Identities and Proofs
Mass and positivity under a Markov kernel
For every current probability measure and Markov kernel , is nonnegative because for all measurable . Its total mass is . Thus a correctly implemented finite Markov transition conserves total probability up to floating-point error.
Duality of measure and function operators
For bounded measurable , . The equality is an application of Fubini's theorem or the defining property of a Markov integral for bounded functions.
Asset-grid first-moment preservation
For , choose and . Both weights are nonnegative and sum to one. Their weighted asset value is after cancellation. The proof applies to the mapped choice and says nothing about preservation of nonlinear moments.
A posteriori invariant-distribution bound
Let satisfy and let be another probability vector. Add and subtract to obtain . If contracts probability differences by , the last term is bounded by . Rearrangement yields the bound . The coefficient must be strictly below one; a stationarity residual alone gives no such guarantee.
Finite-moment closure criterion
Take moment test functions . If for each the transformed function equals pointwise, then for every admissible with the requisite integrability. This is a sufficient algebraic criterion for fixed-kernel linear moment closure, and does not imply closure after endogenous-price feedback unless the same structure extends to the equilibrium mapping.
Appendix B: Reproducible Pseudocode
Direct transport and stationary distribution
The following is language-neutral pseudocode. The transition matrix is indexed by current-state row and next-state column.
states = [(0,U),(0,E),(1,U),(1,E),(2,U),(2,E)]
for i = 0..5:
(a,z) = states[i]
for j = 0..5:
(a2,z2) = states[j]
T[i,j] = Q[z][a,a2] * Pi[z,z2]
assert every(T[i,j] >= 0)
assert max_i(abs(sum_j(T[i,j]) - 1)) < tolerance
mu = initial_probability_vector()
repeat:
next = mu * T
if norm1(next - mu) < tolerance: break
mu = next
assert abs(sum(mu) - 1) < tolerance
assert norm1(mu*T - mu) < stationary_tolerance
asset_marginal[a] = sum_z mu[(a,z)]
earnings_marginal[z] = sum_a mu[(a,z)]
mean_assets = sum_a a*asset_marginal[a]
gini = sum_a sum_b asset_marginal[a]*asset_marginal[b]*abs(a-b)/(2*mean_assets)
The stopping rule for iteration should be supplemented by a mixing or convergence diagnostic. In a general stationary equilibrium, the transition must come from a separately verified household policy and the price loop must satisfy market clearing.
Equilibrium solver outline
choose admissible candidate aggregate prices or capital
repeat:
solve household Bellman/Euler problem at candidate environment
verify budget feasibility, constraints, and policy residuals
build positive mass-conserving policy-induced transition
solve invariant distribution with independent residual check
evaluate aggregate supply and market-clearing residual
update candidate environment using a safeguarded root method
until all household, distribution, and equilibrium tolerances pass
refine asset/income grids and repeat
report sensitivity of target quantities to refinement
Appendix C: Numerical Outputs and QA Checklist
The following data are computed for the synthetic model in the main text, using ordinary double-precision matrix operations and an eigenvector of associated with eigenvalue one.
| Quantity | Recomputed value |
|---|---|
| Number of joint states | 6 |
| Minimum transition entry | 0 |
| Maximum row-sum error, exact decimal specification | 0 |
| Stationary distribution mass | 1.00000000 |
| Unemployed state probability | 0.71428571 |
| Employed state probability | 0.28571429 |
| Probability at asset 0 | 0.49400582 |
| Probability at asset 1 | 0.27976178 |
| Probability at asset 2 | 0.22623240 |
| Mean assets, asset units | 0.73222658 |
| Gini for the nonnegative illustrative asset scale | 0.58044242 |
| Largest subunit eigenvalue magnitude | 0.65000000 |
| Maximum pre-rounding stationary residual | about 1.11 × 10^-16 |
A reader recomputing from the displayed eight-decimal stationary vector will obtain a larger residual because of publication rounding. Use the full-precision eigenvector or direct matrix solve for the machine-precision result. All calculations in this appendix are synthetic, not calibrated observations.
Before claiming a computed equilibrium from any extended implementation, document the tested state order, source code and environment, asset and earnings grids, budget timing, policy optimality, stochastic kernel normalization, stationary residual, mixing assessment, market-clearing residual, invariant moment stability, endpoint mass, dynamic horizon, and sensitivity to numerical settings.
References
- Achdou, Yves, Jiequn Han, Jean-Michel Lasry, Pierre-Louis Lions, and Benjamin Moll. 2022. "Income and Wealth Distribution in Macroeconomics: A Continuous-Time Approach." Review of Economic Studies 89 (1): 45–86. DOI: 10.1093/restud/rdab002. Journal article.
- Aiyagari, S. Rao. 1994. "Uninsured Idiosyncratic Risk and Aggregate Saving." Quarterly Journal of Economics 109 (3): 659–684. DOI: 10.2307/2118417. Journal article.
- Auclert, Adrien, Bence Bardóczy, Matthew Rognlie, and Ludwig Straub. 2021. "Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models." Econometrica 89 (5): 2375–2408. DOI: 10.3982/ECTA17434. Journal article.
- Carroll, Christopher D. 2006. "The Method of Endogenous Gridpoints for Solving Dynamic Stochastic Optimization Problems." Economics Letters 91 (3): 312–320. DOI: 10.1016/j.econlet.2005.09.013. Journal article.
- den Haan, Wouter J. 2010a. "Assessing the Accuracy of the Aggregate Law of Motion in Models with Heterogeneous Agents." Journal of Economic Dynamics and Control 34 (1): 79–99. Journal article.
- den Haan, Wouter J. 2010b. "Comparison of Solutions to the Incomplete Markets Model with Aggregate Uncertainty." Journal of Economic Dynamics and Control 34 (1): 4–27. Journal article.
- den Haan, Wouter J., Kenneth L. Judd, and Michel Juillard. 2010. "Computational Suite of Models with Heterogeneous Agents: Incomplete Markets and Aggregate Uncertainty." Journal of Economic Dynamics and Control 34 (1): 1–3. Journal article.
- Huggett, Mark. 1993. "The Risk-Free Rate in Heterogeneous-Agent Incomplete-Insurance Economies." Journal of Economic Dynamics and Control 17 (5–6): 953–969. Journal article.
- Kaplan, Greg, Benjamin Moll, and Giovanni L. Violante. 2018. "Monetary Policy According to HANK." American Economic Review 108 (3): 697–743. DOI: 10.1257/aer.20160042. Journal article.
- Kopecky, Karen A., and Richard M. H. Suen. 2010. "Finite State Markov-Chain Approximations to Highly Persistent Processes." Review of Economic Dynamics 13 (3): 701–714. Journal article.
- Krusell, Per, and Anthony A. Smith Jr. 1998. "Income and Wealth Heterogeneity in the Macroeconomy." Journal of Political Economy 106 (5): 867–896. DOI: 10.1086/250034. Journal article.
- McKay, Alisdair, Emi Nakamura, and Jón Steinsson. 2016. "The Power of Forward Guidance Revisited." American Economic Review 106 (10): 3133–3158. DOI: 10.1257/aer.20150063. Journal article.
- Reiter, Michael. 2009. "Solving Heterogeneous-Agent Models by Projection and Perturbation." Journal of Economic Dynamics and Control 33 (3): 649–665. Journal article.
- Santos, Manuel S. 2000. "Accuracy of Numerical Solutions Using the Euler Equation Residuals." Econometrica 68 (6): 1377–1402. DOI: 10.1111/1468-0262.00165. Journal article.
- Stachurski, John. 2009. Economic Dynamics: Theory and Computation. Cambridge, MA: MIT Press. ISBN 9780262012775. Publisher book record.
- Young, Eric R. 2010. "Solving the Incomplete Markets Model with Aggregate Uncertainty Using the Krusell–Smith Algorithm and Non-Stochastic Simulations." Journal of Economic Dynamics and Control 34 (1): 36–41. Journal article.