Abstract¶
In a risky world, a pessimist assumes the worst will happen, while someone who ignores risk altogether is an optimist. Consumption is mathematically simple for both, since each behaves as if the world were riskless. A realist, who responds optimally to risk, faces a much harder problem but (under standard conditions) spends somewhere between 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 consumption rule over the entire range of feasible wealth 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 (EGM), which has become a standard tool for computing consumption at gridpoints determined endogenously using the Euler equation.
Unfortunately, this endogenous gridpoints solution is not very well-behaved outside the original range of gridpoints, though other common solution methods are no better outside their own predefined ranges. Figure 1 demonstrates the point. The figure shows the approximated precautionary component of saving, the amount by which the realist consumes less than an optimist with the same expected income path. Theory proves that precautionary saving is always positive, yet the linearly extrapolated numerical approximation eventually predicts negative precautionary saving. Under uncertainty, however, the consumption-saving rule must be evaluated outside any prespecified grid, because large positive shocks push a sufficiently wealthy individual’s next-period assets beyond the grid boundaries.

Figure 1:For Large Enough Resources , Predicted Precautionary Saving is Negative (Oops!)
This error cannot be fixed by extending the upper gridpoint. While extrapolation techniques can prevent this from being fatal, the problem is often dealt with using inelegant methods whose implications for accuracy are difficult to gauge.
This paper argues that, in the standard consumption problem, 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. Following Leland (1968), Sandmo (1970), and Kimball (1990), the ‘realist’ 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 perfectly confident in his pessimism.
We build on bounds for the consumption function and limiting MPCs established by Stachurski & Toda (2019), Ma et al. (2020), Carroll (2009), 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. For comparison, we use the endogenous gridpoints method Carroll, 2006 as our benchmark, which computes consumption at gridpoints determined endogenously using the Euler equation.
After presenting the method in the baseline case and documenting its accuracy, we collect its refinements and extensions, a tighter theoretical bound, the value function, and an extension to rate-of-return risk, in the appendix.
The Realist’s Problem¶
Consider a consumer who correctly perceives all risks. The consumer has CRRA utility over consumption with risk aversion parameter :
This utility function satisfies prudence (), which induces precautionary saving. The consumer maximizes expected lifetime utility, discounted by the time preference factor :
subject to , where denotes market resources and denotes assets. We focus on resources of the form , where denotes the interest rate, and labor income. Initially we take to be deterministic, and relax this later.
While our method can be adapted to a range of stochastic labor income processes, to fix ideas we suppose income evolves via the Friedman-Muth process (Friedman (1957) distinguished permanent from transitory income; Muth (1960) provided the stochastic framework). That is, where denotes permanent labor income and a transitory component. Permanent income growth is given by , where the gross growth factor . Here is the deterministic permanent income growth factor, while are permanent shocks with mean unity and bounded support where . Transitory shocks take 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., replacing with . When that is done, the Bellman equation for the value function of the transformed problem is
subject to the normalized transition , with Euler equation .
Carroll & Shanker (2024) gives conditions for a finite solution of the problem with a Friedman-Muth process. Consider the case of time-invariant , , and , and define the absolute patience factor . Then 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.
For expositional simplicity, in the numerical results that follow, we assume and set , (no permanent income growth or shocks). The figures display the next-to-last period of a finite horizon problem, where the last-period analytical solution provides exact boundary conditions. The method extends naturally to the infinite-horizon case and to general parameter configurations.
The Method of Moderation¶
The Optimist, the Pessimist, and the Realist¶
As a preliminary to our solution, define [1] 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 .[2] We similarly define [3] 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 . We refer to a consumer who expects to encounter this sequence of shocks as a ‘pessimist’. Their consumption decision rule is given by
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 infinite marginal 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 (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 rewrite the optimal consumption rules for the two perfect foresight problems in terms of excess resources and human wealth. The ‘pessimist’ perceives human wealth to be equal to its minimum feasible value with certainty, and so consumes a constant fraction of current excess resources
The ‘optimist,’ on the other hand, pretends that there is no uncertainty about future income, and therefore consumes the same fraction out of current excess resources and excess human wealth
The Moderation Ratio¶
The pessimist expects the worst possible income in every future period with certainty, and must finance all future consumption through saving; this generates the most aggressive saving behavior. A realist, by contrast, can reoptimize as uncertainty resolves each period, so need not prepare for the worst with certainty. At the same time, the adverse outcome remains possible, so even a wealthy realist maintains some precautionary saving: a sufficiently well-off individual is nearly (but never completely) self-insured, and thus mostly smooths consumption like the optimist. The realist therefore consumes strictly more than the pessimist but strictly less than the optimist at every wealth level, as shown in Figure 2.
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:
Subtracting in each of these inequalities and using equations (7) and (8) gives
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 .[4] Since , the ratio is the odds ratio, and is the log odds ratio, the same transformation that underpins logit regression in econometrics. The logit maps to with inverse sigmoid ; log maps to with inverse .
Given , the consumption function can be recovered from
Thus, the method of moderation 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 (13).
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 right-hand edge of the figure, a stark contrast with the calamitous divergence evident in Figure 1.

Figure 3:Extrapolated Constructed Using the Method of Moderation
Numerical Accuracy¶
Table 1 reports the method’s accuracy between each pair of gridpoints and for extrapolation out to , as the maximum absolute error on a dense subgrid of each interval. Except in the first interval, where it is about three times more accurate, the method of moderation is more than an order of magnitude more accurate than the basic endogenous gridpoints method, complementing related work on solution precision Chipeniuk, 2020.
Table 1:Maximum absolute approximation errors by interval. Orders of magnitude in parentheses.
| Method | |||||
|---|---|---|---|---|---|
| EGM | 8.6(-3) | 1.8(-4) | 2.5(-5) | 7.3(-6) | 1.1(-1) |
| MoM | 2.9(-3) | 4.3(-6) | 6.6(-7) | 1.3(-7) | 2.4(-3) |
The construction extends further in the Appendix. A tighter upper bound holds near the natural borrowing constraint for low-wealth consumers ((3)). The same idea approximates the value function: with the inverse value transformation , we form a value moderation ratio , interpolate its logit, and invert to recover ((8)). It also accommodates rate-of-return risk: with i.i.d. returns and certain income the optimal rule is linear (Merton-Samuelson), so the optimist’s and pessimist’s bounds extend and bracket the realist (Stochastic Rate of Return).
Conclusion¶
The method is not universally applicable: it requires known upper and lower bounds on the ‘true’ solution. But many problems have obvious bounds, and there (as in our consumption example) it can substantially improve the accuracy and stability of solutions. The method is efficient because the transformed moderation ratio is better-behaved than consumption, so a given grid yields substantially more accurate approximations. The gains are largest in the extrapolation region, where standard methods fail most severely.
Setting (the optimist’s assumption), human wealth in infinite-horizon is if . When , .
The MPC of the perfect foresight consumer: infinite-horizon .
Setting , minimal human wealth is if . When , .
Under the GIC, is asymptotically linear with slope as . We extrapolate linearly using the boundary slope, preserving and hence throughout the extrapolation domain.
- 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
- 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.2307/2938334
- 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
- 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. (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
- 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). Theory of the Consumption Function. Princeton University Press. 10.1515/9780691188485
- Muth, J. F. (1960). Optimal Properties of Exponentially Weighted Forecasts. Journal of the American Statistical Association, 55(290), 299–306. 10.1080/01621459.1960.10482064
- 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
