Two Pitfalls of Linearization Methods
Abstract
This paper illustrates two types of pitfalls in using linearization methods. First, if constraints are linearized before deriving optimality conditions, the derived conditions are not correct up to first order. Second, even when the behavior of the economy is correct to the first order, applying this behavior to welfare implications may lead to incorrect results.
Finance and Economics Discussion Series Divisions of Research & Statistics and Monetary Affairs Federal Reserve Board, Washington, D.C. Two Pitfalls of Linearization Methods Jinill Kim and Sunghyun Henry Kim 2007-64 NOTE: Staff working papers in the Finance and Economics Discussion Series (FEDS) are preliminary materials circulated to stimulate discussion and critical comment. The analysis and conclusions set forth are those of the authors and do not indicate concurrence by other members of the research staff or the Board of Governors. References in publications to the Finance and Economics Discussion Series (other than acknowledgement) should be cleared with the author(s) to protect the tentative character of these papers.
Two Pitfalls of Linearization Methods ∗ Jinill Kim, Federal Reserve Board † Sunghyun Henry Kim, Tufts University ‡ August 17, 2007 Abstract This paper illustrates two types of pitfalls in using linearization methods. First, if constraints are linearized before deriving optimality conditions, the derived conditions are not correct up to first order. Second, even when the behavior of the economy is correct to the first order, applying this behavior to welfare implications may lead to incorrrect results. JEL Classification: C6. • Keywords: linearization; linear-quadratic method; second-order • approximation; welfare. 1 Introduction The economics profession has long been using linear models due to their simplicity, and linear modeling has been applied to forward-looking models A version without appendices was published in the Journal of Money, Credit and ∗ Banking, Vol. 39, No. 4. The views in this paper are solely the responsibility of the authorsandshouldnotbeinterpretedasreflectingtheviewsoftheBoardofGovernorsof the Federal Reserve System or any other person associated with the Federal Reserve System. Weappreciatediscussion with PierpaoloBenigno, AndyLevin, and MikeWoodford as well as editorial comments by Bill English and Jason Steinman. Corresponding Author, Division of Monetary Affairs, Mailstop 71, Federal Reserve † Board, Washington, DC 20551. Tel: (202) 452-2981, E-mail: jinill.kim@frb.gov. DepartmentofEconomics,TuftsUniversity,Medford,MA02155. Tel: (617)627-3662, ‡ E-mail: sunghyun.kim@tufts.edu. 1
as well as backward-looking ones. A related phenomenon is wide usage of a linear quadratic (LQ) framework in analyzing optimal policy problems, since the combination of a quadratic criterion function with a linear constraint is well known to yield a linear behavior for the optimal solution. However, this attractiveness of linear models has sometimes misled the profession to adopt certain kinds of linearization methods that can deliver spurious results. Inthispaper,wepresenttwotypesofpitfallsthatarisewhenlinearization methods are improperly applied in the dynamic macroeconomics literature. Our paper is not the first to point out such pitfalls; rather, this paper is intended to illustrate these two pitfalls in a succinct way and to distinguish between the two types of pitfalls.1 In solving an optimal policy problem whose criterion function and constraints are nonlinear, some researchers have linearized the constraint–as well as quadratically approximating the criterion function–before derivingtheoptimalityconditions.2 Theresultingoptimality conditions from this procedure are not a correct linear representation of the original nonlinear optimality conditions. A simple two-agent model will show that this pitfall leads to an implication that risk sharing can reduce the welfare level of an economy. While the first pitfall originates from the optimality conditions that are improperly derived, the second pitfall happens even after the optimality conditions are properly derived. In this case, since the nonlinear optimality conditions are a correct representation of the original model, a linear approximation of derived optimality conditions would yield a correct linear representation of the original model. However, when applied to calculate welfare levels, this linear approximation can generate incorrect welfare implications. Using the same two agent model as in the first pitfall, we demonstrate that linearization can yield a spurious result that the welfare level of the complete markets economy can be lower than that of autarky. This pitfall can occur in welfare evaluation of any equilibrium model, regardless of whether the optimality conditions are derived from optimization problems or given by ad hoc assumptions. The remainder of this paper proceeds as follows. Section 2 presents a model economy, which is used as an example for the discussion of the two 1See Judd (1998) and Benigno and Woodford (2006) for discussion on the first pitfall. Kim and Kim (2003) documented the second pitfall. 2In this paper, we use the term ‘optimality conditions’ rather than ‘first order conditions’, since the latter could be confusing due to the usage of ‘first order’ Taylor approximations throughout the paper. 2
types of pitfalls. Section 3 illustrates the first pitfall, and Section 4, the second pitfall. Some additional examples are included in the Appendix. 2 The Model For both types of pitfall, we use a simple two-agent endowment economy model with complete asset markets.3 Assuming symmetry, the competitive equilibrium of this economy is equivalent to a social planner problem maximizing the average of two agents’ utilities, U (C )+U (C ) 1 2 max (1) 2 subject to the aggregate resource constraint C +C = Y +Y . (2) 1 2 1 2 We assume that utility is a power function of consumption where the degree of risk aversion is γ, X1 γ 1 − U (X) = − , (3) 1 γ − Note that the second order approximation of this power utility function with ¯ respect to (logX) around logX is ¡ ¢ X 1 γ X 2 U(2)(X) = X¯1 γ log + − log , (4) − X¯ 2 X¯ " # µ ¶ µ ¶ wheretheconstantterm, X¯1 γ 1 /(1 γ), issuppressedforbrevitysince − − − we are not interested in the absolute level of welfare.4 ¡ ¢ Two endowment levels, denoted as Y and Y , are independent and log- 1 2 normally distributed, logY N μ,σ2 for i = 1,2. i ∼ 3This model is a static example; App¡endice¢s A and B include dynamic examples. See also Kim and Henderson (2005) for an application to a simple forwarding-looking case. 4For the same reason, we do not consider mean preserving spreads for the endowment distribution. 3
The optimality condition of this maximization problem is C = C and the 1 2 solution for consumption in this complete-markets economy is Y +Y Cexa = Cexa = 1 2 (5) 1 2 2 where the superscript ‘exa’ represents an exact solution for the complete markets economy. The (log-)linear approximation of this solution is Clin Clin 1 Y Y log 1 = log 2 = log 1 +log 2 . (6) C¯ C¯ 2 Y¯ Y¯ µ ¶ where the superscript ‘lin’ represents the linear approximation of the exact solution and the bar variables represent the deterministic steady state. Throughout the paper, we use the second order approximation of the utility function (4)–instead of the original utility function (3)–for welfare evaluation due to its simplicity and convenience for welfare comparison purposes. Substituting (4) into the social planner’s objective function (1), we have the following quadratic welfare criterion for the social planner: C ¯1 γ C C 1 γ C 2 1 γ C 2 − 1 2 1 2 log + log + − log + − log . 2 C¯ C¯ 2 C¯ 2 C¯ " # µ ¶ µ ¶ µ ¶ µ ¶ (7) 3 The First Pitfall: Linearizing the Constraint We first show how the first pitfall arises and then discuss ways to avoid this pitfall.5 Suppose we start by approximating the constraint (2) to the first order in logs before deriving optimality conditions: C C Y Y 1 2 1 2 log +log = log +log , (8) C¯ C¯ Y¯ Y¯ where C¯ = Y¯ = eμ. The first pitfall can occur when we maximize the quadratic criterion function (7) subject to this linearized budget constraint (8). 5Part of this section draws on Mike Woodford’s plenary lecture at the 2004 Society of Computational Economics Conference in Amsterdam. See also Benigno and Woodford (2004). 4
Due to symmetry, the necessary condition for optimality is C = C . 1 2 In the case of γ > 1, the objective function is concave with respect to log consumption so this condition is also sufficient. Therefore, the solution of this maximization problem would be the same as (6), a correct loglinear approximation of the exact solution. However, when γ < 1, the sufficient condition for concavity is not satisfied, and C = C does not correspond to 1 2 anoptimum.6 Infact,optimalitycomesunderacornersolution. Thatis,risk sharing reduces the level of welfare.7 The solution from this LQ problem– maximizing the quadratic objective function subject to a linearized budget constraint–can be different from a correct linear representation of the exact solution. This improper LQ setup is referred to as a “naive” LQ problem by Benigno and Woodford (2006). 3.1 Ways to avoid the first pitfall An evident way to avoid the first pitfall is to derive the optimality conditions based on the original nonlinear constraints and then to linearize the optimality conditions as well as the constraints. This method is widely used in dynamic macroeconomics. Recently, Benigno and Woodford (2004, 2005) provided another way to avoid this pitfall while keeping the linear quadratic framework in solving a general class of nonlinear optimization problems. Their critical step is to approximate the constraint (2) quadratically rather than linearly: C C 1 C 2 C 2 1 2 1 2 log +log + log + log C¯ C¯ 2 C¯ C¯ " # µ ¶ µ ¶ Y Y 1 Y 2 Y 2 1 2 1 2 = log +log + log + log . (9) Y¯ Y¯ 2 Y¯ Y¯ " # µ ¶ µ ¶ This quadratic constraint (9) can now be used to substitute out the linear terms in the objective function (7), which is then transformed into the fol- 6In general, the first pitfall leads to an optimality condition different from a linear representation of the correct optimality condition. For example, Benigno and Woodford (2006)usedthestochasticgrowthmodelasanexampleandillustratedhowthefirstpitfall alters the first-order behavior of the optimal taxation policies. 7Intheborderlinecaseoflogutility(γ =1),thesocialplannerisindifferenttowhether risks are shared between the two agents or not. 5
lowing quadratic form (without any linear terms for endogenous variables): C¯1 γ γ log C1 2 γ log C2 2 − −2 C¯ − 2 C¯ . 2 +log Y1 +log Y2 + 1 log Y1 2 + log Y2 2 " Y¯ ¡ Y¯ ¢2 ¡Y¯ ¢ Y¯ # h i Suppressing the exogenous terms that ar¡e inde¢pend¡ent of¢endogenous variables, we are led to the following purely quadratic objective function for the social planner: γC¯1 γ C 2 C 2 − 1 2 V (C ,C ) = log + log (10) 1 2 − 4 C¯ C¯ " # µ ¶ µ ¶ Nowwemaximizethistransformedquadraticobjectivefunction(10)subject to the linear constraint (8). The solution of this problemis (6) implying full risk sharing, and it is the correct loglinear approximation of the exact solution: avoiding the first pitfall. This “revised” LQ approach can be applied todynamicmodels, includingmodelswithbackward-lookingconstraintssuch as stochastic growth models and ones with forward-looking constraints such as optimal monetary policy. 4 The Second Pitfall: Linearizing the Model From now on, we assume that one is equipped with a correct linear representation of the optimality conditions. The second pitfall takes place when this set of linear equations (or its solution that expresses endogenous variables in terms of exogenous and predetermined variables) is used for welfare evaluations. Our illustration of how the second pitfall arises is based on the same model as was used for the case of the first pitfall. Linear representation of the correctly derived optimality conditions producestheloglinearsolution(6). Bypluggingthisequationintothequadratic welfare criterion function (7), we can calculate the welfare level of the complete markets economy based on the loglinear approximation of the optimality conditions: 1 Y Y 1 γ Y Y 2 U(2)(Clin ) = C¯1 γ log 1 +log 2 + − log 1 +log 2 complete − 2 Y¯ Y¯ 8 Y¯ Y¯ " # µ ¶ µ ¶ 1 γ = e(1 γ)μ − σ2 . (11) − 4 µ ¶ 6
In contrast, the level of welfare under autarky is Y 1 γ Y 2 U(2)(C ) = C¯1 γ log i + − log i autarky − Y¯ 2 Y¯ " # µ ¶ 1 γ = e(1 γ)μ − σ2 . (12) − 2 µ ¶ Comparison of these two welfare levels reveals that, when γ < 1, the welfare level of autarkyis higher thanthat of the complete markets economy. This result is clearlyspurious, giventhat it violates the first welfare theorem. In general, this second pitfall yields incorrect welfare implications. 4.1 Ways to avoid the second pitfall The revised LQ approach in the previous section, proposed by Benigno and Woodford, avoids the second pitfall as well. Suppose that we plug the loglinearsolution(6)intothepurelyquadraticobjectivefunction(10). Then, this criterion yields the following level of welfare under the complete markets economy: γC ¯1 γ 1 Y Y 2 V Clin ,Clin = − log 1 +log 2 complete complete − 4 2 Y ¯ Y ¯ " # µ ¶ ¡ ¢ γσ2 = e(1 γ)μ. − − 4 This value is higher than the level of welfare under autarky evaluated with the purely quadratic objective function (10), γC¯1 γ Y 2 Y 2 − 1 2 V (C ,C ) = log + log autarky autarky − 4 Y ¯ Y ¯ " # µ ¶ µ ¶ γσ2 = e(1 γ)μ, − − 2 and we have avoided the second pitfall. This approach can also be applied to evaluate the welfare implications of any sub-optimal economy. Anotherwaytoavoidthesecondpitfall,employedinKimandKim(2003), is the second order approximation of the economy–including the optimality 7
conditions as well as the constraints.8 That is, the solution need be of second order with respect to the exogenous and predetermined variables–as well as the standard deviation of shocks in a stochastic case. In the complete markets economy, the solution based on the second order approximation becomes Cquad Cquad 1 Y Y 1 Y Y 2 log 1 = log 2 = log 1 +log 2 + log 1 log 2 , (13) C ¯ C ¯ 2 Y ¯ Y ¯ 8 Y ¯ − Y ¯ µ ¶ µ ¶ where the superscript ‘quad’ denotes a quadratic approximation.9 Plugging this consumption solution into the quadratic welfare criterion function (7), we can derive the welfare level of the complete markets economy based on the second order solution of the model, 1 log Y1 +log Y2 + 1 log Y1 log Y2 2 U(2)(C c q o u m ad plete ) = C¯1 − γ " 2 ¡ Y¯ +1 − 8 γ Y l ¯ o ¢ g Y Y¯ 1 8 + ¡ log Y Y Y ¯ ¯ 2 − 2 Y¯ ¢ # 2 γ = e(1 γ)μ − σ2 ¡ ¢ (14) − 4 µ ¶ The welfare level is always greater than that under autarky as in (12) for any positive values for the risk aversion parameter (γ), thereby avoiding the second pitfall. 8A tradeoff exists between these two ways of avoiding the second pitfall. The latter methodiscomputationallymoreburdensome. However,itallowsustohandlecaseswhen we are interested in first moments other than welfare (e.g. average level of consumption) or do not accept the welfare criterion according to the timeless perspective. 9Intheprevioussectiononthefirstpitfall,themodificationofthecriterionfunctioninto a purely quadratic form involves the second-order properties of the constraint. Another element that affects the quadratic solution is the third-order properties of the constraint aswell asthecriterionfunction. It is interestingtonotethatthis element doesnotaffect the level of welfare. See Appendix C for the details. 8
References [1] Benigno, Pierpaolo, and Michael Woodford. (2006) “Optimal Taxation in an RBC Model: A Linear-Quadratic Approach,” Journal of Economic Dynamics and Control, 30, 1445—1489. [2] Benigno, Pierpaolo, and Michael Woodford. (2005) “Inflation Stabilization and Welfare: The Case of a Distorted Steady State,” Journal of European Economic Association, 3:6, 1185—1236. [3] Benigno, Pierpaolo, and Michael Woodford. (2004) “Linear-Quadratic ApproximationofOptimalPolicyProblems,”Manuscript,NewYorkUniversity. [4] Judd, Kenneth. (1998) Numerical Methods in Economics, MIT Press, Cambridge, MA. [5] Kim, Jinill, and Dale Henderson. (2005) “Inflation Targeting and Nominal-income-growth Targeting: When and Why are They Suboptimal?” Journal of Monetary Economics, 52, 1463—1495. [6] Kim, Jinill, and Sunghyun H. Kim. (2003) “Spurious Welfare Reversals in International Business Cycle Models,” Journal of International Economics, 60, 471—500. 9
Appendices A Growth Model This example shows how to apply the revised LQ approach to a simple deterministic growth model: ∞ max βtlogC t t=0 X subject to K = (1 δ)K +A Kθ C . t+1 t t t t − − This model can be generalized to a stochastic one without loss of generality. Fornotationalconvenience, theapproximationswillbeimplementedinterms of the logarithms rather than the levels. That is, the optimality conditions are 1 η exp(logC ) = 0, t t − η [(1 δ)exp(logK )+θexp(logA )exp(θlogK )] = β 1η exp(logK ), t t t t − t 1 t − − where η is the Lagrange multiplier. t To convert the linear terms of the utility function into a purely quadratic form, we need the following relationship among the steady-state values, 1 η¯exp logC¯ = 0, − η¯ (1 δ)exp logK¯ +θexp logA¯ exp θlogK¯ = β 1η¯exp logK¯ . ¡ ¢ − − Mu£ltiplying th¡e form¢er equatio¡n by ¢logC¡ logC¯¢¤, we have ¡ ¢ t − logC logC¯ η¯exp ¡logC¯ logC ¢ logC¯ = 0, t t − − − and the latt¡er by logK ¢logK ¯ , ¡ ¢¡ ¢ t − η¯Θ logK ¡ logK¯ = β ¢ 1η¯exp logK¯ logK logK¯ , t − t − − where ¡ ¢ ¡ ¢¡ ¢ Θ = (1 δ)exp logK¯ +θexp logA¯ exp θlogK¯ . − ¡ ¢ ¡ ¢ ¡ ¢ 10
By adding these two equations, we have the following relationship: c η¯exp logC¯ c +η¯Θk = β 1η¯exp logK¯ k , t t t − t − where ¡ ¢ ¡ ¢ c = logC logC¯, t t − ¯ k = logK logK. t t − Using this relationship, we transform the linear terms in the criterion function as follows: ∞ βtc t t=0 X = η¯ ∞ βt β 1exp logK¯ k +exp logC¯ c Θk − t t t − t=0 = η¯ X β 1K £¯k +C¯c ¡ Θk ¢ +β β ¡ 1K¯k ¢ +C¯c Θ ¤ k + − 0 0 0 − 1 1 1 − − ··· = η¯ β 1K ¯ k + C ¯ c Θk +K ¯ k +β C ¯ c Θk +K ¯ k + . £¡− 0 0 0¢ ¡1 1 1 ¢ 2 ¤ − − ··· ¯ ¯ The paren£thesized te¡rm in the last exp¢ressio¡n (i.e. Cc Θk¢ + Kk¤ ) t t t+1 − involvesthefirst-ordertermsofthesecond-orderapproximationofthecapital accumulation equation. Therefore, except for β 1K¯k that is predetermined − 0 and independent of policy, the last expression can be expressed as purely quadratic terms. B Optimal Monetary Policy This example illustrates an application of the revised LQ approach to an optimal policy problem with a nonlinear forward looking constraint.10 The policy problem is to max .5E 1 β ˜ ∞ β ˜i α(x κ)2 +π2 − t − t+i − t+i " # ³ ´X i=0 ¡ ¢ subject to ζ π = λx + x2 +βE [π ]+u . t t 2 t t t+1 t 10This problem modifies that of Clarida, Gali and Gertler’s “The Science of Monetary Policy” minimally to illustrate the revised LQ approach. 11
Note that the criterion function is not purely quadratic and also that the constraint has a quadratic term. The optimality condition for this problem is 1 α(x κ) φ (λ+ζx ) = 0,(i 0) t+i − − 2 t+i t+i = 1 β π + φ φ = 0,(i 1) t+i 2 t+i − 2β ˜ t+i − 1 = 1 π + φ = 0, t 2 t where φ is the Lagrange multiplier. Under the naive LQ approach, the t system would not contain ζ’s and the resulting dynamics do not match the first order behavior of the exact solution. Rewriting this constraint forward, we have ζ π = λx + x2 +βE [π ]+u t t 2 t t t+1 t ∞ ζ = βiE λx + x2 +u . t t+i 2 t+i t+i i=0 ∙ ¸ X That is, ∞ ∞ ζ λ βiE [x ] = π βiE x2 +u . t t+i t − t 2 t+i t+i i=0 i=0 ∙ ¸ X X The criterion function can be written as follows: .5E 1 β ˜ ∞ β ˜i α(x κ)2 +π2 − t − t+i − t+i " # ³ ´X i=0 ¡ ¢ = .5E 1 β ˜ ∞ β ˜i αx2 2ακx +ακ2 +π2 − t − t+i − t+i t+i |(β˜=β) " # ³ ´X i=0 ¡ ¢ ∞ = .5E (1 β) βi αx2 +π2 +.5ακ2 − t − t+i t+i " # i=0 X ¡ ¢ ακ ∞ ζ +(1 β) π βiE x2 +u − λ t − t 2 t+i t+i à ! i=0 ∙ ¸ X ακ ∞ ακ = (1 β) π .5E (1 β) βi α+ ζ x2 +π2 +t.i.p. − λ t − t − λ t+i t+i " # X i=0 h³ ´ i 12
The first term of the last expression reflects the inflation gain in the first period, which would disappear under the timeless perspective. The optimality conditions corresponding to the transformed criterion function are ακ 1 α+ ζ x ψ (λ+ζx ) = 0,(i 0) λ t+i − 2 t+i t+i = ³ ´ 1 1 π + ψ ψ = 0,(i 1) t+i 2 t+i − 2 t+i − 1 = ακ 1 π + ψ = 0, t − λ 2 t where ψ is the Lagrange multiplier. Note that the steady state of this t multiplier is zero in this transformed system. Even though two ζ’s appear in the first optimality condition, this parameter does not influence the linear solution of this system. However, the ζ that showed up in the transformed criterion function would still affect the level of welfare. C Third-Order Properties of Utility and Constraint Suppose that the criterion function of the social planner is ν C 3 ν C 3 1 1 2 2 logC +logC + log + log 1 2 3 C¯ 3 C¯ µ ¶ µ ¶ and that the constraint is ω C 3 ω C 3 1 1 2 2 C + log +C + log = Y +Y . 1 3 C ¯ 2 3 C ¯ 1 2 µ ¶ µ ¶ In this case, the quadratic solution is C 1 Y Y 1 log Y1 log Y2 2 log 1 = log 1 +log 2 + Y¯ − Y¯ , C ¯ 2 µ Y ¯ Y ¯ ¶ 8 " − (ν 1 − ν 2 −¡ ω 1 +ω 2 ) log ¢ Y Y¯ 1 +log Y Y¯ 2 2 # C 1 Y Y 1 log Y1 lo¡g Y2 2 ¢ log 2 = log 1 +log 2 + Y¯ − Y¯ . C ¯ 2 µ Y ¯ Y ¯ ¶ 8 " +(ν 1 − ν 2 −¡ ω 1 +ω 2 ) log ¢ Y Y¯ 1 +log Y Y¯ 2 2 # ¡ ¢ 13
That is, four third-order parameters do in fact affect the quadratic solution without affecting the level of welfare based on its quadratic approximation– a criterion of the revised LQ approach as well the quadratic perturbation approach. Intuition for this property comes from the reason why the revised LQ approach works in the first place. The reason why this approach works is that, though (10) is not any kind of approximation of (7) in general, the two expressions are equivalent up to the second order for all outcomes that are consistentwiththeconstraint. Inthesamevein, modificationofthecriterion function and the constraint would not affect (10)–and hence would have no influence on the level of welfare up to the second order. 14
Cite this document
Jinill Kim and Sunghyun Henry Kim (2007). Two Pitfalls of Linearization Methods (FEDS 2007-64). Board of Governors of the Federal Reserve System, Finance and Economics Discussion Series. https://whenthefedspeaks.com/doc/feds_2007-64
@techreport{wtfs_feds_2007_64,
author = {Jinill Kim and Sunghyun Henry Kim},
title = {Two Pitfalls of Linearization Methods},
type = {Finance and Economics Discussion Series},
number = {2007-64},
institution = {Board of Governors of the Federal Reserve System},
year = {2007},
url = {https://whenthefedspeaks.com/doc/feds_2007-64},
abstract = {This paper illustrates two types of pitfalls in using linearization methods. First, if constraints are linearized before deriving optimality conditions, the derived conditions are not correct up to first order. Second, even when the behavior of the economy is correct to the first order, applying this behavior to welfare implications may lead to incorrect results.},
}