Skip to article content

The Method of Moderation

Abstract

In a risky world, a pessimist assumes the worst; someone who ignores risk is an optimist. Both problems are easy, because pessimist and optimist alike behave as if the world were riskless. A realist, responding optimally to risk, spends between the two. We use that to change what is interpolated: not consumption, but the logit of a moderation ratio recording where between the two rules the realist lies. The result cannot escape the bounds the two rules form, is accurate on five gridpoints, and beyond the last of them is more than an order of magnitude more accurate than the endogenous gridpoints method. It carries over to value and to risky returns, and to the portfolio share with the logarithm in place of the logit.

Key Points

A realist’s consumption lies between a pessimist’s rule and an optimist’s

Interpolating the logit of where it lies keeps the approximation inside both bounds

Five gridpoints suffice, and beyond them the method is ten times as accurate as EGM

The bracket carries over to value, artificial constraints, risky returns, and assets

For the portfolio share the log of the moderation ratio replaces the logit

Keywords:Dynamic Stochastic OptimizationConsumption-Saving ModelsNumerical MethodsEndogenous Gridpoints MethodPrecautionary SavingBounded ApproximationExtrapolation

1Introduction

Solving a consumption, investment, portfolio choice, or similar intertemporal optimization problem using numerical methods generally requires the modeler to choose how to represent a policy or value function. In the stochastic case, where analytical solutions are generally not available, a common approach is to use low-order polynomial splines that exactly match the function (and maybe some derivatives) at a finite set of gridpoints, and then to assume that interpolated or extrapolated versions of that spline represent the function well at the continuous infinity of unmatched points. Outside the range of the gridpoints, however, this trust is often misplaced Ma & Toda, 2022White, 2015, and extending the grid does not restore it, because beyond whatever gridpoint is last a linearly extrapolated consumption rule eventually predicts negative precautionary saving, which theory rules out for any prudent consumer.

This paper argues that a better approach is to rely upon the fact that without uncertainty, the optimal consumption function has a simple analytical solution. The key insight is that, under standard assumptions, the consumer who faces an uninsurable labor income risk will consume less than a consumer with the same path for expected income but who does not perceive any uncertainty. The ‘realist’ consumer, who does perceive the risks, will engage in ‘precautionary saving’ Leland, 1968Sandmo, 1970Kimball, 1990, so the perfect foresight riskless solution provides an upper bound to the solution that will actually be optimal. A lower bound is provided by the behavior of a consumer who has the subjective belief that the future level of income will be the worst that it can possibly be. This consumer, too, behaves according to the convenient analytical perfect foresight solution, but their certainty is that of a pessimist perfectly confident in their pessimism. The realist’s consumption lies strictly between these two immoderate benchmarks. We use this fact to change the object being interpolated, so that rather than consumption itself we interpolate a moderation ratio that measures where the realist falls between the pessimist and the optimist. Because that ratio is bounded and smooth and its logit is asymptotically linear, the logit interpolates and extrapolates far more accurately than when the level of the consumption ratio is approximated, and by construction the result can never violate the bounds.

On a standard calibration the method is more accurate than the benchmark endogenous gridpoints method (EGM) in every interval between gridpoints, and by more than an order of magnitude in all but the first. Beyond the last gridpoint, where EGM’s default linear extrapolation fails outright, it is roughly forty-six times more accurate over the range we evaluate, and even when EGM is lent the same bounds to hold its extrapolation inside them, it remains less accurate there, by a factor of seventeen.

We build on bounds for the consumption function and limiting marginal propensities to consume established in buffer-stock theory Stachurski & Toda, 2019Ma et al., 2020Carroll, 2009Ma & Toda, 2021 for the standard buffer-stock problem Carroll, 1997. Using results from Carroll & Shanker (2026), we show how to use these upper and lower bounds to tightly constrain the shape and characteristics of the solution to the problem of the ‘realist.’ Imposition of these constraints can clarify and speed the solution of the realist’s problem.[1]

After showing how to use the method in the baseline case, we show how to refine it to encompass an even tighter theoretical bound, and how to extend it to solve a problem in which the consumer faces both labor income risk and rate-of-return risk. Section 2 states the realist’s problem and the patience conditions that guarantee a finite solution, and Section 3 sets out the endogenous gridpoints benchmark. Section 4 develops the method of moderation for the consumption function and, in Section 4.3, for the value function; Section 5 quantifies its accuracy against endogenous gridpoints; and Section 6 takes up four extensions: the tighter bound near the borrowing constraint (Section 6.1), Hermite interpolation that matches the Euler equation at each gridpoint (Section 6.2), an artificial borrowing constraint (Section 6.3), and a problem stated in assets rather than market resources (Section 6.4). Section 7 makes the return risky and then makes the risky share a choice, which is where the method first meets a bound that the solution actually reaches at a finite level of wealth instead of merely approaching.

2The Realist’s Problem

The truly optimal behavior in the problem facing the consumer who understands all their risks is captured by

max Et[n=0Ttβnu(ct+n)]\max~\Ex_{t}\left[\sum_{n=0}^{T-t}\DiscFac^{n} \uFunc(\cLvl_{t+n})\right]

where the utility function is CRRA with risk aversion parameter ρ>0\CRRA > 0:

