Abstract¶
In a risky world, a pessimist assumes the worst will happen. Someone who ignores risk altogether is an optimist. Consumption decisions are mathematically simple for both the pessimist and the optimist because both behave as if they live in a riskless world. A consumer who is a realist (that is, who wants to respond optimally to risk) faces a much more difficult problem, but (under standard conditions) will choose a level of spending somewhere between that of the pessimist and the optimist. We use this fact to redefine the space in which the realist searches for optimal consumption rules. The resulting solution accurately represents the numerical consumption rule over the entire interval of feasible wealth values with remarkably few computations.
Introduction¶
Solving a consumption-saving problem using numerical methods requires the modeler to choose how to represent a policy 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 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. Carroll (2006) developed the endogenous gridpoints method, which has become a standard tool for computing consumption at gridpoints determined endogenously using the Euler equation.
Unfortunately, these approximation methods are not very well-behaved outside the original range of gridpoints. This is a serious problem: in the presence of 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. Linear extrapolation of consumption can produce theoretically inconsistent predictions. For example, although theory proves that precautionary saving is always positive, a linearly extrapolated numerical approximation eventually predicts negative precautionary saving (at the point in the figure where the extrapolated locus crosses the horizontal axis).

Figure 1:For Large Enough , 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 an extrapolation technique can prevent this from being fatal (for example by excluding negative precautionary saving), the problem is often dealt with using inelegant methods whose implications for accuracy are difficult to gauge.
This paper argues that, at least in the context of the standard consumption problem, a better approach is to rely upon the fact that in the absence of 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 who does not perceive any uncertainty. Following Leland (1968), Sandmo (1970), and Kimball (1990), the ‘realistic’ consumer, who does perceive the risks, will engage in ‘precautionary saving,’ 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 his certainty is that of a pessimist who is extremely overconfident in his pessimism.
We build on bounds for the consumption function and limiting MPCs established by Stachurski & Toda (2019), Ma et al. (2020), Carroll (2001), and Ma & Toda (2021) in buffer-stock theory. Using results from Carroll & Shanker (2024), we show how to use these bounds to constrain the shape and characteristics of the solution to the ‘realist’ problem characterized by Carroll (1997). Imposition of these constraints clarifies and speeds the solution of the realist’s problem.
The Model¶
Consider a consumer who correctly perceives all risks. The consumer with CRRA utility (where prudence induces precautionary saving) maximizes expected lifetime utility:
subject to , , , , where denotes market resources, permanent labor income, assets, and noncapital income. Income evolves via the Friedman-Muth process (Friedman (1957) distinguished permanent from transitory income; Muth (1960) provided the stochastic framework): with permanent shocks having mean unity and bounded support where , and transitory shocks taking value 0 with probability (unemployment) or otherwise, with .
This problem can be rewritten (see Carroll (2020) for a proof) in a more convenient form in which choice and state variables are normalized by the level of permanent income, e.g., . When that is done, the Bellman equation for the transformed version of the consumer’s problem is
with Euler equation .
For expositional simplicity, we assume and set , (no permanent income growth or shocks), working with the infinite-horizon formulation; results extend to general cases. Parameter restrictions (below) are required.
We define the absolute patience factor . Carroll & Shanker (2024) shows that a finite solution requires: (i) finite-value-of-autarky condition (FVAC) , (ii) absolute-impatience condition (AIC) , (iii) return-impatience condition (RIC) , (iv) growth-impatience condition (GIC) , and (v) finite-human-wealth condition (FHWC) . These patience conditions ensure the consumption bounds and limiting MPCs used in our method.
The Method of Moderation¶
The Optimist, the Pessimist, and the Realist¶
As a preliminary to our solution, define 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, . The solution to a perfect foresight problem of this kind takes the form
for a constant minimal marginal propensity to consume . We similarly define as ‘minimal human wealth,’ the present discounted value of labor income if the shocks were to take on their worst value in every future period (which we define as corresponding to the beliefs of a ‘pessimist’). We will call a ‘realist’ the consumer who correctly perceives the true probabilities of the future risks and optimizes accordingly.
A first useful point is that, for the realist, a lower bound for the level of market resources is the natural borrowing constraint derived by Aiyagari (1994) and Huggett (1993), because if equalled this value then there would be a positive finite chance (however small) of receiving in every future period, which would require the consumer to set to zero in order to guarantee that the intertemporal budget constraint holds. Since consumption of zero yields negative infinite utility, Zeldes (1989) and Deaton (1991) show that the solution to the realist consumer’s problem is not well defined for values of , and the limiting value of the realist’s is zero as , where as (established in Carroll & Shanker (2024)).
It is 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:
We now define the optimal consumption rules for the two perfect foresight problems. The ‘pessimist’ perceives human wealth to be equal to its minimum feasible value with certainty, so consumption is given by the perfect foresight solution
The ‘optimist,’ on the other hand, pretends that there is no uncertainty about future income, and therefore consumes
The Moderation Ratio¶
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.

Figure 2:Moderation Illustrated:
The proof is more difficult than might be imagined, but the necessary work is done in Carroll & Shanker (2024) so we will take the proposition as a fact and proceed by manipulating the inequality:
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 , the realist behaves like the pessimist (maximum precautionary saving); when , the realist behaves like the optimist (no precautionary saving). Carroll & Kimball (1996) and Carroll & Shanker (2024) establish that under bounded shocks, strictly for all . Defining (which can range from to ), the object in the middle of the last inequality is
and we now define
which has the virtue that it is asymptotically linear in the limit as approaches . The method uses standard transformations for unbounded domains: logit maps to with inverse sigmoid ; log maps to . As (realist approaches optimist), ; as (realist approaches pessimist), .
Given , the consumption function can be recovered from
Thus, the procedure is to calculate at the points corresponding to the log of the points defined above, and then using these to construct an interpolating approximation from which we indirectly obtain our approximated consumption rule (an approximation to the true ) by substituting for in equation {eq}`eq:cFuncHi$.
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.’
Results are shown in Figure 3; a reader with very good eyesight might be able to detect the barest hint of a discrepancy between the Truth and the Approximation at the far righthand edge of the figure, a stark contrast with the calamitous divergence evident in Figure 1.

Figure 3:Extrapolated Constructed Using the Method of Moderation
A Tighter Upper Bound¶
Carroll & Shanker (2024) derives an explicit formula for the MPC at the natural borrowing constraint: where is the unemployment probability derived by Carroll & Toche (2009). This provides a tighter upper bound near the constraint, extending the explicit limiting MPC formulas established in buffer-stock theory by Ma & Toda (2021). Strict concavity of the consumption function implies for low wealth, while the optimist’s bound is tighter for high wealth.
The two upper bounds intersect at the cusp point:
This intersection occurs in the feasible region since under the stated conditions (the MPC is highest when wealth is lowest).
For , define the low-region moderation ratio using the tighter bound:
This ratio measures how far consumption per unit of wealth exceeds the optimist’s MPC, relative to the maximum possible excess. Applying the logit transformation and interpolating as before yields consumption satisfying both upper bounds throughout.
For computational robustness, construct a three-piece approximation: below the cusp using the tight bound, near the cusp using Hermite interpolation matching levels and slopes at adjacent gridpoints, above the cusp using the original optimist bound. This ensures continuous, differentiable consumption functions respecting all theoretical constraints.

Figure 4:A Tighter Upper Bound
Hermite Interpolation¶
The numerical accuracy of the method of moderation depends critically on the quality of function approximation between gridpoints. Although linear interpolation that matches the level of at the gridpoints is simple, Hermite interpolation offers a considerable advantage. Differentiating (10) with respect to yields a moderation form for the marginal propensity to consume:
where the weight . Theory guarantees at gridpoints where the Euler equation holds. At very high wealth, and the MPC approaches ; near the borrowing constraint, and the MPC approaches .
For Hermite interpolation, compute at gridpoints, then derive for slope data. By matching both the level and the derivative of the function at the gridpoints, Benveniste & Scheinkman (1979) and Milgrom & Segal (2002) show that the consumption rule derived from such interpolation numerically satisfies the Euler equation at each gridpoint for which the problem has been solved.
Extensions¶
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. Define the inverse value function transformation , which under perfect foresight equals (linear in market resources). The value moderation ratio measures proximity to the optimist’s value, with logit transformation applied as before. Interpolate at gridpoints and invert to obtain .
Stochastic Rate of Return¶
For i.i.d. returns with , Samuelson (1969)Merton (1969)Merton (1971) showed that for a consumer without labor income (or with perfectly forecastable labor income) the consumption function is linear, with an MPC . See Carroll (2020)Benhabib et al. (2018) for extensions. Simply substitute this stochastic MPC for throughout our formulas. The pessimist and optimist still perceive their income streams with certainty, but both face the same stochastic return. All moderation ratio calculations proceed identically. Extensions to serially correlated returns require tracking the return state as an additional state variable, complicating the analysis but not fundamentally altering the approach.
Conclusion¶
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. But many problems do have obvious upper and lower bounds, and in those cases (as in the consumption example used in the paper), the method may result in substantial improvements in accuracy and stability of solutions.
- Carroll, C. D. (2006). The method of endogenous gridpoints for solving dynamic stochastic optimization problems. Economics Letters, 91(3), 312–320.
- Leland, H. E. (1968). Saving and Uncertainty: The Precautionary Demand for Saving. Quarterly Journal of Economics, 82(3), 465–473. 10.2307/1879518
- Sandmo, A. (1970). The Effect of Uncertainty on Saving Decisions. Review of Economic Studies, 37(3), 353–360. 10.2307/2296725
- Kimball, M. S. (1990). Precautionary Saving in the Small and in the Large. Econometrica, 58(1), 53–73. 10.3386/w2848
- Stachurski, J., & Toda, A. A. (2019). An Impossibility Theorem for Wealth in Heterogeneous-Agent Models. Journal of Economic Theory.
- 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
- Carroll, C. D. (2001). Precautionary Saving and the Marginal Propensity to Consume (Working Paper No. 8233). NBER.
- 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
- Carroll, C. D., & Shanker, A. (2024). Theoretical Foundations of Buffer Stock Saving (Revise and Resubmit, Quantitative Economics). Johns Hopkins University. https://llorracc.github.io/BufferStockTheory/BufferStockTheory.pdf
- 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
- Friedman, M. (1957). A Theory of the Consumption Function. Princeton University Press.
- Muth, J. F. (1960). Optimal Properties of Exponentially Weighted Forecasts. Journal of the American Statistical Association, 55(290), 299–306.
- Carroll, C. D. (2020). Solving microeconomic dynamic stochastic optimization problems [Techreport]. Johns Hopkins University. https://www.econ2.jhu.edu/people/ccarroll/SolvingMicroDSOPs.pdf
- Aiyagari, S. R. (1994). Uninsured Idiosyncratic Risk and Aggregate Saving. Quarterly Journal of Economics, 109(3), 659–684. 10.2307/2118417
- Huggett, M. (1993). The Risk-Free Rate in Heterogeneous-Agent Incomplete-Insurance Economies. Journal of Economic Dynamics and Control, 17(5–6), 953–969. 10.1016/0165-1889(93)90024-m