u(c)={c1ρ1ρif ρ1logcif ρ=1.\uFunc(\cNrm) = \begin{cases} \frac{\cNrm^{1-\CRRA}}{1-\CRRA} & \text{if } \CRRA \neq 1 \\ \log \cNrm & \text{if } \CRRA = 1. \end{cases}

Maximization is subject to the budget constraints

at=mtctpt+1=ptGt+1yt+1=pt+1ξt+1mt+1=atRt+1+yt+1\begin{aligned} \aLvl_{t} &= \mLvl_{t}-\cLvl_{t} \\ \pLvl_{t+1} &= \pLvl_{t} \PermGroShk_{t+1} \\ \yLvl_{t+1} &= \pLvl_{t+1}\tranShk_{t+1} \\ \mLvl_{t+1} &= \aLvl_{t}\Rfree_{t+1} + \yLvl_{t+1} \end{aligned}

where the variables are defined as

β - pure time discount factorat - assets at the end of period tct - consumption in period tmt - ‘market resources’ available for consumptionpt+1 - ‘permanent labor income’ in period t+1Rt+1 - gross interest rate from period t to t+1yt+1 - noncapital income in period t+1.\begin{aligned} \DiscFac &\text{ - pure time discount factor} \\ \aLvl_{t} &\text{ - assets at the end of period } t \\ \cLvl_{t} &\text{ - consumption in period } t \\ \mLvl_{t} &\text{ - `market resources' available for consumption} \\ \pLvl_{t+1} &\text{ - `permanent labor income' in period } t+1 \\ \Rfree_{t+1} &\text{ - gross interest rate from period } t \text{ to } t+1 \\ \yLvl_{t+1} &\text{ - noncapital income in period } t+1. \end{aligned}

The exogenous variables evolve according to the Friedman-Muth Income Process[2]:

Gt+1=Gt+1ψt+1ξt+1={ξwith probability >0(1ξ1)θt+1with probability (1)\begin{aligned} \PermGroShk_{t+1} &= \PermGroFac_{t+1} \permShk_{t+1} \\ \tranShk_{t+1} &= \begin{cases} \tranShkMin & \text{with probability } \WorstProb > 0 \\ \left(\frac{1-\WorstProb\,\tranShkMin}{1-\WorstProb}\right)\tranShkEmp_{t+1} & \text{with probability } (1-\WorstProb) \end{cases} \end{aligned}

where Gt+1\PermGroFac_{t+1} is the deterministic permanent income growth factor, and the permanent shocks to income ψt+1\permShk_{t+1} are independently and identically distributed with mean E[ψt+1]=1\Ex[\permShk_{t+1}] = 1 and support [ψ,ψˉ][\permShkMin, \permShkMax] where 0<ψ1ψˉ<0 < \permShkMin \leq 1 \leq \permShkMax < \infty.[3] The worst transitory draw ξ0\tranShkMin \geq 0 arrives with probability \WorstProb. The Friedman-Muth unemployment case sets ξ=0\tranShkMin = 0; a positive ξ\tranShkMin is the same unemployment event paying a benefit, which leaves income at a positive floor rather than at zero. Everything below requires only that ξ\tranShkMin is indeed the worst draw, ξ(1ξ1)θ\tranShkMin \leq \left(\frac{1-\WorstProb\,\tranShkMin}{1-\WorstProb}\right)\tranShkEmpMin, which holds automatically when ξ=0\tranShkMin = 0. Transitory shocks other than the worst draw, θt+1\tranShkEmp_{t+1}, are independently distributed with mean E[θt+1]=1\Ex[\tranShkEmp_{t+1}] = 1 and bounded support θθt+1θˉ\tranShkEmpMin \leq \tranShkEmp_{t+1} \leq \tranShkEmpMax where 0θ1θˉ<0 \leq \tranShkEmpMin \leq 1 \leq \tranShkEmpMax < \infty; the scaling factor in (5) keeps E[ξt+1]=1\Ex[\tranShk_{t+1}] = 1.

It turns out (see Carroll (2020) for a proof) that this problem can be rewritten in a more convenient form in which choice and state variables are normalized by the level of permanent income, e.g., using nonbold font for normalized variables, mt=mt/pt\mNrm_{t}=\mLvl_{t}/\pLvl_{t}. When that is done, the Bellman equation for the transformed version of the consumer’s problem is

vt(mt)=maxct  u(ct)+βEt[Gt+11ρvt+1(mt+1)]s.t.at=mtctmt+1=(R/Gt+1)at+ξt+1,\begin{aligned} \vFunc_{t}(\mNrm_{t}) &= \max_{\cNrm_{t}} ~~ \uFunc(\cNrm_{t})+\DiscFac \Ex_{t}[ \PermGroShk_{t+1}^{1-\CRRA}\vFunc_{t+1}(\mNrm_{t+1})] \\ &\text{s.t.} \\ \aNrm_{t} &= \mNrm_{t}-\cNrm_{t} \\ \mNrm_{t+1} &= \left(\Rfree/\PermGroShk_{t+1}\right)\aNrm_{t}+\tranShk_{t+1}, \end{aligned}

and because we have not imposed a liquidity constraint, the solution satisfies the Euler equation

u(ct)=βREt[Gt+1ρu(ct+1)].\uPrime(\cNrm_{t}) = \DiscFac \Rfree \Ex_{t}[ \PermGroShk_{t+1}^{-\CRRA} \uPrime(\cNrm_{t+1})].

We define the absolute patience factor Þ(βR)1/ρ\AbsPatFac\equiv(\DiscFac\Rfree)^{1/\CRRA}, the factor by which a perfect foresight consumer’s consumption grows from one period to the next. Whether the problem has a well-behaved solution depends on a set of conditions established and named in Carroll & Shanker (2026), whose names we adopt and whose content we state here, because we appeal to them repeatedly below.

Three conditions govern the solution. The finite value of autarky condition (FVAC), 0<βG1ρE[ψ1ρ]<10<\DiscFac\PermGroFac^{1-\CRRA}\Ex[\permShk^{1-\CRRA}]<1, says that a consumer who simply consumed their income in every period (‘autarky’) would obtain finite lifetime value, so that the objective being maximized is finite to begin with. The absolute impatience condition (AIC), Þ<1\AbsPatFac<1, says that the perfect foresight consumer plans a falling rather than a rising consumption path; it is what makes the consumer want to run a buffer stock down rather than accumulate without limit. The return impatience condition (RIC), Þ/R<1\AbsPatFac/\Rfree<1, says that planned consumption growth falls short of the rate at which resources accumulate, so the perfect foresight consumer spends a strictly positive fraction of their resources (κ=1Þ/R>0\MPCmin = 1-\AbsPatFac/\Rfree>0 in (9) below) instead of deferring spending indefinitely.

Two further conditions relate spending to the growth of income. The growth impatience condition (GIC), Þ/G<1\AbsPatFac/\PermGroFac<1, says that consumption grows more slowly than permanent income, which is what makes the ratio of wealth to permanent income revert to a target instead of drifting away. The finite human wealth condition (FHWC), G/R<1\PermGroFac/\Rfree<1, says that the present discounted value of future labor income is finite, so that the ‘optimist’ rule we construct below exists at all.

Together these conditions ensure existence of the upper and lower bounds on consumption that the method of moderation is built from Carroll, 2009Stachurski & Toda, 2019 and pin down the limiting MPCs Ma & Toda, 2021.

We simplify the exposition by setting G=1\PermGroFac=1 and assuming ψt+n=1\permShk_{t+n}=1 with probability 1 for all n>0n>0 (no permanent income growth or shocks), and drop time subscripts except where context requires, working with the infinite-horizon formulation.[4] Under these simplifications, FVAC becomes 0<β<10<\DiscFac<1, the GIC coincides with the AIC, and the FHWC reduces to R>1\Rfree>1. All results apply equally to finite-horizon models via backward recursion from terminal period TT, and to models with permanent income growth by appropriately adjusting the patience conditions above. The generalization to the case with permanent shocks is straightforward.[5]

3Benchmark: The Method of Endogenous Gridpoints

For comparison to our new solution method, we use the endogenous gridpoints solution to the microeconomic problem presented in Carroll (2006). That method computes the level of consumption at a set of gridpoints for market resources m\mNrm that are determined endogenously using the Euler equation. The consumption function is then constructed by linear interpolation among the gridpoints thus found. Extensions of this method handle multi-dimensional problems Barillas & Fernández-Villaverde, 2007, occasionally binding constraints Hintermaier & Koeniger, 2010, non-smooth and non-concave problems Fella, 2014, and discrete-continuous choice models Iskhakov et al., 2017, while White (2015) treats the method’s theory and practice. None of them repairs behavior outside the solved grid, which is the problem we take up here. The closest work on that problem takes a different route, since Ma & Toda (2022) justify linearly extrapolating consumption itself at its asymptotic MPC, and Gouin-Bonenfant & Toda (2023) build wealth-tail analysis on the same asymptotics. Extrapolating the level enforces the correct slope only in the limit, whereas the method below extrapolates a bounded transform, which keeps the approximation between both theoretical bounds at every finite wealth level whatever slope the boundary supplies.

Carroll (2020) describes a specific calibration of the model and constructs a solution using five gridpoints chosen to capture the structure of the consumption function reasonably well at values of m\mNrm near the infinite-horizon target value (See those notes for details). The five gridpoints are for illustration (applied work typically uses 30-80 gridpoints for accurate solutions), and the comparisons below show what happens to each method when the grid is this sparse.

Throughout the numerical illustrations we adopt this calibration: relative risk aversion ρ=2\CRRA=2, discount factor β=0.96\DiscFac=0.96, and gross risk-free return R=1.02\Rfree=1.02, with no permanent income growth or shocks (G=1\PermGroFac=1, ψ1\permShk\equiv1) and mean-one transitory shocks of log standard deviation 1 discretized on a seven-point equiprobable grid (the quadrature schemes of Tauchen (1986) and Tauchen & Hussey (1991) are the standard alternatives). The calibration has no zero-income atom, since the worst draw ξ\tranShkMin is the smallest point of the (strictly positive) discretized grid, so the general worst-shock case of (5) applies with \WorstProb equal to that point’s probability, and the natural borrowing constraint is negative. Unless otherwise noted, the figures and the accuracy comparison below display the next-to-last period T1T-1 of the finite-horizon problem, for which the analytical last-period rule furnishes exact boundary conditions (human wealth one period before the end is hˉT1=1/R0.98\hNrmOpt_{T-1} = 1/\Rfree \approx 0.98, in contrast to the infinite-horizon value of 50), and both methods use linear interpolation, of consumption for endogenous gridpoints and of the logit for moderation. The Hermite refinement is treated separately in Section 6.2.

The endogenous gridpoints solution method says nothing about how the policy function should be extrapolated beyond the grid at which the problem has been solved, and that silence allows many interpretations. Here we assume the natural choice of linear extension, which leads to badly wrong outcomes. (Other common solution methods are no better outside their own predefined ranges.) Figure 1 demonstrates the point by plotting the amount of precautionary saving implied by a linear extrapolation of our approximated consumption rule (the consumption of the perfect foresight consumer cˉT1\cFuncOpt_{T-1} minus our approximation to optimal consumption under uncertainty, cˋT1\cFuncApprox_{T-1}). Although theory proves that precautionary saving is always positive, the linearly extrapolated numerical approximation eventually predicts negative precautionary saving (at the point in the figure where the extrapolated locus crosses the horizontal axis).

Graph showing that precautionary saving, approximated with linear extrapolation, incorrectly becomes negative for large market resources.

Figure 1:For Large Enough mT1\mNrm_{T-1}, Predicted Precautionary Saving is Negative (Oops!)

This error cannot be fixed by extending the upper gridpoint; in the presence of serious uncertainty, the consumption rule will need to be evaluated outside of any prespecified grid (because starting from the top gridpoint, a large enough realization of the uncertain variable will push next period’s realization of assets above that top; a similar argument applies below the bottom gridpoint). While a judicious extrapolation technique can prevent this problem from being fatal (for example by carefully excluding negative precautionary saving), the problem is often dealt with using inelegant methods whose implications for the accuracy of the solution are difficult to gauge. A fix chosen because it is convenient can restore the sign of precautionary saving while leaving its magnitude ungrounded in the theory, which matters because the convenient fixes are the ones a modeler tries first.[6]

4The Method of Moderation

4.1The Optimist, the Pessimist, and the Realist

As a preliminary to our solution, define hˉ\hNrmOpt as end-of-period human wealth (the present discounted value of future labor income) for a perfect foresight version of the problem of a ‘risk optimist:’ a consumer who believes with perfect confidence that the shocks will always take their expected value of 1, ξt+n=E[ξ]=1\tranShk_{t+n} = \Ex[\tranShk]=1 for all n>0n>0. Under the FHWC this present value converges to hˉ=G/(RG)\hNrmOpt = \PermGroFac/(\Rfree-\PermGroFac), which is 1/(R1)1/(\Rfree-1) in our calibration with G=1\PermGroFac=1. The solution to a perfect foresight problem of this kind takes the form[7]

cˉ(m)=(m+hˉ)κ\cFuncOpt(\mNrm) = (\mNrm + \hNrmOpt)\MPCmin

for a constant minimal marginal propensity to consume, which in the infinite-horizon case is

κ=1Þ/R,\MPCmin = 1 - \AbsPatFac/\Rfree,

strictly positive under the RIC.[8] We similarly define h\hNrmPes as ‘minimal human wealth,’ the present discounted value of labor income if the shocks were to take on their worst value ξ0\tranShkMin \geq 0 (zero for uninsured unemployment, positive when unemployment pays a benefit) in every future period, ξt+n=ξ\tranShk_{t+n} = \tranShkMin for all n>0n>0 (which we define as corresponding to the beliefs of a ‘pessimist’). The same limit gives h=ξG/(RG)\hNrmPes=\tranShkMin\PermGroFac/(\Rfree-\PermGroFac), which is zero when the worst shock is unemployment.

We will call a ‘realist’ the consumer who correctly perceives the true probabilities of the future risks and optimizes accordingly.

For the realist, a lower bound for the level of market resources is m=h\mNrmMin = -\hNrmPes, because if m\mNrm equalled this value then there would be a positive finite chance (however small) of receiving ξt+n=ξ\tranShk_{t+n} = \tranShkMin in every future period, which would require the consumer to set c\cNrm to zero to guarantee that the intertemporal budget constraint holds. Since consumption of zero yields infinite marginal utility, the solution to the realist consumer’s problem is not well defined for values of mm\mNrm \leq \mNrmMin Zeldes, 1989Deaton, 1991, and the limiting value of the realist’s c\cNrm is zero as mm\mNrm \downarrow \mNrmMin.

Given this result, it will be convenient to define ‘excess’ market resources as the amount by which actual resources exceed the lower bound, and ‘excess’ human wealth as the amount by which mean expected human wealth exceeds guaranteed minimum human wealth:[9]

Δm=m+h=mΔh=hˉh.\begin{aligned} \mNrmEx &= \mNrm+\overbrace{\hNrmPes}^{=-\mNrmMin} \\ \hNrmEx &= \hNrmOpt-\hNrmPes. \end{aligned}

We can now transparently define the optimal consumption rules for the two perfect foresight problems, those of the ‘optimist’ and the ‘pessimist.’ The ‘pessimist’ perceives human wealth to be equal to its minimum feasible value h\hNrmPes with certainty, so consumption is given by the perfect foresight solution

c(m)=(m+h)κ=Δmκ.\begin{aligned} \cFuncPes(\mNrm) &= (\mNrm+\hNrmPes)\MPCmin \\ &= \mNrmEx\MPCmin . \end{aligned}

The ‘optimist,’ on the other hand, pretends that there is no uncertainty about future income, and therefore consumes

cˉ(m)=(m+hh+hˉ)κ=(Δm+Δh)κ=c(m)+Δhκ.\begin{aligned} \cFuncOpt(\mNrm) &= (\mNrm +\hNrmPes - \hNrmPes + \hNrmOpt )\MPCmin \\ &= (\mNrmEx + \hNrmEx)\MPCmin \\ &= \cFuncPes(\mNrm)+\hNrmEx \MPCmin . \end{aligned}

4.2The Consumption Function

It seems obvious that the spending of the realist will be strictly greater than that of the pessimist and strictly less than that of the optimist. The realist reoptimizes as uncertainty resolves, while the pessimist must finance every future period out of saving, and because the adverse outcome remains possible, even a wealthy realist is never completely self-insured. Figure 2 illustrates the proposition for the consumption rule in period T1T-1.

Graph showing the realist's consumption function is bounded by the pessimist's (lower) and optimist's (upper) consumption functions.

Figure 2:Moderation Illustrated: c<c^<cˉ\cFuncPes < \cFuncReal < \cFuncOpt

The proof is more difficult than might be imagined, but the necessary work is done in Carroll & Shanker (2026): under shocks with nondegenerate bounded support (whose worst realization ξ\tranShkMin may be zero), the consumption function is strictly increasing and concave Carroll & Kimball, 1996 and lies strictly between the two perfect foresight rules. We therefore take the proposition as a fact and proceed by manipulating the inequality:

c(m+Δm)<c^(m+Δm)<cˉ(m+Δm).\cFuncPes(\mNrmMin+\mNrmEx) < \cFuncReal(\mNrmMin+\mNrmEx) < \cFuncOpt(\mNrmMin+\mNrmEx).

Subtracting c(m+Δm)\cFuncPes(\mNrmMin+\mNrmEx) in each of these inequalities and using Equations (11) and (12) gives

0<c^(m+Δm)c(m+Δm)<Δhκ0<(c^(m+Δm)c(m+Δm)Δhκ)ω<1,\begin{array}{rcl} 0 < & \cFuncReal(\mNrmMin+\mNrmEx)-\cFuncPes(\mNrmMin+\mNrmEx) & < \hNrmEx \MPCmin \\ 0 < & \underbrace{\left(\frac{\cFuncReal(\mNrmMin+\mNrmEx)-\cFuncPes(\mNrmMin+\mNrmEx)}{\hNrmEx \MPCmin}\right)}_{\equiv \modRte} & < 1, \end{array}

where the fraction in the middle of the last inequality is the moderation ratio measuring how close the realist’s consumption is to the optimist’s behavior (the numerator is the gap between the realist and pessimist) relative to the maximum possible gap between optimist and pessimist. When ω=0\modRte=0, the realist behaves like the pessimist (maximum precautionary saving); when ω=1\modRte=1, the realist behaves like the optimist (no precautionary saving). Under bounded shocks neither endpoint is attained, so ω\modRte lies strictly inside (0,1)(0,1) for all m>m\mNrm > \mNrmMin, and the equivalent form c^=c+ωΔhκ\cFuncReal = \cFuncPes + \modRte\hNrmEx \MPCmin places the realist strictly between the pessimist and the optimist.

Figure 3 shows why we work in this quantity rather than in consumption itself. The bracket has a constant width of κΔh\MPCmin\hNrmEx, so in levels it shrinks against the rule it brackets, from more than half of the optimist’s consumption near the constraint to under a tenth by m=10\mNrm=10, which is why the three agents of Figure 2 crowd onto one line. The same information rescaled by that width fills its range, as ω\modRte climbs from zero at the constraint through 0.5 near m=2.3\mNrm = 2.3 and past 0.8 by m=15\mNrm=15, with the five gridpoints spread across the climb rather than bunched.

The moderation ratio plotted against market resources, rising from zero at the borrowing constraint toward one as wealth grows, with the five solution gridpoints marked along it and horizontal lines at zero and one.

Figure 3:Rescaling by the Bracket Width Turns a Vanishing Gap Into a Full-Range Object

Defining μ=logΔm\logmNrmEx = \log \mNrmEx (which can range from -\infty to \infty), the object in the middle of the last inequality is

ω(μ)(c^(m+eμ)c(m+eμ)Δhκ),\modRte(\logmNrmEx) \equiv \left(\frac{\cFuncReal(\mNrmMin+e^{\logmNrmEx})-\cFuncPes(\mNrmMin+e^{\logmNrmEx})}{\hNrmEx \MPCmin}\right),

and we now define

χ(μ)=log(ω(μ)1ω(μ))=log(ω(μ))log(1ω(μ))\begin{aligned} \logitModRte(\logmNrmEx) &= \log \left(\frac{\modRte(\logmNrmEx)}{1-\modRte(\logmNrmEx)}\right) \\ &= \log(\modRte(\logmNrmEx)) - \log(1-\modRte(\logmNrmEx)) \end{aligned}

which carries the bounded moderation ratio to the whole real line, just as the log carried Δm(0,)\mNrmEx \in (0, \infty) to μ(,)\logmNrmEx \in (-\infty, \infty). The inverse is the sigmoid ω=1/(1+exp(χ))\modRte = 1/(1+\exp(-\logitModRte)), with χ+\logitModRte \to +\infty as the realist approaches the optimist and χ\logitModRte \to -\infty as the realist approaches the pessimist.

The transformed function suits linear interpolation because it straightens at both ends of its domain. As μ\logmNrmEx \to -\infty the realist’s MPC approaches a finite limit above κ\MPCmin (the bound κˉ\MPCmax of Section 6.1), hence ω\modRte vanishes in proportion to Δm\mNrmEx and χ(μ)\logitModRte(\logmNrmEx) approaches a line with slope one. As μ+\logmNrmEx \to +\infty, χ\logitModRte is asymptotically linear,[10] so we extrapolate it linearly using the slope at the upper boundary gridpoint. Because any linear extrapolation of the logit maps back through the sigmoid into ω(0,1)\modRte\in(0,1), the approximation satisfies c<cˋ<cˉ\cFuncPes < \cFuncApprox < \cFuncOpt throughout the extrapolation domain. Equation (16) splits the logit into two pieces, logω\log\modRte and log(1ω)-\log(1-\modRte), and either piece alone would enforce only one of the two bounds.

Each piece straightens the tail at which its own bound is approached, log(1ω)-\log(1-\modRte) where ω1\modRte \to 1 and logω\log\modRte where ω0\modRte \to 0. Here both bounds are approached only asymptotically, the pessimist’s as μ\logmNrmEx \to -\infty and the optimist’s as μ+\logmNrmEx \to +\infty, so both singularities of the logit lie at the ends of the domain. The logit needs bounds that are approached and never reached, though it does not care from which side, since reorienting the ratio only changes the sign of the transform, logit(1ω)=logit(ω)\operatorname{logit}(1-\modRte) = -\operatorname{logit}(\modRte). Where a bound is actually reached at some finite level of wealth, the piece belonging to it diverges at the edge of the working range, and instead of straightening the approach it bends it, so the right transform there is the one-sided piece for the bound that is only approached. The portfolio share below presents exactly that case.

Figure 4 plots the object the method actually interpolates: χ(μ)\logitModRte(\logmNrmEx) for the five-gridpoint solution of the calibration above. The function is smooth, gently curved in the middle of the grid, and close to linear at both ends.

The logit of the moderation ratio plotted against log excess market resources, showing a smooth function that is close to linear at both ends of the grid.

Figure 4:The Interpolated Object χ(μ)\logitModRte(\logmNrmEx) Is Smooth and Close to Linear at Both Ends

Given χ\logitModRte, the consumption function can be recovered from

c^=c+11+exp(χ)=ωΔhκ.\cFuncReal = \cFuncPes+\overbrace{\frac{1}{1+\exp(-\logitModRte)}}^{=\modRte} \hNrmEx \MPCmin.

Thus, the procedure is to calculate χ\logitModRte at the points μ\logmNrmEx corresponding to the log of the Δm\mNrmEx points defined above, and then using these to construct an interpolating approximation χˋ\logitModRteApprox from which we indirectly obtain our approximated consumption rule cˋ\cFuncApprox (an approximation to the true c^\cFuncReal) by substituting χˋ\logitModRteApprox for χ\logitModRte in Equation (17).

Because this method relies upon the fact that the problem is easy to solve if the decision maker has unreasonable views (either in the optimistic or the pessimistic direction), and because the correct solution is always between these immoderate extremes, we call our solution procedure the ‘method of moderation.’

Figure 5 is visually indistinguishable from the true rule; a reader with very good eyesight might detect the barest hint of a discrepancy between the Truth and the Approximation at the far right-hand edge of the figure, a stark contrast with the calamitous divergence evident in Figure 1.

Graph showing that the Method of Moderation produces an accurate extrapolated consumption function that does not predict negative precautionary saving.

Figure 5:Extrapolated cˋT1\cFuncApprox_{T-1} Stays on the True Rule Where Linear EGM Extrapolation Diverged

4.3The Value Function

Often it is useful to know the value function as well as the consumption rule. Fortunately, many of the tricks used when solving for the consumption rule have a direct analogue in approximation of the value function.

Consider the perfect foresight (or “optimist’s”) problem in period T1T-1. Using the fact that in a perfect foresight model the growth factor for consumption is constant, we can use ct=Þct1\cNrm_{t} = \AbsPatFac \cdot \cNrm_{t-1} to calculate the value function in period T1T-1:

vˉT1(mT1)u(cT1)+βu(cT)=u(cT1)(1+βÞ1ρ)=u(cT1)(1+Þ/R)=u(cT1)PDVT1T(c)/cT1CT1T\begin{aligned} \vFuncOpt_{T-1}(\mNrm_{T-1}) &\equiv \uFunc(\cNrm_{T-1})+\DiscFac \uFunc(\cNrm_{T}) \\ &= \uFunc(\cNrm_{T-1})\left(1+\DiscFac \AbsPatFac^{1-\CRRA}\right) \\ &= \uFunc(\cNrm_{T-1})\left(1+\AbsPatFac/\Rfree\right) \\ &= \uFunc(\cNrm_{T-1})\underbrace{\PDV_{T-1}^{T}(\cNrm)/\cNrm_{T-1}}_{\equiv \PDVCoverc_{T-1}^{T}} \end{aligned}

where CtT=PDVtT(c)/ct\PDVCoverc_{t}^{T}=\PDV_{t}^{T}(\cNrm)/\cNrm_{t} is the present discounted value of consumption, normalized by current consumption. Using the fact demonstrated in Carroll & Shanker (2026) that CtT=κt1\PDVCoverc_{t}^{T}=\MPCmin_{t}^{-1}[11], a similar function can be constructed recursively for earlier periods, yielding the general expression

vˉ(m)=u(cˉ(m))C=u(cˉ(m))κ1=u((Δm+Δh)κ)κ1=[(Δm+Δh)1ρ/(1ρ)][κ1ρκ1]=u(Δm+Δh)κρ.\begin{aligned} \vFuncOpt(\mNrm) &= \uFunc(\cFuncOpt(\mNrm))\PDVCoverc \\ &= \uFunc(\cFuncOpt(\mNrm))\MPCmin^{-1} \\ &= \uFunc((\mNrmEx+\hNrmEx)\MPCmin) \MPCmin^{-1} \\ &= \left[(\mNrmEx+\hNrmEx)^{1-\CRRA}/(1-\CRRA)\right] \cdot \left[\MPCmin^{1-\CRRA} \cdot \MPCmin^{-1}\right] \\ &= \uFunc(\mNrmEx+\hNrmEx)\MPCmin^{-\CRRA}. \end{aligned}

This can be transformed as

Λˉ((1ρ)vˉ)1/(1ρ)=cC1/(1ρ)=(Δm+Δh)κρ/(1ρ).\begin{aligned} \vInvOpt &\equiv \left((1-\CRRA)\vFuncOpt\right)^{1/(1-\CRRA)} \\ &= \cNrm\,\PDVCoverc^{1/(1-\CRRA)} \\ &= (\mNrmEx+\hNrmEx)\MPCmin^{-\CRRA/(1-\CRRA)}. \end{aligned}

The transformation Λ((1ρ)v)1/(1ρ)\vInv \equiv \left((1-\CRRA)\vFunc\right)^{1/(1-\CRRA)} applies the inverse utility function to value, Λ=u1(v)\vInv = \uFunc^{-1}(\vFunc), expressing value in consumption units. Despite the customary name ‘inverse value function,’ it is this composition, not the functional inverse of v\vFunc itself. The pessimist’s inverse value follows by the same steps, with c=Δmκ\cFuncPes = \mNrmEx\MPCmin:

Λ=cC1/(1ρ)=Δmκρ/(1ρ),\vInvPes = \cFuncPes\,\PDVCoverc^{1/(1-\CRRA)} = \mNrmEx\,\MPCmin^{-\CRRA/(1-\CRRA)},

hence ΛˉΛ=ΔhκC1/(1ρ)\vInvOpt - \vInvPes = \hNrmEx\,\MPCmin\,\PDVCoverc^{1/(1-\CRRA)}, the denominator that normalizes the value moderation ratio in (23) below.

We apply the same transformation to the value function for the problem with uncertainty (the “realist’s” problem):

Λ^=((1ρ)v^(m))1/(1ρ)\vInvReal = \left((1-\CRRA)\vFuncReal(\mNrm)\right)^{1/(1-\CRRA)}

and the value function can be approximated by calculating the values of Λ^\vInvReal at the same gridpoints used by the consumption function approximation, and interpolating among those points.

However, as with the consumption approximation, we can do even better if we realize that the Λˉ\vInvOpt function for the optimist’s problem is an upper bound for the Λ\vInv function in the presence of uncertainty, and the value function for the pessimist is a lower bound. The ordering v<v^<vˉ\vFuncPes < \vFuncReal < \vFuncOpt holds because the realist’s true income process stochastically dominates the pessimist’s worst-case income and is dominated, for a risk-averse agent, by the optimist’s certain expected income. Because the inverse-value transform is monotonic, the same ordering carries over to Λ<Λ^<Λˉ\vInvPes < \vInvReal < \vInvOpt. Analogously to (15), define an upper-case

Ω^(μ)=(Λ^(m+eμ)Λ(m+eμ)ΔhκC1/(1ρ))\valModRteReal(\logmNrmEx) = \left(\frac{\vInvReal(\mNrmMin+e^{\logmNrmEx})-\vInvPes(\mNrmMin+e^{\logmNrmEx})}{\hNrmEx \MPCmin \,\PDVCoverc^{1/(1-\CRRA)}}\right)

and an upper-case version of the χ\logitModRte equation in (16):

X^(μ)=log(Ω^(μ)1Ω^(μ))=log(Ω^(μ))log(1Ω^(μ))\begin{aligned} \logitValModRteReal(\logmNrmEx) &= \log \left(\frac{\valModRteReal(\logmNrmEx)}{1-\valModRteReal(\logmNrmEx)}\right) \\ &= \log(\valModRteReal(\logmNrmEx)) - \log(1-\valModRteReal(\logmNrmEx)) \end{aligned}

and if we approximate these objects then invert them (as above with the ω\modRte and χ\logitModRte functions) we obtain an approximation to the inverted value function that respects both bounds by construction, at the same points for which we have our approximated value function:

Λ^=Λ+(11+exp(X^))=Ω^ΔhκC1/(1ρ)\vInvReal = \vInvPes+\overbrace{\left(\frac{1}{1+\exp(-\logitValModRteReal)}\right)}^{=\valModRteReal} \hNrmEx \MPCmin \,\PDVCoverc^{1/(1-\CRRA) }

from which we obtain our approximation to the value function as

v^=u(Λ^)v^=u(Λ^)Λ^.\begin{aligned} \vFuncReal &= \uFunc(\vInvReal) \\ \vFuncRealDeriv &= \uPrime(\vInvReal)\,\vInvRealDeriv . \end{aligned}

5Numerical Accuracy

The figures show the failure and the repair but not the size of the gain, so we compare the method of moderation against the benchmark endogenous gridpoints method on the calibration above, solving both on the same sparse five-point grid. We report in Table 1 the maximum absolute consumption error on a dense subgrid of each interval between adjacent gridpoints mj,mj+1m_{j},m_{j+1}, and of the extrapolation region running out to m=30\overline{m}=30, taking a high-precision endogenous gridpoints solution (500 gridpoints) as the truth. The moderation column applies the near-constraint envelope of Section 6.1, which is slack over the tabulated range under the natural constraint used here. Except in the first interval, where the advantage is about three and a half times, the method of moderation is more than an order of magnitude more accurate than EGM, and we obtain this on a fixed sparse grid without optimizing the grid itself Chipeniuk, 2020. The contrast is starkest in the extrapolation region beyond the top gridpoint, exactly where Figure 1 showed linear EGM extrapolation failing, and there the method of moderation is roughly forty-six times more accurate. That ratio is a property of the horizon m=30\overline{m}=30 as much as of the two methods, since EGM’s linear extrapolation diverges and any ratio one likes can be had by evaluating far enough out. The fairer comparison, against an EGM rule handed the same bounds, is seventeen, and we come to it below.[12]

Table 1:Maximum approximation errors by interval for endogenous gridpoints (EGM) and the method of moderation (MoM) on the same five-point grid with linear interpolation: absolute consumption errors against the reference solution (upper panel) and the largest Euler-equation residual in consumption-equivalent units, which needs no reference solution (lower panel). Gridpoints m0=0.13m_0=-0.13, m1=2.34m_1=2.34, m2=4.47m_2=4.47, m3=6.57m_3=6.57, m4=8.64m_4=8.64; evaluation horizon m=30\overline{m}=30. Orders of magnitude in parentheses.

Method[m0,m1][m_0,m_1][m1,m2][m_1,m_2][m2,m3][m_2,m_3][m3,m4][m_3,m_4][m4,m][m_4,\overline{m}]
Absolute error
EGM5.4(-2)4.2(-3)1.6(-3)8.6(-4)1.4(-1)
MoM1.5(-2)2.5(-4)1.4(-4)7.4(-5)3.0(-3)
Euler residual
EGM7.7(-1)4.6(-3)1.1(-3)4.2(-4)1.8(-2)
MoM1.7(-1)2.7(-4)9.8(-5)3.6(-5)4.1(-4)

Figure 6 shows that the table’s intervals are error humps, with both approximations nearly exact at the sparse gridpoints and less accurate between them, and the method of moderation’s humps sit below EGM’s throughout. The two methods part company beyond the top gridpoint (marked), where the EGM error rises steeply as its linear extrapolation drifts away from the truth, whereas moderation stays flat.

An absolute error is hard to interpret near the borrowing constraint, where consumption itself is close to zero, so in the lower panel of the table we score the same two rules by a yardstick that depends neither on the scale of consumption nor on our reference solution: the Euler-equation residual, the proportion by which consumption would have to change for the Euler equation to hold exactly Santos, 2000. By the residual, as by the absolute errors, the method of moderation is more accurate in every interval, by a factor of four and a half in the first, eleven to seventeen in the interior, and forty-four beyond the top gridpoint. Both methods do poorly in the first interval by this yardstick, since near the constraint even a small absolute error is a large proportion of consumption.

Absolute consumption error on a logarithmic scale for the endogenous gridpoints method and the method of moderation, solved on the same five-point grid. Both errors dip at the gridpoints and peak between them; beyond the top gridpoint the endogenous gridpoints error rises far above that of the method of moderation.

Figure 6:Moderation’s Error Humps Sit Below EGM’s Between Gridpoints and Stay Flat Beyond the Top Gridpoint

The two halves of the figure have different causes. Inside the grid we gain because χ\logitModRte is the smoother object, and beyond it because linear extrapolation of χ\logitModRte cannot leave the bracket, while linear EGM extrapolation eventually does.

Grid design governs beyond-grid accuracy but never the bounds, and what matters is how far the grid reaches rather than how many points it holds (Figure 7). Raising the count from five to thirty without moving the top gridpoint does not improve the beyond-grid error at all, while moving the top out to twice human wealth improves it by roughly an order of magnitude, and to four times human wealth by a further factor of two; the two spacings the figure plots differ little by comparison. In practice we would therefore pair the 30-80 gridpoints noted earlier with a top gridpoint at a small multiple of human wealth, which the exhibits above already satisfy, human wealth one period before the end being close to one.

Maximum consumption error beyond the top gridpoint for the converged infinite-horizon rule, against the grid top measured in units of human wealth, under double and triple exponential spacing; the error falls steeply as the grid extends, and the two spacings differ by about a third.

Figure 7:Extending the Grid Top Improves Beyond-Grid Accuracy, While the Bounds Hold Everywhere

A skeptical reader will want to know how much of the comparison of Table 1 is the design rather than the method, so we ran two further comparisons. First, on a grid of the size used in practice (twenty points, triple-exponential spacing, same top gridpoint) both methods gain roughly two orders of magnitude of interior accuracy, compressing moderation’s worst-case interior advantage to about four times (the median interval ratio is eleven), while beyond the grid the ratio is untouched by refinement, forty-six at five points and at twenty. Second, the extrapolation advantage does not come from denying EGM the bounds, for when we impose the same optimist and pessimist bounds on EGM’s rule every interior interval is unchanged (neither bound binds inside the grid) and its beyond-grid error falls only from 1.4(-1) to 6.1(-2), against 3.0(-3) for moderation. Nor does that comparison depend on the evaluation horizon m=30\overline{m}=30. The error of EGM without the bounds grows without limit as the horizon extends, but the errors of the bounded EGM rule and of moderation both level off, at 6.1(-2) and 3.6(-3), so their ratio converges to seventeen however far the comparison runs. Imposing the bounds also concedes the premise, since the bounds EGM borrows are exactly what the method of moderation is built on, and the bounded rule is kinked wherever a bound binds, whereas moderation approaches its bounds smoothly by construction.

6Extensions

6.1A Tighter Upper Bound

Carroll & Shanker (2026) derives an upper limit κˉ\MPCmax for the MPC as m\mNrm approaches its lower bound. Recalling that \WorstProb is the probability of the worst income draw, =Pr(ξ=ξ)\WorstProb = \Pr(\tranShk = \tranShkMin) (one seventh in the calibration above, where the worst draw is one point of a seven-point equiprobable grid), the infinite-horizon limit is

κˉ=11/ρ(Þ/R),\MPCmax = 1 - \WorstProb^{1/\CRRA} (\AbsPatFac/\Rfree),

which nests the Friedman-Muth unemployment case ξ=0\tranShkMin=0 of Carroll & Toche (2009).[13] Using this fact plus the strict concavity of the consumption function yields the proposition that

c^(m+Δm)<κˉΔm.\cFuncReal(\mNrmMin+\mNrmEx) < \MPCmax \mNrmEx.

Near the constraint the optimist’s bound is loose, because it is calibrated to the low MPC that prevails at high wealth. Moderating between the two perfect-foresight rules alone therefore does not guarantee that approximated consumption will respect this tighter constraint between gridpoints, and a failure to respect it can occasionally cause computational problems in solving or simulating the model. Here, we describe a method for constructing an approximation that always satisfies the constraint. It is applied throughout, so every consumption number reported in this paper respects the tighter bound, except where we drop the envelope on purpose to show what it does.

Defining m\mNrmCusp as the cusp point where the two upper bounds intersect (where Δmmm\mNrmCuspEx\equiv\mNrmCusp-\mNrmMin):

(Δm+Δh)κ=κˉΔmΔm=κΔhκˉκm=h+κ(hˉh)κˉκ,\begin{array}{rclcll} \bigl(\mNrmCuspEx + \hNrmEx\bigr)\,\MPCmin &= & \MPCmax\,\mNrmCuspEx & & \\ \mNrmCuspEx &= & \dfrac{\MPCmin\,\hNrmEx}{\MPCmax-\MPCmin} & & \\ \mNrmCusp &= & -\hNrmPes + \dfrac{\MPCmin\,\bigl(\hNrmOpt-\hNrmPes\bigr)}{\MPCmax-\MPCmin}, \end{array}

this intersection occurs in the feasible region (m>m\mNrmCusp > \mNrmMin), because κˉ>κ\MPCmax > \MPCmin under the stated conditions and so Δm>0\mNrmCuspEx > 0.

The two bounds therefore change places at m\mNrmCusp, the tighter bound binding below it and the optimist’s above it. Since the realist’s rule respects both everywhere, it respects whichever is smaller,

c^(m)min(κ(Δm+Δh), κˉΔm),\cFuncReal(\mNrm) \leq \min\bigl(\MPCmin(\mNrmEx + \hNrmEx),\ \MPCmax\,\mNrmEx\bigr),

and we build the approximation to respect it too, by taking the same lower envelope of the moderated rule and the tighter bound. This just says that at each level of wealth we use whichever of the two is the more appropriate, without needing to know in advance which that will be.

Doing so cannot make the approximation worse, because where the moderated rule already lies below the tighter bound, the envelope leaves it alone. If instead the rule lies above the bound, the truth lies below it, so the bound is closer than the moderated value was. At wealth levels where the constraint actually binds, the envelope is not an approximation at all, because there the realist consumes κˉΔm\MPCmax\mNrmEx exactly.[14]

This is the lower-envelope construction Carroll & Shanker (2026) use for a liquidity constraint, with the constrained branch in closed form joined to the unconstrained branch. The bound imposed here is κˉΔm\MPCmax\mNrmEx, which for κˉ<1\MPCmax < 1 lies strictly inside the budget line Δm\mNrmEx.

We now construct an upper-bound value function, denoted vˇˋ\vFuncTightUpBd to distinguish it from the optimist’s own value vˉ\vFuncOpt, implied for a consumer whose spending behavior is consistent with the refined upper-bound consumption rule.

For mm\mNrm \geq \mNrmCusp, the refined consumption rule coincides with the optimist’s, so there we set vˇˋ=vˉ\vFuncTightUpBd = \vFuncOpt. However, for values m<m\mNrm < \mNrmCusp, matters are slightly more complicated.

Start with the fact that at the cusp point,

vˉ(m)=u(cˉ(m))C=u(Δmκˉ)C.\begin{aligned} \vFuncOpt(\mNrmCusp) &= \uFunc(\cFuncOpt(\mNrmCusp))\PDVCoverc \\ &= \uFunc(\mNrmCuspEx \MPCmax)\PDVCoverc . \end{aligned}

For every m\mNrm, value equals current utility plus a continuation term,

vˉ(m)=u(cˉ(m))+w(mcˉ(m)),\vFuncOpt(\mNrm) = \uFunc(\cFuncOpt(\mNrm))+ \wFuncCont(\mNrm-\cFuncOpt(\mNrm)),

where w\wFuncCont is the end-of-period value as a function of the assets retained at the end of the period. Below the cusp point the refined rule spends κˉΔm\MPCmax \mNrmEx, which leaves assets of mκˉΔm=m+(1κˉ)Δm\mNrm - \MPCmax\mNrmEx = \mNrmMin + (1-\MPCmax)\mNrmEx, so for m<m\mNrm< \mNrmCusp

vˇˋ(m)=u(κˉΔm)+w(m+(1κˉ)Δm),\vFuncTightUpBd(\mNrm) = \uFunc( \MPCmax \mNrmEx)+ \wFuncCont(\mNrmMin + (1-\MPCmax)\mNrmEx),

which can be computed directly because w(at)=βvˉt+1(atRt+1+1)\wFuncCont(\aNrm_{t}) = \DiscFac \vFuncOpt_{t+1}(\aNrm_{t}\RNrmByG_{t+1}+1), where Rt+1R/Gt+1\RNrmByG_{t+1}\equiv\Rfree/\PermGroShk_{t+1} is the growth-normalized gross return and vˉ\vFuncOpt is as defined above, because a consumer who ends the current period with assets exceeding the lower bound will not expect to be constrained next period. (Recall again that we are merely constructing an object that is guaranteed to be an upper bound for the value that the ‘realist’ consumer will experience. When the worst draw is unemployment, m=0\mNrmMin = 0 and the retained-asset expression reduces to (1κˉ)Δm(1-\MPCmax)\mNrmEx.) At the gridpoints defined by the solution of the consumption problem we can then construct

Λˇˋ(m)=((1ρ)vˇˋ(m))1/(1ρ)\vInvTightUpBd(\mNrm) = ((1-\CRRA)\vFuncTightUpBd(\mNrm))^{1/(1-\CRRA)}

which yields the appropriate vector for constructing Xˋ\logitValModRteApprox and Ωˋ\valModRteApprox. The rest of the procedure mirrors the one performed for the consumption rule, and delivers a value-function approximation that respects the tighter bound below the cusp and the optimist’s bound above it.

Figure 8 shows why the refinement is worth the trouble. To the left of the cusp the optimist’s rule permits spending the realist would never choose, and only the tighter bound keeps the approximation out of that region.

A diagram showing the true consumption function bounded above by both the optimist's consumption rule and a tighter linear bound originating from the natural borrowing constraint.

Figure 8:The Tighter Bound κˉΔm\MPCmax\,\mNrmEx Binds Below the Cusp, the Optimist’s Bound Above It

6.2Hermite Interpolation

Although linear interpolation that matches the level of c^\cFuncReal at the gridpoints is simple, Hermite interpolation Fritsch & Carlson, 1980Fritsch & Butland, 1984Hyman, 1983 matches both the level and the derivative of c^\cFuncReal there. That derivative is supplied by the envelope condition Benveniste & Scheinkman, 1979Milgrom & Segal, 2002 together with the EGM Euler equation, so the interpolated rule matches, at each solved gridpoint, the marginal propensity to consume that the solution implies as well as the level.[15]

The slopes we need come from the moderation ratio ω\modRte itself. Since its argument μ\logmNrmEx is the log of excess market resources, the derivative measures how quickly the realist approaches the optimist as resources increase:

ωμ=Δm(c^/mκ)κΔh.\frac{\partial \modRte}{\partial \logmNrmEx} = \frac{\mNrmEx (\partial \cFuncReal/\partial \mNrm - \MPCmin)}{\MPCmin \hNrmEx}.

The interpolant carries the logit of (16) rather than ω\modRte itself, and the chain rule gives its derivative:

χμ=ω/μω(1ω).\frac{\partial \logitModRte}{\partial \logmNrmEx} = \frac{\partial \modRte / \partial \logmNrmEx}{\modRte(1 - \modRte)}.

It turns out that this is all the slope data a cubic Hermite interpolant needs.[16] Differentiating (17) yields a moderation form for the MPC:[17]

c^m=(1η)κ+ηκˉ\frac{\partial \cFuncReal}{\partial \mNrm} = (1-\MPCmod)\,\MPCmin + \MPCmod\,\MPCmax

where

η=κκˉκΔhΔmω/μ.\MPCmod = \frac{\MPCmin}{\MPCmax-\MPCmin} \cdot \frac{\hNrmEx}{\mNrmEx} \cdot \partial \modRte / \partial \logmNrmEx.

Read the other way, this says we need no second approximation for the marginal propensity to consume. It is the derivative of the object we have already approximated, rescaled so that η\MPCmod places the slope between κ\MPCmin and κˉ\MPCmax exactly as ω\modRte places the level between the pessimist and the optimist. Matching slopes as well as levels at each gridpoint therefore gives a consumption rule whose implied MPC agrees with the solved one at every node.

The pairing also explains why Figure 9 falls where Figure 3 climbs. The extra factor Δh/Δm\hNrmEx/\mNrmEx keeps the two from being mirror images. As ω\modRte levels off near one its derivative falls toward zero, and the factor Δh/Δm\hNrmEx/\mNrmEx falls with it.

At gridpoints the weight η\MPCmod lies in [0,1][0,1] by construction. Equation (37) rearranges to η=(c^/mκ)/(κˉκ)\MPCmod = (\partial \cFuncReal/\partial \mNrm - \MPCmin)/(\MPCmax - \MPCmin), and theory guarantees κc^/mκˉ\MPCmin \leq \partial \cFuncReal/\partial \mNrm \leq \MPCmax wherever the Euler equation is solved. Between gridpoints the property is not guaranteed, and we rely on the grid being fine enough to preserve it.

The weight reflects precautionary intensity, increasing when market resources are low relative to human wealth (Δh/Δm\hNrmEx/\mNrmEx large) and when the moderation ratio responds sharply to changes in log excess resources (ω/μ\modRteMu large). As Δm\mNrmEx \to \infty, η0\MPCmod \to 0 and the MPC approaches the optimist’s minimal value κ\MPCmin; as Δm0\mNrmEx \to 0, η1\MPCmod \to 1 and the MPC approaches the maximal value κˉ\MPCmax at the borrowing constraint.

Figure 9 shows both limits on the solved rule, with the moderated MPC inside the band at every solved gridpoint.

The marginal propensity to consume implied by the moderated rule, falling from near the tighter upper bound at the borrowing constraint toward the optimist's limiting value as market resources grow, with the band between the two bounds shaded.

Figure 9:The Moderated MPC Is a Weighted Average of Its Two Limits at Every Solved Gridpoint

We now repeat the experiment of Table 1 in Table 2 with cubic Hermite in place of linear interpolation, for both methods on the same five-point grid.

Table 2:Maximum absolute approximation errors by interval, as in Table 1 but with cubic Hermite interpolation in place of linear for both methods. Orders of magnitude in parentheses.

Method[m0,m1][m_0,m_1][m1,m2][m_1,m_2][m2,m3][m_2,m_3][m3,m4][m_3,m_4][m4,m][m_4,\overline{m}]
EGM8.5(-3)1.8(-4)2.5(-5)7.3(-6)1.1(-1)
MoM2.9(-3)4.3(-6)6.6(-7)1.3(-7)2.4(-3)

Moderation’s interior errors fall by a factor of five in the first interval and by roughly two to three orders of magnitude in the rest. EGM improves too, but by less beyond the first interval, where moderation’s advantage grows from eleven or seventeen times under linear interpolation to between thirty-eight and fifty-six times under cubic, while in the first interval it slips from about three and a half times to three. The higher order gains more on the transformed moderation ratio than on consumption itself, so refining the interpolation widens the gap between the two methods.

Beyond the top gridpoint the errors barely move, 3.0(-3) to 2.4(-3) for moderation, and the ratio between the methods is forty-six in one table and forty-five in the other. Both moderation variants extrapolate the logit linearly there, so the beyond-grid advantage comes entirely from the change of variables, since interpolation order matters only where there are gridpoints to interpolate between.

The value function needs the same two ingredients, and we already have both in hand. Since C\PDVCoverc is constant under perfect foresight, the optimist’s inverse value function has a constant slope with respect to cash-on-hand:

Λˉ=C1/(1ρ)κ=κρ/(1ρ).\begin{aligned} \vInvOptDeriv &= \PDVCoverc^{1/(1-\CRRA)} \MPCmin \\ &= \MPCmin^{-\CRRA/(1-\CRRA)}. \end{aligned}

The derivative of the value moderation ratio (23) with respect to the log-gap argument is

Ω^μ=Δm(Λ^Λˉ)ΔhΛˉ\frac{\partial \valModRteReal}{\partial \logmNrmEx} = \frac{\mNrmEx (\vInvRealDeriv - \vInvOptDeriv)}{\hNrmEx \vInvOptDeriv}

where Λˉ\vInvOptDeriv is given by (39) and Λ^\vInvRealDeriv is the derivative of the realist’s inverse value function. The pessimist’s inverse value function has the same derivative Λˉ\vInvOptDeriv, since both are linear perfect foresight solutions.

We apply the same transformation to the value-based moderation ratio, which converts the bounded ratio into an unconstrained slope:

X^μ=Ω^/μΩ^(1Ω^).\frac{\partial \logitValModRteReal}{\partial \logmNrmEx} = \frac{\partial \valModRteReal / \partial \logmNrmEx}{\valModRteReal(1-\valModRteReal)}.

Note that Λ^=u1(v^)\vInvReal = \uFunc^{-1}(\vFuncReal), so the chain rule supplies their derivatives and nothing further need be solved for. The first derivative is:

Λ^=((1ρ)v^(m))1+1/(1ρ)v^(m).\vInvRealDeriv = \left( (1-\CRRA) \vFuncReal(\mNrm)\right)^{-1+1/(1-\CRRA)} \vFuncRealDeriv(\mNrm).

The first- and second-derivative connections are:

v^=u(Λ^)Λ^v^=u(Λ^)(Λ^)2+u(Λ^)Λ^.\begin{aligned} \vFuncRealDeriv &= \uPrime(\vInvReal) \, \vInvRealDeriv \\ \vFuncRealDerivSecond &= \uDoublePrime(\vInvReal) \, (\vInvRealDeriv)^2 + \uPrime(\vInvReal) \, \vInvRealDerivSecond. \end{aligned}

If we also match the second derivative in (43) with a higher-order Hermite polynomial (with Λ^\vInvRealDerivSecond obtained by differentiating the expression for Λ^\vInvRealDeriv once more), the approximation matches the marginal propensity to consume at the gridpoints as well.[18]

6.3Artificial Borrowing Constraints

Nothing in (30) requires the borrowing constraint to be the natural one. A modeler who imposes a constraint aa\aNrm \geq \underline{\aNrm} tighter than the natural one changes both m\mNrmMin and κˉ\MPCmax, and we need change nothing else: when the artificial constraint binds, κˉ=1\MPCmax = 1 (the derivation behind (27) presumes the natural constraint; against an artificial one the consumer spends every unit above the floor) and the tighter bound is the budget line itself; when the constraint is natural, κˉ<1\MPCmax < 1 and the bound lies strictly inside it. One expression covers both cases, which is fortunate, because a modeler who has just tightened a constraint is rarely in the mood to rederive an approximation.

The two bounds always cross, so the question for us is whether our realist ever reaches the tighter one. Under a natural constraint they approach κˉΔm\MPCmax\mNrmEx only as mm\mNrm \downarrow \mNrmMin and touch it at the single point where both are zero, so the envelope has nothing to do. Under an artificial constraint they spend every resource they have over a whole interval above the constraint, up to the first kink point where it ceases to bind, and over that interval the envelope stops approximating and reproduces their rule.

Table 3:Maximum absolute consumption errors for Δm1\mNrmEx \leq 1 as the artificial borrowing constraint tightens, EGM and MoM on the same five-point grid against a dense reference solution. κˉ\MPCmax is the period-T1T-1 value; the last column is the interval over which the realist’s rule coincides with the tighter bound.

a\underline{\aNrm}κˉ\MPCmaxEGMMoMrule coincides with bound
natural0.7325.4(-2)1.5(-2)nowhere
-0.101.0004.5(-2)6.9(-3)Δm0.087\mNrmEx \leq 0.087
-0.051.0003.4(-2)7.3(-3)Δm0.203\mNrmEx \leq 0.203
0.001.0002.6(-2)7.5(-3)Δm0.303\mNrmEx \leq 0.303
0.101.0001.6(-2)7.0(-3)Δm0.473\mNrmEx \leq 0.473

We report what happens as we tighten the constraint in Table 3. The region over which the rule coincides with the bound grows, and moderation remains more accurate than endogenous gridpoints throughout. The advantage is largest where the constrained region is smallest, because that is where a method without the bound has the most room to overshoot it. We should be candid about how much rests on the envelope here. Drop it, and the moderated rule breaches the budget constraint in every row with an artificial constraint, spending resources the consumer does not have. The breach grows as the constraint tightens, and in the two tightest rows it is large enough to reverse the ordering (at a=0\underline{\aNrm} = 0 the breach reaches 0.045, and the worst-case error of 4.5(2)4.5(-2) is now the larger of the two). Only the natural row, where the envelope has nothing to do, is unaffected.

6.4Assets as the State Variable

We have written the consumption problem in market resources, while the standard incomplete-markets models of Huggett (1993), Aiyagari (1994), and Krusell & Smith (1998) are written in assets and spend most of their computational budget solving the household problem we have been bracketing. Everything above transfers, because the bounds are perfect-foresight rules that hold at every m\mNrm, and m\mNrm is a function of whatever state the model uses.

To see that transfer, write down what those models actually carry. The state is the pair (a,z)(\aNrm,z): assets a\aNrm carried into the period, which together with consumption determine next period’s assets as a=Ra+zc\aNrm' = \Rfree\,\aNrm + z - \cNrm, and income zz, a finite Markov chain with transition matrix Π\Pi. Since m=Ra+z\mNrm = \Rfree\,\aNrm + z, both bounds are affine in a\aNrm with the common slope Rκ\Rfree\MPCmin:

cˉ(a,z)=κ(Ra+z+hˉ(z)),hˉ(z)=1RzΠ(z,z)[z+hˉ(z)],c(a,z)=κ(Ra+z+h),h=zR1.\begin{aligned} \cFuncOpt(\aNrm,z) &= \MPCmin\bigl(\Rfree\,\aNrm + z + \hNrmOpt(z)\bigr), & \hNrmOpt(z) &= \frac{1}{\Rfree}\sum_{z'}\Pi(z,z')\bigl[z' + \hNrmOpt(z')\bigr], \\ \cFuncPes(\aNrm,z) &= \MPCmin\bigl(\Rfree\,\aNrm + z + \hNrmPes\bigr), & \hNrmPes &= \frac{\underline{z}}{\Rfree-1}. \end{aligned}

The optimist’s human wealth is expected discounted income along the chain, and carries the state because the chain does, while the pessimist’s is the lowest income forever, the constant whose negative is the natural borrowing limit of Aiyagari (1994). Current income cancels from the gap, so the bracket has width κ(hˉ(z)h)\MPCmin\bigl(\hNrmOpt(z)-\hNrmPes\bigr), a quantity formed once per income state and constant in a\aNrm within it, which is all the moderation ratio requires. The transformation and interpolation above are unchanged, applied to Δm=Ra+zm\mNrmEx = \Rfree\,\aNrm + z - \mNrmMin within each income state.

The household problem transfers, though the layers above it do not, and on those (the fixed point in prices, the stationary distribution, the forecasting rule that closes a model with aggregate shocks) we say nothing.

7Risky Returns and Portfolio Choice

The variations so far all concern how the consumption rule is approximated, while the asset structure has stayed the same, one riskless asset earning a known R\Rfree. We now relax that in two steps, first making the return stochastic, so that the consumer’s savings are entirely invested in a risky asset, and then letting the fraction so invested be a choice.

The two problems without a portfolio choice are the corners of that choice, since holding the risky share at zero recovers the riskless model of the preceding sections, and holding it at one recovers the model of Section 7.1. Making the return risky changes the bounds of the consumption rule, since the limiting marginal propensity to consume is no longer R\Rfree-based, but it leaves the object being moderated where it was. Making the share a choice opens the interior between the corners and adds a second rule to approximate. Only the second step requires a new ingredient, because the transform that linearizes consumption does not linearize the share.

7.1Idiosyncratic Rate-of-Return Risk

Thus far we have assumed that the interest factor is constant at R\Rfree. Extending the previous derivations to allow for a perfectly forecastable time-varying interest factor would be trivial. Allowing for a stochastic interest factor is not trivial: it changes the two constants the bracket is built from, κ\MPCmin and hˉ\hNrmOpt, though nothing else. We treat return risk that is idiosyncratic, the return on a household-specific asset such as a private business or housing, drawn independently across households and over time Benhabib & Bisin, 2018, so the household’s problem acquires no aggregate state and the interest factor is i.i.d.,[19]

logRt+nN(r+πσr2/2,σr2)  n>0.\log \Risky_{t+n} \sim \Nrml(r + \equityPrem - \std^{2}_{\risky}/2,\std^{2}_{\risky}) ~\forall~n>0.

Both constants come from the high-wealth limit, where labor income is negligible relative to financial wealth, because in this case Merton (1969) and Samuelson (1969) showed that for a consumer without labor income the consumption function is linear, with an MPC that is the κ\MPCmin of the bracket,

κ=1(βE[Rt+11ρ])1/ρ,\MPCmin = 1- \left(\DiscFac \Ex[\Risky_{t+1}^{1-\CRRA}]\right)^{1/\CRRA},

positive under the stochastic-return impatience condition βE[R1ρ]<1\DiscFac\Ex[\Risky^{1-\CRRA}]<1, the i.i.d.-return analogue of Þ/R<1\AbsPatFac/\Rfree<1 Carroll, 2020Benhabib & Bisin, 2018Chipeniuk et al., 2022. Human wealth needs a rate to discount at, and with no traded riskless asset there is none for us to appeal to, but the Euler equation supplies one, the implicit riskless return of the economy, which is the reciprocal of the expected stochastic discount factor Campbell & Viceira, 2002. In the same limit consumption grows at Rt+1(1κ)\Risky_{t+1}(1-\MPCmin), so that discount factor is β(Rt+1(1κ))ρ\DiscFac(\Risky_{t+1}(1-\MPCmin))^{-\CRRA}, and substituting (46) for (1κ)ρ(1-\MPCmin)^{\CRRA} cancels the preference parameters, leaving the shadow riskless return R~\tilde{\Rfree},

E[β(Rt+1(1κ))ρ]=E[Rρ]E[R1ρ]1/R~,\Ex\left[\DiscFac\left(\Risky_{t+1}(1-\MPCmin)\right)^{-\CRRA}\right] = \frac{\Ex[\Risky^{-\CRRA}]}{\Ex[\Risky^{1-\CRRA}]} \equiv 1/\tilde{\Rfree},

so we obtain the two human wealths by writing their riskless expressions with R~\tilde{\Rfree} in place of R\Rfree, hˉ=G/(R~G)\hNrmOpt = \PermGroFac/(\tilde{\Rfree}-\PermGroFac) and h=ξG/(R~G)\hNrmPes = \tranShkMin\PermGroFac/(\tilde{\Rfree}-\PermGroFac). The two constants use the return distribution differently, the MPC needing the single moment E[R1ρ]\Ex[\Risky^{1-\CRRA}] and human wealth the ratio of two, and a deterministic return collapses that ratio onto R\Rfree, which is why we needed only one rate when the return was certain. Finite human wealth requires E[Rρ]<E[R1ρ]\Ex[\Risky^{-\CRRA}] < \Ex[\Risky^{1-\CRRA}], the return-risk counterpart of the finite-human-wealth condition (the riskless-return conditions are in Carroll & Shanker (2026)).

With the κ\MPCmin of (46) and the R~\tilde{\Rfree} of (47) in place, the earlier construction applies unchanged. But the two sides of the bracket rest on different footing. Carroll & Lujan (2026) prove at full generality that the pessimist’s rule bounds optimal consumption from below whether or not returns are risky. The upper bound is open there, because the Jensen step that delivers it under deterministic returns fails once the return enters the marginal-utility argument. We check the upper bound numerically, and with the mean return equal to the riskless return of the earlier calibration and a level standard deviation of 0.08, the realist’s rule stays strictly inside the bracket at every one of two thousand evaluation points between the borrowing constraint and m=10\mNrm = 10, the moderation ratio ranging over [0.005,0.770][0.005, 0.770].[20]

7.2Portfolio Choice

Every application so far has moderated a consumption rule between two perfect-foresight consumption rules. The share of savings held in the risky asset is a sterner test, being a different choice variable with bounds of a different kind.

The share has a single limiting agent instead of two. As wealth grows, labor income becomes negligible and the optimal share approaches the constant ς\varsigma^{*} that solves the portfolio problem of an investor with financial wealth alone Samuelson, 1969Merton, 1969, the first-order condition

E[(RR)u(R+ς(RR))]=0.\Ex\bigl[(\Risky - \Rfree)\, \uPrime\bigl(\Rfree + \varsigma^{*}(\Risky - \Rfree)\bigr)\bigr] = 0.

This is a single-period problem, which is why Campbell & Viceira (2002) call its solution the ‘myopic’ share, and with i.i.d. returns it is the same at every wealth level. Their log-linear approximation π/(ρσr2)\equityPrem/(\CRRA\std^{2}_{\risky}) gives 0.28 at the calibration below, whereas we use the 0.31 solved numerically on the discretized return process, for which it is exact. That limit is also a floor, because human wealth is a bond-like position, so that a household holding it tilts financial wealth toward the risky asset, and the share lies above ς\varsigma^{*} at every finite wealth level Campbell & Viceira, 2002Viceira, 2001. That floor depends on income shocks being independent of returns, as they are here. When labor income is cointegrated with the stock market, the young want to short the market Benzoni et al., 2007, and ς\varsigma^{*} is no floor at all.

The two characters of the consumption problem are of no use here. A pessimist who expected the worst return every period would hold no stock at all (the worst return is below the riskless one), and an optimist who ignored the risk would hold nothing else, so a bracket built on the pair would be the constraint set [0,1][0,1] itself, within which moderating the share is the same thing as interpolating it. The upper edge is instead a constraint: the prohibition on borrowing to invest, ς1\varsigma \leq 1. This is the upper half of the share constraint ς[0,1]\varsigma \in [0,1] that the portfolio literature imposes alongside a0\aNrm \geq 0 Cocco et al., 2005, as we do here. Together the two rule out debt of any kind, so next period’s resources are at least the income floor whatever the return turns out to be. They also supply a ceiling the share would otherwise not have, since a household with labor income to lean on would, if unconstrained, put an ever larger multiple of its financial wealth into the risky asset as that wealth shrank toward zero. We call the upper half the leverage constraint, to keep it distinct from the constraint on assets.

The bracket is therefore [ς,1][\varsigma^{*},1], and its width 1ς1-\varsigma^{*} is constant in the state, as the width of the consumption bracket is. Bodie et al. (1992) obtain a tighter ceiling, ς(1+hˉ/m)\varsigma^{*}(1+\hNrmOpt/\mNrm), for riskless labor income, but the solved share crosses it here, because that ceiling’s gap above ς\varsigma^{*} is proportional to hˉ/m\hNrmOpt/\mNrm, while the solved share’s gap closes more slowly. So we bracket against the constraint, which cannot be crossed.

The illustrations solve the infinite-horizon problem with relative risk aversion ρ=5\CRRA=5, discount factor 0.9, survival probability 0.98 (which scales the discount factor), riskless return R=1.03\Rfree=1.03, permanent income growth factor 1.01, permanent and transitory income shocks each with log standard deviation 0.1, a five percent chance of an unemployment draw paying thirty percent of permanent income, and a risky asset with mean gross return 1.08 and log standard deviation 0.184. The construction does not depend on these choices.

The moderation ratio for the share, ως=(ςς)/(1ς)\shareModRte = (\varsigma-\varsigma^{*})/(1-\varsigma^{*}), records where the solved share lies in its bracket, as ω\modRte does for consumption. The share approaches its limiting value only as wealth grows, so ως0\shareModRte \to 0 asymptotically and logως\log\shareModRte straightens that tail. Its other bound, the leverage constraint, is attained at finite wealth, where log(1ως)-\log(1-\shareModRte) diverges, so the logit of Section 4.2 is the wrong transform here and the logarithm alone is the right one.

Figure 10 shows the consequence, with each candidate transformation rescaled to a common range and drawn against the straight chord through its own endpoints. Over m[10,103]\mNrm\in[10,10^{3}] the untransformed share departs from its chord by 39 percent of the plotted range and the logit by 14 percent, while logως\log\shareModRte departs by 1.4 percent. Scored on accuracy against a converged reference with five nodes, the logarithm is roughly a hundred times more accurate than interpolating the share itself, the complementary log-log, log(log(1ως))\log(-\log(1-\shareModRte)), eight times, and the logit four times. Nothing here fixes how the share approaches its limit, since the interpolant is fitted to the solved gridpoints, so a calibration whose tail behaves differently is served by the same construction.

Three candidate transformations of the risky share, each rescaled and compared against the straight chord through its endpoints; the logarithm of the moderation ratio is nearly straight while the logit and the untransformed share bow away.

Figure 10:The Logarithm of the Share’s Moderation Ratio Is Nearly Straight Where the Logit Bows

At low wealth the leverage constraint binds and the solved share is exactly one. The point at which it stops binding is a kink in the share function, and unlike the cusp of (29) it has no closed form. The cusp was the intersection of two straight lines whose coefficients we knew, whereas the kink is the level of wealth at which the investor’s own first-order condition first holds with the share at one, and that depends on next period’s marginal value, which we do not know until the problem has been solved. So we take the kink from the solved rule, in which the investor leaves the constraint at m=7.25\mNrm = 7.25 (Figure 11). The approximation is exact on the constraint below it, moderated above it, and joined across it by a Hermite segment matched in level and slope at the two adjacent gridpoints. A cubic matched at both ends can overshoot the endpoint it starts from, so the approximation takes the lower envelope against the constraint, as the consumption rule does against κˉΔm\MPCmax\mNrmEx, since the solved share never exceeds one.

The solved risky share inside its bracket, equal to one at low wealth where the leverage constraint binds, leaving the constraint at its kink point, and descending toward the limiting share as wealth grows.

Figure 11:The Share Is Fully Invested Until Its Kink Point, Then Descends Toward Its Limit

Clear of the kink point, moderation is between seventy and a hundred and fifty times more accurate than interpolating the share directly on the same four to seven nodes, with the advantage growing as the grid coarsens. On a grid spanning the constrained region the advantage is smaller, and the reader is entitled to the whole picture. In the tail it runs from twelve to over a hundred times, across the transition it is about twice, and on a grid coarse enough that the kink point falls in a wide interval our joining segment is worse than plain interpolation there.

Beyond the top gridpoint, Figure 12 is the portfolio analogue of Figure 1. Linear extrapolation carries the share below its limiting value, a portfolio no optimizing investor would hold at any wealth, while the moderated rule continues the descent recorded at the solved gridpoints and approaches the limit from above.

Beyond the solved grid, linear extrapolation of the risky share falls below the limiting share while the moderated rule approaches it from above.

Figure 12:Beyond the Grid, Linear Extrapolation Breaches the Limiting Share and Moderation Does Not

Before we claim too much, we should say that the share is an output of each period’s optimization rather than an input to the next period’s, so a moderated share does not propagate through the backward induction the way a moderated consumption rule does. The construction supplies a representation, one in which the expensive per-node optimization can be performed on far fewer nodes because the share between them is moderated instead of interpolated.

8Conclusion

The method proposed here is not universally applicable. For example, the method cannot be used for problems for which upper and lower bounds to the ‘true’ solution are not known. Those bounds need not come in pairs of perfect-foresight agents, as the portfolio application shows by bracketing the share between the ‘myopic’ investor and the leverage constraint. But many problems do have obvious upper and lower bounds, and in those cases (as in the consumption and portfolio examples used in the paper), the method may result in substantial improvements in accuracy and stability of solutions.

Acknowledgments

We thank Matthew N. White for many thoughtful conversations about the ideas in this paper. The views presented here are those of the authors and should not be attributed to the Japanese Ministry of Finance, the Reserve Bank of New Zealand, or Fannie Mae.

Footnotes
  1. An early version of the paper was presented at the 2012 Society for Economic Dynamics meetings by Wu, Tokuoka, and Carroll, and Carroll (2020) discusses the method in lecture-note form. This paper supersedes both accounts.

  2. The permanent-transitory decomposition is Friedman (1957); the stochastic process form is Muth (1960).

  3. Bounded support (ψˉ<\permShkMax < \infty) gives the consumption function well-defined upper and lower bounds. Results for unbounded shocks with finite moments (lognormal, for example) exist, and we do not pursue that extension.

  4. We assume ρ1\CRRA \neq 1 throughout, because the transformations of the value function below (Λˉ\vInvOpt, Λ^\vInvReal) divide by 1ρ1-\CRRA. Log utility needs parallel derivations, with the same economics.

  5. Restoring permanent shocks (a five-point discretization at standard deviation 0.1) moves every error reported below by less than a factor of two, on that calibration’s own endogenous gridpoints, and leaves the ordering of the two methods intact. The replication package’s verification script carries the switch.

  6. The HARK toolkit does not (yet) extend the last linear segment, and instead shrinks the gap above the top gridpoint to the perfect-foresight limit exponentially, which keeps precautionary saving positive. That is the easy and obvious choice, the one we made early in the toolkit’s development, when the limiting bounds were known but the theory behind the approach to them was not yet worked out. It is also not how the true gap closes, and nothing in the calibration says how it should, so the accuracy it delivers at any wealth level is not knowable in advance. We therefore compare against linear extrapolation, which is the generic practice, whereas the method below takes its tail from the solved gridpoints.

  7. For a derivation, see Carroll & Shanker (2026); κ\MPCmin is defined therein as the MPC of the perfect foresight consumer with horizon TtT-t.

  8. Each of these constants has a finite-horizon counterpart, obtained by the same backward recursion and summing to the same closed form. With horizon TtT-t: hˉT=0\hNrmOpt_{T}=0 and hˉt=(G/R)(1+hˉt+1)\hNrmOpt_{t}=(\PermGroFac/\Rfree)(1+\hNrmOpt_{t+1}), so hˉt=n=1Tt(G/R)n\hNrmOpt_{t}=\sum_{n=1}^{T-t}(\PermGroFac/\Rfree)^{n}; h\hNrmPes obeys the same recursion with ξ\tranShkMin in place of the unit income draw, giving ht=ξn=1Tt(G/R)n\hNrmPes_{t}=\tranShkMin\sum_{n=1}^{T-t}(\PermGroFac/\Rfree)^{n}; and κt=κt+1/(κt+1+Þ/R)\MPCmin_{t}=\MPCmin_{t+1}/(\MPCmin_{t+1}+\AbsPatFac/\Rfree) with κT=1\MPCmin_T=1, so κt=(n=0Tt(Þ/R)n)1\MPCmin_{t}=(\sum_{n=0}^{T-t}(\AbsPatFac/\Rfree)^{n})^{-1}, converging to (9).

  9. Here Δ\Delta denotes excess above minimum, not a time difference.

  10. Under the GIC the limiting slope α=limμ+χμ0\asympSlope = \lim_{\logmNrmEx \to +\infty} \frac{\partial \logitModRte}{\partial \logmNrmEx} \geq 0 exists. It may equal zero in theory, but the boundary slope on any finite grid is strictly positive, and the bounds are preserved whichever slope is used.

  11. Under perfect foresight, consumption grows at rate Þ\AbsPatFac: ct+n=ctÞn\cLvl_{t+n}=\cLvl_{t}\AbsPatFac^{n}. Discounting yields (PDVtT(c)/ct)=n=0Tt(Þ/R)n=κt1(\PDV_{t}^{T}(\cLvl)/\cLvl_{t})=\sum_{n=0}^{T-t}(\AbsPatFac/\Rfree)^{n}=\MPCmin_{t}^{-1}, so CtT=κt1\PDVCoverc_{t}^{T}=\MPCmin_{t}^{-1} (unchanged for normalized variables). In the infinite-horizon limit, we write simply C=κ1\PDVCoverc = \MPCmin^{-1}.

  12. The replication package regenerates the tables and the numbers quoted in this section and checks each accuracy claim against the code.

  13. With horizon TtT-t: backward recursion κˉt=κˉt+1/(κˉt+1+1/ρ(Þ/R))\MPCmax_{t} = \MPCmax_{t+1}/(\MPCmax_{t+1} + \WorstProb^{1/\CRRA}(\AbsPatFac/\Rfree)) with κˉT=1\MPCmax_T = 1; equivalently the forward sum κˉt=(n=0Tt(1/ρ(Þ/R))n)1\MPCmax_{t} = \left(\sum_{n=0}^{T-t}\left(\WorstProb^{1/\CRRA} (\AbsPatFac/\Rfree)\right)^{n}\right)^{-1}, which converges to the closed form in (27).

  14. The envelope also fixes behavior at the constraint itself, since κˉΔm\MPCmax\,\mNrmEx vanishes at m=m\mNrm = \mNrmMin. Under an artificial constraint a0\aNrm \geq 0, EGM cannot place a gridpoint below the kink, because inverting the Euler equation from an asset grid gives m=a+c^(a)\mNrm = \aNrm + \cFuncReal(\aNrm) with a0\aNrm \geq 0, so the smallest m\mNrm it reaches is c^(0)\cFuncReal(0), the kink itself, and no refinement of the grid creates gridpoints in a region that has no interior solution to invert.

  15. Approximation quality between gridpoints is what ultimately limits any such method. Santos (2000) gauges it through Euler-equation residuals, as the lower panel of Table 1 does, and Judd et al. (2017) derives lower bounds on the resulting approximation errors.

  16. Cubic Hermite interpolation of the transformed ratio takes node values from the transformation and node slopes χ/μ\logitModRteMu. A monotone scheme Boor, 2001 (Fritsch-Carlson or Fritsch-Butland) treats those slopes as targets and adjusts them to enforce monotonicity.

  17. Differentiating (17) with respect to m\mNrm and applying the chain rule: c^/m=κ(1+Δh/Δmω/μ)\partial \cFuncReal/\partial \mNrm = \MPCmin \left(1 + \hNrmEx/\mNrmEx \cdot \modRteMu\right). The moderation form follows by factoring: η(κˉκ)=κΔh/Δmω/μ\MPCmod(\MPCmax-\MPCmin) = \MPCmin \cdot \hNrmEx/\mNrmEx \cdot \modRteMu. Note that ω/μ=ω(1ω)χ/μ\modRteMu = \modRte(1-\modRte) \cdot \logitModRteMu from the chain rule, where ω(1ω)=ω/χ\modRte(1-\modRte) = \partial\modRte/\partial\logitModRte is the standard sigmoid derivative. Working directly with ω/μ\modRteMu keeps the computation on the bounded scale of ω[0,1]\modRte \in [0,1].

  18. The consumption function generated from the value function would then match both the level of consumption and the marginal propensity to consume at the gridpoints; within the grid, its numerical differences from the one constructed earlier are negligible.

  19. Here rr is the log of the earlier calibration’s riskless return and π\equityPrem the premium of the mean log return over it. Since no riskless asset trades in this subsection, the pair only parameterizes the distribution in the earlier units. The σr2/2-\std^{2}_{\risky}/2 term makes E[R]=exp(r+π)\Ex[\Risky] = \exp(r+\equityPrem), so raising σr2\std^{2}_{\risky} is a mean-preserving spread of the level return, and the lognormal moment generating function gives E[R1ρ]=exp((1ρ)(r+πρσr2/2))\Ex[\Risky^{1-\CRRA}] = \exp\left((1-\CRRA)\left(r+\equityPrem - \CRRA\std_{\risky}^2/2\right)\right), the expression the code evaluates.

  20. The test suite asserts strict containment, not containment to a tolerance, and first checks that the spread lies below the volatility (near 0.10 here) at which E[Rρ]\Ex[\Risky^{-\CRRA}] overtakes E[R1ρ]\Ex[\Risky^{1-\CRRA}], so that the condition above holds.

References
  1. Ma, Q., & Toda, A. A. (2022). Asymptotic Linearity of Consumption Functions and Computational Efficiency. Journal of Mathematical Economics, 98, 102562. 10.1016/j.jmateco.2021.102562
  2. White, M. N. (2015). The Method of Endogenous Gridpoints in Theory and Practice. Journal of Economic Dynamics and Control, 60, 26–41. 10.1016/j.jedc.2015.08.001
  3. Leland, H. E. (1968). Saving and Uncertainty: The Precautionary Demand for Saving. Quarterly Journal of Economics, 82(3), 465–473. 10.2307/1879518
  4. Sandmo, A. (1970). The Effect of Uncertainty on Saving Decisions. Review of Economic Studies, 37(3), 353–360. 10.2307/2296725
  5. Kimball, M. S. (1990). Precautionary Saving in the Small and in the Large. Econometrica, 58(1), 53–73. 10.2307/2938334
  6. Stachurski, J., & Toda, A. A. (2019). An Impossibility Theorem for Wealth in Heterogeneous-Agent Models with Limited Heterogeneity. Journal of Economic Theory, 182, 1–24. 10.1016/j.jet.2019.04.001
  7. Ma, Q., Stachurski, J., & Toda, A. A. (2020). The Income Fluctuation Problem and the Evolution of Wealth. Journal of Economic Theory, 187, 105003. 10.1016/j.jet.2020.105003
  8. Carroll, C. D. (2009). Precautionary Saving and the Marginal Propensity to Consume Out of Permanent Income. Journal of Monetary Economics, 56(6), 780–790. 10.1016/j.jmoneco.2009.06.016
  9. Ma, Q., & Toda, A. A. (2021). A Theory of the Saving Rate of the Rich. Journal of Economic Theory, 192, 105193. 10.1016/j.jet.2021.105193
  10. Carroll, C. D. (1997). Buffer-Stock Saving and the Life Cycle/Permanent Income Hypothesis. Quarterly Journal of Economics, 112(1), 1–55. 10.1162/003355397555109
  11. Carroll, C. D., & Shanker, A. (2026). Theoretical Foundations of Buffer Stock Saving. Johns Hopkins University. https://llorracc.github.io/BufferStockTheory/BufferStockTheory.pdf
  12. Carroll, C. D. (2020). Solving microeconomic dynamic stochastic optimization problems [Techreport]. Johns Hopkins University. https://www.econ2.jhu.edu/people/ccarroll/SolvingMicroDSOPs.pdf
  13. Carroll, C. D. (2006). The method of endogenous gridpoints for solving dynamic stochastic optimization problems. Economics Letters, 91(3), 312–320. 10.1016/j.econlet.2005.09.013
  14. Barillas, F., & Fernández-Villaverde, J. (2007). A Generalization of the Endogenous Grid Method. Journal of Economic Dynamics and Control, 31(8), 2698–2712. 10.1016/j.jedc.2006.08.005
  15. Hintermaier, T., & Koeniger, W. (2010). The Method of Endogenous Gridpoints with Occasionally Binding Constraints among Endogenous Variables. Journal of Economic Dynamics and Control, 34(10), 2074–2088. 10.1016/j.jedc.2010.05.002