Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Galizia, Dana Article Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods Quantitative Economics Provided in Cooperation with: The Econometric Society Suggested Citation: Galizia, Dana (2021) : Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods, Quantitative Economics, ISSN 1759-7331, The Econometric Society, New Haven, CT, Vol. 12, Iss. 3, pp. 869-901, https://doi.org/10.3982/QE1491 This Version is available at: https://hdl.handle.net/10419/253600 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc/4.0/
Quantitative Economics 12 (2021), 869–901 1759-7331/20210869 Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods Dana Galizia Department of Economics, Carleton University Unlike linear ones, nonlinear business cycle models can generate sustained fluctuations even in the absence of shocks (e.g., via limit cycles/chaos). A popular approach to solving nonlinear models is perturbation methods. I show that, as typically implemented, these methods are incapable of finding solutions featuring limit cycles or chaos. Fundamentally, solutions are only required not to explode, while standard perturbation algorithms seek solutions that meet the stronger requirement of convergence to the steady state. I propose a modification to standard algorithms that does not impose this overly strong requirement. Keywords. Dynamic equilibrium economies, computational methods, nonlinear solution methods, limit cycles, chaos. JEL classification. C63, C68, E37. 1. Introduction Rational expectations models where nonlinearities play an important role have become increasingly used in macroeconomics in recent years. Unlike their linear counterparts, nonlinear models are in some cases capable of generating sustained fluctuations in economic aggregates even in the absence of stochastic forces, such as through limit cycle dynamics (i.e., endogenous fluctuations that repeat indefinitely in the absence of shocks).1A common criticism of many existing models of the business cycle is their perceived overreliance on unobserved (and often empirically unjustified) exogenous stochastic forces in matching the persistence and volatility found in the data. As shown in Beaudry, Galizia, and Portier (2016)andBeaudry, Galizia, and Portier (2020),2mod- els that feature limit cycles are capable of endogenously delivering that persistence and volatility, and need only be combined with relatively small stochastic forces in order to make fluctuations as unpredictable and irregular as those found in the data. This sug- Dana Galizia: [email protected] Thanks to Paul Beaudry, Josh Brault, Franck Portier, and anonymous referees for helpful comments. All errors are mine. 1The solution method in this paper can also be applied without modification to nonrepetitive endogenous fluctuations (i.e., chaos). However, the discussion will focus on limit cycles, which appear to be the more empirically plausible case. 2These papers were by no means the first to explore the relevance of limit cycles and/or chaos to macroeconomic fluctuations, and indeed this literature has a long history (see the references contained in Beaudry, Galizia, and Portier (2020)). However, combining such forces with more conventional stochastic ones appears to have gone largely unexplored in that earlier literature. ©2021 The Author. Licensed under the Creative Commons Attribution-NonCommercial License 4.0. Available at http://qeconomics.org.https://doi.org/10.3982/QE1491
870 Dana Galizia Quantitative Economics 12 (2021) gest that models featuring such “stochastic limit cycles” may be a promising avenue for business cycle research. For a model featuring a limit cycle to be useful for quantitative applications, one must be able to (at least approximately) obtain a solution to it. There is a substantial body of literature devoted to the development of approximate solution methods for nonlinear rational expectations models. These methods vary in complexity, computational burden, and accuracy. As several studies have noted (e.g., Gaspar and Judd (1997), Aruoba, Fernández-Villaverde, and Rubio-Ramírez (2006)), perturbation (i.e., Taylor approximation) methods are relatively simple, often produce a reasonable degree of accuracy, and are significantly faster than other popular alternatives, making them a good candidate for solving larger models and/or for use in estimation exercises. Perturbation methods would thus seem like an attractive choice for solving limit cycle models. However, standard perturbation algorithms3are incapable of dealing with such models. This fact—which, to my knowledge, this paper is the first to explicitly point out—has at least two important consequences. First, this potentially fruitful research avenue may have gone largely unexplored to date in part because of the unavailability of practicable solution methods. Second, there could in fact be existing models in the literature that can produce limit cycles for certain parameterizations, but for which (a) such parameterizations have been discarded because the researcher (or the software package used by the researcher) incorrectly believes that there is no solution to the model, or (b) in addition to solutions the researcher has found, there are additional solutions featuring limit cycles that have been inadvertently ignored. The reason standard perturbation methods cannot solve models featuring attractive limit cycles—cycles to which the system would eventually converge in the absence of any shocks—is straightforward. A solution to a rational expectations model is typically defined as a function that maps current predetermined variables into current jump variables/future predetermined variables, and that (1) implicitly satisfies a particular difference equation (DE), and (2) results in trajectories that do not explode, that is, that satisfy a transversality condition (TVC). Referring henceforth to a function that satisfies the DE (but not necessarily the TVC) as a “DE function,” a natural approach to finding such a solution is to search among DE functions—of which there is typically a finite multiplicity—for one that also satisfies the TVC. As is well known,4DE functions are generally indexed by their linear approximations about the steady state, and it is typically straightforward to obtain this indexing set directly from the DE using the implicit function theorem. Further, given a linear approximation to a DE function, it is straightforward to sequentially obtain the associated second-order Taylor approximation, then third-order, etc., up to any desired approximation order. Thus, when using a perturbation approach, selecting from among the set of 3See, for example, Judd (1996), Judd and Guu (1997), Uhlig (1999), Schmitt-Grohé and Uribe (2004), Aruoba, Fernández-Villaverde, and Rubio-Ramírez (2006), Gomme and Klein (2011), Kollman et al. (2011), and Caldara et al. (2012). See Fernández-Villaverde, Rubio-Ramírez, and Schorfheide (2016)(Section4)for a recent comprehensive overview of these methods. 4See, for example, Judd (1998).
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 871 DE functions boils down to selecting from among the set of linear approximations that index those functions. The linear approximation selected by standard perturbation algorithms is the one that solves the linearized model (LM), that is, the model obtained by linearizing the DE. Since the LM is by definition linear, its trajectories generically either converge to the steady state or explode.5Thus, a trajectory satisfies the LM TVC if and only if it is convergent. However, if the solution to the original nonlinear model features an attractive limit cycle then, by construction, its linear part will not be convergent and, therefore, this linear part cannot be a solution to the LM. Put more succinctly, standard perturbation methods only look for convergent solutions and, therefore, cannot find solutions involving limit cycles. In practice, when the unique solution involves a limit cycle, typical software packages (e.g., Dynare) would, for a single solution attempt, generally report an error indicating that the Blanchard–Kahn conditions are violated, while in an estimation exercise the associated parameterization would typically be discarded. The present paper describes a relatively simple way to extend standard perturbation methods so as to be able to accommodate solutions that feature limit cycles. Essentially, rather than assuming that a DE function satisfies the TVC only if its linear approximation is a solution to the LM, the method described below proposes to actually check each DE function to see whether it satisfies the TVC. In practice, this involves obtaining higher-order perturbation approximations to each DE function, and then simulating numerically to check whether trajectories explode. Importantly, the method is a strict generalization of standard methods, and can therefore be applied without modification to models that do not feature limit cycles (and in many cases without a significant increase in computational burden). Thus, one need not determine in advance whether limit cycles are relevant in order to apply the method. Other methods Perturbation methods are not the only possible way to solve models featuring limit cycles. Roughly speaking, solution methods for rational expectations models can be grouped into two classes. The first involves finding functions that (approximately) solve the DE. Within this class, there are two principal methods that have been used: local perturbation methods, as used in this paper, and the global projection methods formally introduced to economics by Judd (1992)andGaspar and Judd (1997) (among others). Because of their global nature, projection methods are often capable of delivering a higher degree of accuracy than perturbation methods. However, even in the simplest models, solution times are typically on the order of tens of seconds or longer, and increase rapidly with the number of state variables (and the desired degree of accuracy). As a result, estimation using projection methods is essentially infeasible in all but the very simplest of cases. In contrast, depending on the model and perturbation order used, solution 5When the endogenous part of the LM has eigenvalues lying exactly on the complex unit circle, there may also exist trajectories that neither converge nor explode. To keep the discussion simple, I ignore these cases since in practice they typically correspond to a measure-zero of the parameter space. Nonetheless, the solution method described below will automatically deal with them.
872 Dana Galizia Quantitative Economics 12 (2021) times for perturbation methods are often on the order of fractions of a second. For example, in the application of Section 5, which features a model with four state variables (putting it at the high end among cases to which projection methods have been applied in the literature), a single solution using a third-order perturbation takes less than 0.01 seconds, while still delivering a reasonable degree of accuracy. Further, in addition to their heavier computational burden, projection methods are also typically more complicated to implement, and, in order to optimize computation times (a top priority with such methods), are frequently coded in a low-level programming language like Fortran or C++. In contrast, perturbation methods are relatively simple to implement, and are able to deliver fast solution times even when coded in a high-level language like MATLAB. The second class of solution methods is based on solving for agents’ value functions by iterating on the Bellman equations of the model. Similar to the projection methods discussed above, the principal drawback of these methods is their computational burden. This is especially acute in cases where the first welfare theorem fails to hold, since one must simultaneously solve not only for the private value and policy functions, but also for each function mapping the aggregate state into a relevant price (or other coordinating mechanism). Since limit cycles may be especially relevant when there are strategic complementarities,6in which case the first welfare theorem would fail, this is precisely an application in which value function methods would be especially computationally expensive. Furthermore, complementarities may in fact cause the search problem to become nonconvex, in which case numerical algorithms are not guaranteed to converge. The remainder of the paper is organized as follows.7Section 2outlines the main elements of the solution algorithm as it applies to deterministic models. While modern business cycle analysis is conducted mainly using stochastic models, focusing first on the deterministic case allows the basic ideas underlying the method to be conveyed in the simplest possible setting. Section 3then discusses how one can implement the method in practice. Section 4extends the discussion to the more general stochastic case and discusses computation. Section 5illustrates the method by applying it to a microfounded model that features a stochastic limit cycle, and finally Section 6concludes. 2. The deterministic case To make exposition of the method as simple as possible, this section addresses deterministic environments. Once results and intuition have been established for this case, it will be straightforward to extend them to the stochastic case in Section 4. 6See Beaudry, Galizia, and Portier (2020). 7For considerations of length, it will generally be assumed that the reader has a basic familiarity with standard nonlinear perturbation algorithms (both theory and implementation). See Fernández-Villaverde, Rubio-Ramírez, and Schorfheide (2016, Section 4), for an overview of these standard methods.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 873 2.1 Set-up Suppose xt∈Rnis a vector of endogenous variables at date t, and the economy evolves deterministically according to the potentially nonlinear difference equation xx=0(1) where xdenotes current-period values, xdenotes values in the subsequent period, and :R2n→Rnis a locally C∞function.8We take as primitive (and known to the researcher). Letting a function with a subscript denote its Jacobian with respect to the subscripted argument, we impose the following assumptions. Assumption 1. (xx) =0has a unique solution,which we denote ¯ x. Assumption 2. For any x,there is a unique solution to (1)for x,and x(¯ x ¯ x) is invertible. Assumption 1ensures that the system has a unique steady state (SS).9This SS will serve as the natural point around which to perturb the system. Assumption 2, meanwhile, requires both that, given x, a solution for xexists (an unrestrictive assumption in most settings) and that this solution is both globally unique and unique to a first-order approximation. Uniqueness in turn requires as a first step that all “static” relationships be eliminated from the system. Assumption 2can be easily relaxed to accommodate static relationships (e.g., as in King and Watson (1998), Klein (2000), or Sims (2002)for the case of linear models), though at the cost of significantly obscuring the intuition. We therefore maintain Assumption 2for now, and relax it below in Section 4when discussing the more general stochastic case. Without loss of generality, henceforth make the normalization that the unique SS is given by ¯ x=0. Partition the state vector as x=(yz),wherey∈Rnycorresponds to the set of variables that are predetermined at date t,z∈Rnzcorresponds to the set of variables free to change at date t(i.e., the jump variables), and ny+nz=n. A solution to the model takes the form of a pair of functions π:Rny→Rnyand φ:Rny→Rnzgiving, respectively, yand zas functions of the current predetermined variables y. Specifically, we have the following. Definition 1. A model solution (π φ) is a pair of functions such that, for some open subset Θcontaining zero (the SS), we have yφ(y)π(y)φπ(y)=0∀y∈Θ (2) 8In practice, we only require that be Ck,wherekis at least as big as the desired perturbation order. 9One can replace Assumption 1with the less stringent assumption that there is only one relevant SS; that is, that there is only one SS of practical interest. This will allow the method to address, for example, models in which capital is a necessary input to production, which typically feature as an uninteresting SS the one associated with no capital.
874 Dana Galizia Quantitative Economics 12 (2021) and for each y∈Θ, limsup t→∞ xt<∞(3) where xt=(ytzt),y0=y,yt=π(yt−1),andzt=φ(yt). In this definition, ·denotes the Euclidean norm. Note that, since we will employ Taylor approximations, we are inherently restricted to considering only local dynamics, hence the focus on Θ. We also assume (as is always implicitly the case for perturbation methods) that is such that, if a unique model solution exists, then it is analytic on Θ. As we will only be interested in actually obtaining a solution when it is unique,10 this assumption will allow us to focus our search within the set of analytic functions. Also of interest will be the linearized system. Let A≡−−1 xx where a Jacobian without an argument gives its value evaluated at the SS. The linearized system is thus given by x=Ax Let Λdenote the set of eigenvalues of A. For an eigenvalue λ∈Λ,lete(λ) denote the corresponding generalized eigenspace, and let r(λ) ≡Ree(λ)⊕Ime(λ) where Re[a]and Im[a]denote the real and imaginary parts of a, respectively, and ⊕denotes the direct sum.11 We will refer to r(λ) as the real generalized eigenspace (RGE) associated with λ.Notethatr(λ) =r(λ) (where λdenotes the complex conjugate), r(λ) is an A-invariant12 linear subspace, and if λis real then the dimension of r(λ) is the same as e(λ), while if it is complex the dimension is twice that of e(λ). Finally, let Wdenote the set of all A-invariant linear subspaces of Rn(excluding the trivial A-invariant subspace {0}), and let Sdenote the set of analytic function pairs (πφ) satisfying (2) (regardless of whether they also satisfy (3)). 2.2 Some useful properties For ease of exposition, in the remainder of Section 2, we assume that all eigenvalues of Ahave algebraic multiplicity one. While this assumption is usually not restrictive (cases with repeated eigenvalues typically represent a measure zero of the parameter space), we will nonetheless relax it in Section 3below when discussing how to implement the method in practice. Note that this assumption implies that RGEs corresponding to real 10Issues related to indeterminacy are addressed in Section 3. 11The direct sum of two sets Xand Yis given by X⊕Y≡{x+y:x∈Xy ∈Y}. 12AsetMis invariant with respect to a function Fif x∈Mimplies F(x) ∈M.ByA-invariant, we mean invariant with respect to the function x→ Ax.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 875 eigenvalues always have dimension one, and those corresponding to complex eigenvalues always have dimension two. It also implies that w∈Wif and only if it is either an RGE itself, or the direct sum of two or more RGEs. Since they are analytic by assumption, the functions (π φ) ∈Scan be equivalently and uniquely represented by their sets of partial derivatives (of every order) evaluated at the SS. The first-order SS derivatives (πyφy)clearly must satisfy the linear approximation of (2), that is, y+zφy+yπy+zφyπy=0∀y (4) As is well known, while there are typically multiple solutions (πyφy)to (4), given any one such solution, using (2) we can sequentially and (typically) uniquely obtain all higher-order SS derivatives of πand φ.13 In this sense, the elements of Sare indexed by the solutions of (4). Given a pair of functions (π φ) ∈S,let M(φ)≡(yz) ∈Rn:y∈Θ z =φ(y) be the ny-dimensional surface in Rnmapped out by z=φ(y),y∈Θ,and W(φ)≡(y z) ∈Rn:y∈Rnyz=φyy be the ny-dimensional linear subspace tangent to M(φ) at x=0. The following proposition establishes that W(φ)is A-invariant.14 Proposition 1. If (πφ) ∈S,then W(φ)∈W. All proofs are in Appendix B in the Online Supplementary Material (Galizia (2021)). The next proposition establishes a similar result in the reverse direction: if wis an A-invariant linear subspace that is mapped out by z=ψy,y∈Rny, for some matrix ψ, then there is a pair (πφ) ∈Swith M(φ) tangent to wat x=0(or, equivalently, there is apair(πyφy)satisfying (4)withφy=ψ). Proposition 2. Define W∗as follows:w∈W∗if and only if (i) w∈W,and (ii) there is a matrix ψsuch that we can write w=(yz) ∈Rn:y∈Rnyz=ψy(5) Then for any w∈W∗,there exists a pair (π φ) ∈Ssuch that W(φ)=w.Further,the eigenvalues of πyare given by the eigenvalues associated with the RGEs that make up w. 13To obtain SS derivatives of order k≥2given SS derivatives up to and including order k−1,firstobtain all kth-order derivatives of (2), and then evaluate the results at the SS. The resulting system of equations will be linear in the kth-order SS derivatives (the only unknowns), and a unique solution for them will typically exist. See Fernández-Villaverde, Rubio-Ramírez, and Schorfheide (2016) (Section 4), and the example of Section 2.5 below. 14The properties highlighted by Propositions 1and 2in this section are not novel. However, I am not aware of any existing explicit statement of these results in the literature. Given that they form the basis for the proposed solution method, it is worth explicitly stating (and formally proving) them here.
876 Dana Galizia Quantitative Economics 12 (2021) Figure 1. Illustrating Propositions 1and 2.Notes:ThefigureisforthecasewhereAhas two distinct real positive eigenvalues, one stable and one unstable. The wj’s are the elements of W∗, and the mj’s are the associated elements of S. Together, Propositions 1and 2establish an equivalence between first-order approximations of functions satisfying (2), and A-invariant linear subspaces. The last part of Proposition 2further establishes that the dynamics associated with any (πφ) ∈S— which are driven by the “projected” system y=π(y)—are, to first order, determined to by the eigenvalues associated with W(φ). The content of these Propositions is illustrated by example in Figure 1,whichshows aphasediagramforasimplecasewithny=nz=1of the type often encountered in macro. In particular, Ais taken to have two distinct real positive eigenvalues, with one stable and one unstable. The first element of all eigenvectors is taken to be nonzero, and thus there are two w’s in W∗, given by the two (one-dimensional) RGEs. These are shown as the gray lines w1and w2in the figure, where w1is associated with the stable eigenvalue and w2the unstable one. From Proposition 2, associated with each wjis a pair of functions (πφ) ∈Sfor which M(φ) is tangent to wj. These latter surfaces are shown as the thick black curves m1and m2in the Figure. Since w1is associated with the stable eigenvalue, the dynamics along m1converge (at least locally) to the SS. Conversely, since w2 is associated with the unstable eigenvalue, the dynamics along m2diverge from the SS. These convergence/divergence properties are indicated by the arrows placed along m1 and m2. 2.3 The solution method The results in Section 2.2 suggest a way to find (analytic) functions (πφ) satisfying (2). First, find an element w∈W∗using any of the well-established numerical methods for doing so. Then, for such a w, one can obtain the associated (πyφy)as suggested by Proposition 2, and then use it to obtain the sequence of higher-order derivatives of π and φin the usual way.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 883 solution does in fact exist (and is unique), and is given by (π(1)φ(1)), with the resulting dynamics of the system governed (to a third-order approximation) by (12)forj=1. 3. Implementation This section discusses how the solution method may be implemented in practice, including how to apply it to a more general environment than described above, how one can speed up the computation in practice, and how to deal with issues related to indeterminacy. 3.1 Generalizing the problem Before proceeding with implementation details, we first generalize the problem. First, we will no longer require that all eigenvalues of Ahave algebraic multiplicities equal to one. Second, up to now we have largely ignored the issue of indeterminacy. In particular, we have only sought solution functions (πφ) that map yinto yand z.Thisisoverly restrictive, however. In reality, the only fundamental restriction placed on solution functions is that, since they are predetermined, elements of the current ymay not be outputs of any of these functions. However, it is in principle allowed for one or more elements of the current zto be inputs of the functions determining yand the remaining values of z. The structure of Definition 1does not allow for this, so we now generalize it. In particular, given a set Qof indices chosen from the set {1nz},letube the subvector of zcorresponding to these indices, let ˆ y≡(yu),letˆ zbe the remaining jump variables, and if necessary re-order the elements of xso that x=(ˆ y ˆ z). The discussion in Section 2—and in particular Definition 1—corresponds to the special case where Qis empty. We thus generalize Definition 1as follows. Definition 2. A model solution is a quadruple (Qπφχ) that satisfies Definition 1 after replacing yand zwith, respectively, ˆ yand ˆ z, and, for a given initial y=y0, setting the initial value of ˆ yto ˆ y0=(y0u0),whereu0=χ(y0). We will henceforth use Definition 2. Note that if we can find a model solution with Q nonempty and where there is more than one possible choice for the function χpinning down the initial value of u, then there typically exists a multiplicity of solutions; that is, we would have indeterminacy. As should be clear, for any given Q, after making the same replacements detailed in Definition 2, all results and analysis of Section 2go through without any further modification. In particular, each Qis associated with a set W∗ Qof A-invariant linear subspaces from Proposition 2,andasetSQof pairs of analytic functions (π φ) satisfying (2), each of which is associated with a W(φ)∈W∗ Q. Thus, finding analytic model solutions for any Qcan be done exactly as detailed above for the special case where Qis empty.
884 Dana Galizia Quantitative Economics 12 (2021) 3.2 Finding elements of S In this subsection, we discuss how to find elements of S=S∅,thatis,SQfor the special case where Qis empty. As noted above, it is straightforward to extend this procedure to any Q. The algorithm uses real Schur decompositions of the matrix Ato generate elements of W∗ ∅. Such a decomposition is given by A=UTU,20 where Bindicates the transpose of B,Uis a real orthogonal matrix (and in particular, UU=In), and Tis a real block-upper-triangular matrix with the following properties: (a) the diagonal blocks are all either 1×1or 2×2; (b) the real eigenvalues of Aappear in the 1×1blocks; and (c) the eigenvalues of each 2×2block are a complex pair, and equal to such a pair from A.Note that this decomposition is not unique. Given such a Schur decomposition of A, consider the first q>0columns of U,denoted U1, and the upper-left q×qblock of T, denoted T11 (where we require only that this partition does not split one of the 2×2diagonal blocks of Tdescribed in property (c) above). As is well known, the columns of U1form a basis for a q-dimensional A- invariant linear subspace; that is, the column space wof U1is an element of W.Further, the convergence properties of the system x=Ax restricted to ware governed by the eigenvalues of T11. Finally, for any element w∈Wwith dimension q, we can always find a Schur decomposition of Asuch that the column space of U1is precisely w.Thus,in principle we can generate any element of Wthrough an appropriate choice (and partition) of the Schur decomposition. While the particular ordering of a Schur decomposition (which determines which element of Wis spanned by the columns of U1) is unpredictable for standard numerical implementations, a given Schur decomposition can be “reordered” so as to obtain an alternative Schur decomposition for which the first qcolumns of Uare a basis for a different element of W.21 It would be useful if, by considering every possible reordering of a given Schur decomposition, we could so generate every possible element of W.Unfortunately, if we wish to allow for the possibility of eigenvalues with algebraic multiplicities greater than one (as we now do), this will not generally be the case. In particular, when A has at least one eigenvalue with a geometric multiplicity greater than one, Wwill have an uncountable number of elements. For example, for two linearly independent eigenvectors associated with the same real eigenvalue, every linear combination of these eigenvectors is also an eigenvector, and the space wspanned by that new eigenvector is an element of W. We can clearly generate an uncountably infinite number of w’s in this way. Since there are only a finite number of possible reorderings of the Schur decomposition, it is clearly not possible to find every element of Win this way, and indeed it will not be feasible in practice to find every one of the infinite number of elements of W using any algorithm. By necessity, we thus make the following additional assumption. 20See, for example, Golub and Van Loan (1996, Chapter 7). Numerical routines to compute a real Schur decomposition are widely available. In MATLAB and Julia, it can be done using the function schur which, for a real matrix, computes the real Schur decomposition by default. For implementation in Fortran or C++, various routines are available, including the LAPACK routine dgees. 21Reordering of the real Schur decomposition can be done using the function ordschur in MATLAB and Julia,ortheLAPACKroutinedtrsen in Fortran or C++.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 885 Assumption 4. Suppose there exists a unique model solution (πφ).22 Then for any eigenvalue λ,if W(φ)and r(λ) have any nonzero element in common,then r(λ) ⊆W(φ). Assumption 4states that, aside from the zero vector (which is always an element of both W(φ)and r(λ)), W(φ)cannot contain only part of a given RGE: either the whole RGE is contained in W(φ),ornoneofitis. 23 Let Rbe the set of RGE’s of A. Under Assumption 4,W(φ)is the direct sum of a subset of Rwhose dimensions sum to ny.SincethereareatmostnRGE’s (fewer if Ahas any complex or repeated eigenvalues), it is feasible to compute direct sums of each possible combination of the elements of Rwhose dimensions sum to ny(though in general, as we show in Section 3.3, it will not be necessary to do so). This suggests a simple way to find a solution if it exists. First, obtain any Schur decomposition A=UTU.Next,letr(λ1) r(λk)be kdistinct elements of Rwhose dimensions sum to ny. Re-order the Schur decomposition so that the upper-left ny×ny block of Thas eigenvalues λ1λk(with the same algebraic multiplicities as they appear in A) along with the corresponding conjugates of any complex λj’s. The first ny columns of Uare then a basis for w≡r(λ1)⊕···⊕r(λk)∈W∗ ∅. By Proposition 2,24 associated with this wis a (π φ) ∈S∅such that W(φ)=w. Partitioning Uand Tconformably with x=(yz) as U=Uyy Uyz Uzy UzzT=Tyy Tyz 0Tzz as noted in the proof of Proposition 2, the first-order Taylor coefficients for these functions are given by πy=UyyTyyU−1 yy φy=−U−1 zz U yz These coefficients can then be used in the usual way to sequentially obtain higher-order coefficients up to the desired order. One can then simulate to check whether the resulting approximate system satisfies (3).Ifitdoes,wehavefoundamodelsolution.Wecan then repeat this procedure for each different combination of RGEs whose dimensions sum to nyin order to find every model solution for Qempty, and then repeat the procedure for each possible Q(of which there are a finite number). 3.3 Narrowing down the search The algorithm above involves checking every possible combination of RGEs whose dimensions sum to at least nyto see whether the approximated system satisfies (3). However, we can often avoid checking many (even most) of these combinations. In many 22Recall that uniqueness implies that the only model solution has Qempty. 23Assumption 3—which standard algorithms use, but the present method does not—implies Assumption 4. Thus, we have essentially replaced Assumption 3with the much weaker Assumption 4. 24It can be verified that Propositions 1–2do not rely on the simplifying assumption that there are no repeated eigenvalues, and thus also apply here where we have relaxed this assumption.
886 Dana Galizia Quantitative Economics 12 (2021) applications, one is only interested in the actual model solution if it is unique, so if at any point a second model solution is found one can stop searching for more. We can also use theory to rule out many of the combinations, as established in the following proposition. Proposition 3. Let λbe an eigenvalue of A. (i) Suppose λis real with λ>1.Then for any Qand any (π φ) ∈SQfor which r(λ) ⊂ W(φ),(πφ) violates (3). (ii) Suppose (a) there exists a unique model solution (πφ),(b)|λ|<1,and (c) we can write r(λ) ={Vy:y∈Rny}for some n×nymatrix V.Then r(λ) ⊂W(φ). Part (i) of Proposition 3implies that we need only consider Schur reorderings for which Tyy has no real, positive, unstable eigenvalues. Part (ii) implies that, if we are willing to assume that a model solution is unique whenever it exists, then we also need only consider reorderings for which every stable eigenvalue appears in Tyy.25 The intuition for Proposition 3is easiest to see in the simple case where ny=nz=1 and Ahas two distinct real eigenvalues. To see part (i), suppose by hypothesis that λ>1, and (πφ) ∈S∅is such that r(λ) ⊂W(φ)(and thus r(λ) =W(φ)). Consider the evolution of yfor this solution, given by y=π(y).ThissystemhasaSSaty=0, and the dynamics near that SS are given to a first-order approximation by y=λy. Since λ>1,thereare two possible configurations for the function π, displayed separately in panels (a) and (b) of Figure 5. In the first configuration, illustrated in panel (a), πcrosses the 45-degree line at one or more nonzero points (in addition to the crossing at zero). Each additional crossing, however, would represent an additional SS of y=λy and, therefore, an additional SS of (1), a possibility that is ruled out by Assumption 1. Thus, this configuration for πcannot occur under the maintained assumptions. The remaining possible configuration, wherein πcrosses the 45-degree line at only one point (zero), is illustrated in panel (b). In this case, as long as the initial y= 0,|y|will grow over time without bound (as illustrated by the gray line in the figure). Since ybecomes unbounded, so does x,and thus (3) becomes violated, which in turn implies that (π φ) cannot be a model solution. To see part (ii) of Proposition 3, suppose instead that |λ|<1,andthereexistsa unique model solution (π φ).Let(π∗φ∗)be the element of S∅associated with λ,whose dynamics are driven by y=π∗(y).Forysufficiently close to zero, the system is dominated by its linear part, π∗ y=λ. Since |λ|<1, these trajectories converge to the SS, and thus (π∗φ∗)is a model solution. Since part (ii) supposes that any model solution is unique, φ∗=φ, and since r(λ) =W(φ ∗), it follows immediately that r(λ) ⊂W(φ). Proposition 3can significantly reduce the number of Schur reorderings that need to be checked. For example, in a modestly sized system with ny=nz=5and ndistinct real eigenvalues, there are 10-choose-5=252 possible reorderings to check. However, if, say, 3 of the eigenvalues of this system are stable, and a further 3 are real and greater than 25Note that (c) in part (ii) restricts attention to RGEs that can be written as a function of the predetermined variables. This condition is likely to be met for all RGEs in most practical applications (and can be easily checked).
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 887 Figure 5. Configurations For π(y) When λ>1. Notes: Figure illustrates the content of part (i) of Proposition 3for a system with ny=nz=1and for which Ahas two distinct real eigenvalues. The dynamics of a solution (π φ) associated with an eigenvalue λ>1are determined by the mapping y=π(y), which may either cross the 45-degree line multiple times (panel (a)), or one time (panel (b)). one, then using Proposition 3one could narrow down the set of re-orderings to check to 4-choose-2=6. For larger systems, the potential computational savings are even greater. 3.4 Indeterminacy Thus far we have largely proceeded under the assumption that if a solution exists then it is unique. In general, of course, this may not be the case. In this section, we discuss several ways to test for indeterminacy.26 It is worth emphasizing, however, that as with any solution method, without imposing more structure on the problem we generally cannot in practice ever entirely rule out the possibility of indeterminacy. Under Assumption 3, there is a simple diagnostic test for indeterminacy (originally stated in Blanchard and Kahn (1980)) that most macroeconomists are familiar with: the model features indeterminacy if and only if the number of stable eigenvalues of A, whichwedenotebyns, exceeds the number of pre-determined variables, ny.Whenreplacing Assumption 3with the less stringent Assumption 4(as we have), this result carries over, but in a weaker form. In particular, we have the following indeterminacy test (IT): Indeterminacy Test 1. If ns>n y, then the model features indeterminacy. 26If it turns out that a particular model features indeterminacy, the usefulness of the present paper comes to an end. In particular, it does not contain any results about how one might characterize the set of indeterminate solution paths in such cases (as, e.g., was done in Lubik and Schorfheide (2003)forthecaseof linear models). While such results could be useful, developing them is beyond the scope of this paper.
888 Dana Galizia Quantitative Economics 12 (2021) Notice that ns>n yis a sufficient condition for indeterminacy here, but is no longer a necessary one as it was under Assumption 3. Sufficiency of ns>n yfor indeterminacy can be seen directly from Proposition 3(ii), which implies that, if there is a unique solution (πφ), then all “stable” RGEs (i.e., those associated with stable eigenvalues) must be contained in W(φ). Since W(φ)necessarily has dimension ny(since (π φ) ∈Sin the case of a unique solution), if W(φ)is to contain all the stable RGEs then the sum of the dimensions of those stable RGEs—which equals ns—cannot exceed ny.Thus,IT1gives a simple way to test for indeterminacy that, in most applications, requires a negligible amount of computing time regardless of the size of the system. Of course, since ns≤ny does not necessarily rule out indeterminacy, further investigation may be merited. A second test for indeterminacy is given as follows: Indeterminacy Test 2. If there are multiple elements of S=S∅satisfying (3), then the model features indeterminacy. IT 2follows obviously from the fact that, by definition, if (π φ) is both an element of Sand satisfies (3), then it is a solution and, therefore, if there are multiple elements of Ssatisfying (3), we have multiple solutions. Thus, IT 2suggests that another way to test for indeterminacy is simply to check all elements of Sfor conformity with (3). In modestly sized systems, performing this check will not be very costly computationally, especially if one first uses Proposition 3(i) to rule out elements of Swherever possible. Furthermore, the extra computer code required to implement IT 2is negligible, making it quite simple to apply this test in practice. ITs 1and 2both provide sufficient conditions for establishing the presence of indeterminacy, but in neither case are those conditions necessary. In order to conclusively test for indeterminacy, one must instead use the following test: Indeterminacy Test 3. If there are multiple elements of Sall ≡QSQsatisfying (3), then the model features indeterminacy. IT 3involves testing, for every Q, each pair of functions (πφ) ∈SQ(see Definition 2) for conformity with (3). The set Sall containing all of these pairs of functions is in turn indexed by the set W∗ all made up of direct sums of RGEs whose dimensions sum to at least ny(rather than exactly ny,asisthecasewithW∗ ∅). Depending on the size and particular structure of the system, W∗ all could have a very large number of elements. Some of these may be eliminated from consideration by applying Proposition 3(i). The following proposition gives a way to further—and potentially greatly—reduce the number of elements that one must check for conformity with (3) when applying IT 3. Proposition 4. Suppose w∈W∗ all is associated with some model solution (Qπφχ), and that we can find w1w2∈W∗ all which are both distinct proper subsets of w.27 Then associated with each wjis a model solution (Qjπjφjχj),with (Q1π1φ1)= (Q2π2φ2). 27That is, wj⊂w,∃x∈wwith x/∈wj, and w1= w2.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 889 Proposition 4says that, if w∈W∗ all is associated with a model solution and contains two or more distinct elements of W∗ all as proper subsets, then there are at least two model solutions of a lower “dimension.” This implies that we do not need to check any elements of W∗ all that contain at least two such proper subsets.28 As an example, suppose the eigenvalues of Aare all real and distinct, so that the RGEs all have dimension one. If w∈W∗ all has dimension b>n y, it can be written as the direct sum of bRGEs. We can then generate an ny-dimensional proper subset of wby choosing nyof those bRGEs and taking their direct sum. We can generate multiple distinct proper subsets of win this way, each of which is also an element of W∗ all. Proposition 4implies that if wis associated with a model solution, then so is each of those subsets. It is therefore sufficient to look only for ny-dimensional model solutions in this example, since if we cannot find more than one of those then there cannot be any model solutions of a higher dimension. While Propositions 3(i) and 4can greatly reduce the computational burden associated with IT 3, the burden may still be significant, especially in larger systems. Further, these tools cannot address the other main drawback of applying IT 3, which is the added complexity of its implementation. For example, one must write code to identify the subset of W∗ all that does not have at least two other elements as proper subsets. Also, since the elements of this subset will in general have different dimensions, the code to obtain the derivatives of (2) must be adapted for different partitions x=(ˆ y ˆ z) (and possibly reorderings as well). While these are by no means insurmountable difficulties, they are not trivial either. 4. Extension to the stochastic case Extending the solution method to the stochastic case is straightforward. Letting be an n-vector of mean-zero i.i.d. innovations, assume that the evolution of the nθ-vector of exogenous stochastic variables θevolves according to θ=Πθ ζ for some function Π:Rnθ+n→Rnθ.Here,ζ∈R+is a “perturbation parameter”, which will be equal to one for the desired solution (see Fernández-Villaverde, Rubio-Ramírez, and Schorfheide (2016)). We assume that the nmodel equations governing the endogenous variables, expressed in deviations from the nonstochastic SS (i.e., the SS when ζ=0), can be written Exxθθ=0(13) where Edenotes expectation conditional on current information. To keep the presentation simple, assume that the endogenous state yis known one period in advance, and in particular yis not affected by the realized value of .29 In addition to extending the 28Note that if w∈W∗ all contains exactly one proper subset w1∈W∗ all, then it is not generally sufficient to check only the (π φ) associated with w1. 29One can typically recast the system in this way if need be. In any case, it is tedious but not difficult to adapt the discussion to the more general case.
890 Dana Galizia Quantitative Economics 12 (2021) model to the stochastic case, we also now relax Assumption 2to allow for the inclusion of “static” relationships in (13), and in particular we will no longer require that xbe invertible. A solution is defined analogously to Definition 130 as follows. Definition 3. A model solution (π φ) is a pair of functions such that, for some open subset Θcontaining zero, we have Eyφ(yθζ)π(yθζ)φπ(yθζ)Πθ ζζθΠθ ζ=0 ∀(yθζ)∈Θ;(14) and for each (yθζ)∈Θ, limsup t→∞ Ext<∞(15) where xt=(ytzt),(y0θ0ζ)=(yθζ),θt=Π(θt−1ζt),yt=π(yt−1θt−1ζ),andzt= φ(ytθtζ). We will take our perturbation approximations around the nonstochastic SS. Since ζequals one, not zero, for our desired solution, ζitself will be one of the variables in the Taylor expansion. For example, the first-order approximation to πwill in general be πθ·θ+πy·y+πζ·ζ, and in practice we will always feed ζ=1into this approximation. Of interest will be the linearized system, which we can write as xx+xEx+θθ+θEθ=0 Eθ=Πθθ or, combining, and letting A≡−x,B≡x,andC≡−(θ+θΠθ), BEx=Ax +Cθ (16) From this point, the solution method is a straightforward extension of the nonstochastic case. In particular, the set of functions (π φ) satisfying (14) is denoted by S, and as before this set is indexed by a set W∗of invariant linear subspaces wof (16)that canbewrittenasin(5)forsomenz×nymatrix ψ,withφy=ψthe first-order approximation to the associated solution, and the eigenvalues of πyare those associated with the RGEs making up w. The key differences are that, since we now allow for the possibility that x=Bis singular, (i) the eigenvalues in question are generalized eigenvalues of (A B),31 (ii) an invariant linear subspace of (16) is a linear subspace wsuch that for any x∈wthere is a unique x∈wsatisfying Bx=Ax, and (iii) the RGEs making up w∈W∗ are spanned by a set of generalized eigenvectors from the generalized eigenvalue problem. 30It is straightforward to adapt Definition 2to the stochastic case as well. 31λis a generalized eigenvalue of (A B) with associated eigenvector vif Av =λBv.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 891 In practice, the process for finding elements of W∗is now based on the generalized real Schur—or, more compactly, the (real) QZ—decomposition,32 that is, A=RT Uand B=RSU, which has the following properties: (i) Rand Uare each real orthogonal matrices, (ii) Tis a block-upper-triangular matrix, and (iii) Sis an upper-triangular matrix of the same rank as Bwith exactly n∞≡n−rank(B) zeros on the main diagonal.33 Further, for q>0, if the upper-left q×qblock S11 of Sis non-singular, and if the upper-left q×qblock T11 of Tdoes not split a diagonal block of T, then (i) the first qcolumns of Uform a basis for a q-dimensional invariant subspace w, and (ii) the eigenvalues of the associated RGEs are given by the eigenvalues of S−1 11 T11. Just like with an ordinary real Schur decomposition, real QZ decompositions can be easily reordered so as to generate the invariant subspace associated with any desired collection of (generalized) eigenvalues.34 4.1 Computation Details of how to compute the first-order approximation associated with a given reordering of the QZ decomposition are presented in Appendix A in the Online Supplementary Material (Galizia (2021)). MATLAB code is also provided to conduct this step.35 Given such a first-order approximation, one can then compute a higher-order approximation in the usual fashion. The general process for doing this is well known (see, e.g., Fernández-Villaverde, Rubio-Ramírez, and Schorfheide (2016)), and typically involves using software capable of analytically obtaining derivatives (such as Mathematica or the symbolic toolbox in MATLAB) to sequentially differentiate the appropriate model equations and then evaluate them at the SS. From these, one can then create functions that take as inputs the quantitative solutions for all kth-order and lower SS derivatives and output the SS derivatives of order k+1.36 5. Application This section applies the methodology to a version of the microfounded New Keynesian model of Beaudry, Galizia, and Portier (2020). In addition to some minor changes to 32See Klein (2000) and Golub and Van Loan (1996) (Chapter 7). 33In general, a QZ decomposition can have an Swith more than n∞zeros on the main diagonal in the rare case where zero is a defective eigenvalue of Bwith an associated eigenvector vthat is also an eigenvector of A. In our application, however, assuming xis rank-deficient due only to the inclusion of static relationships in (13) (and in particular, the mathematical relationships fundamentally allow for n∞of the current jump variables to always be solved for uniquely in terms of the remaining current endogenous and exogenous variables), it can be verified that this will never happen. 34The real QZ decomposition can be computed in MATLAB and Julia using the function qz with the “real” flag, and in Fortran or C++ using the LAPACK routine dhgeqz. Reordering can be done in MATLAB and Julia via ordqz, and in Fortran or C++ using the LAPACK routine dtgsen. 35See the MATLAB function InvSubGen.m, which is available in the Online Supplementary Material (Galizia (2021)). 36In the following section, we implement the proposed solution method for a particular example. The MATLAB code to do this is also provided, including code to obtain and use the relevant higher-order derivatives for that example.
892 Dana Galizia Quantitative Economics 12 (2021) the model itself, the application here differs from Beaudry, Galizia, and Portier (2020) in two key ways. First, Beaudry, Galizia, and Portier (2020) solve a restricted version of their model, whereas a general solution is obtained here for the full unrestricted model. Second, and more importantly, Beaudry, Galizia, and Portier (2020) use a third-order approximation for only one of the model’s equations (the risk premium equation), while the remaining equations are only linearly approximated. In contrast, here we nonlinearly approximate all of the model’s equations. The key features of the model are (i) equilibrium unemployment, (ii) limited enforcement of debt contracts, and (iii) sticky prices. The combination of these features causes households to face an endogenous risk premium on their borrowing that increases with the default rate, which is in turn increasing in the unemployment rate. Because prices are sticky, output is partially demand-determined, creating an equilibrium feedback mechanism: when unemployment increases, so does the risk premium, which raises the interest rate faced by households. This lowers household demand for consumption goods, causing output to fall, which lowers firms’ demand for labor, thus increasing the unemployment rate even further. This complementarity causes the steady state of the model to be unstable, and a limit cycle to appear. We briefly present the main components of the model here. Further details can be found in Beaudry, Galizia, and Portier (2020). The model features a continuum of households of mass one, each of which is made up of a continuum of mass one of workers. The head of the household maximizes E0 ∞ t=0 βtξt−1UCt−γC∗ t−1+ν(1−et) where β γ ∈(01)are parameters, Etdenotes expectation at date t,Cis consumption services enjoyed by the household, eis the fraction of household members employed, U and νare strictly increasing, concave utility functions, C∗denotes average consumption of all households (so that γC∗is an external habit term), and ξis an exogenous discount factor shock. Labor is assumed to be indivisible, with each employed worker supplying one unit of labor. Each morning, the household head dictates a reservation wage to the worker members, and instructs them to accept any job that meets that reservation wage. Workers then depart the household and proceed first to the consumption market, where they place orders for consumption to be received later that day. These orders must be paid for in advance, which requires the workers to borrow from the bank at endogenous nominal interest rate rt, with all debts to be repaid at the beginning of the next period. Importantly, consumption orders must placed and paid for—and therefore debts incurred— before individual workers know whether they will actually be employed. If a particular worker ends up unemployed, they will be unable to pay back their debts. In that case, with some probability φ<1the bank can recover the owed amount from the worker’s household by paying a cost t<1per unit of the loan, while with probability 1−φthere is no recourse for the bank, who must absorb the full amount of the default. As a result of this, the total expected loan repayment is [e+(1−e)φ](1+r) per unit of the loan.
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 899 Figure 11. Employment policy function (μ-Shock model). 5.3 Computation times While the Euler error plots in Figure 9make it clear that the global FE approximation dominates the local perturbation approximation in terms of accuracy, where the perturbation approximation shines is in terms of computation time. A solution run of the model for a single parameterization—and including both the μand zstochastic processes as state variables—takes around 0008 seconds on a 3.8GHz AMD Ryzen 9 3900X computer running Windows 10, and implemented entirely in MATLAB. This includes all steps of the solution algorithm, including finding the first-order solution coefficients associated with the elements of W∗, using these to obtain the higher-order coefficients, and then simulating 1000 periods of data using the resulting approximation in order to verify that the system does not explode. As a result of these fast running times, the estimations undertaken above were easily feasible, each taking less than 20 minutes. For the FE approximation, the time it takes to solve the model depends on a variety of factors, including the desired accuracy of the solution, the quality of the initial guess, and how well suited the particular nonlinear solver used is to the problem. In this case, for a single FE solution to the μ-shock model—which features one less state variable (i.e., z) than the perturbation approximation—computation times ranged from around 10 minutes (i.e., ∼80000 times longer than the perturbation method) to obtain a solution that was roughly as accurate as the perturbation solution, up to several hours to obtain the highly accurate FE approximation used in Section 5.2.42 While solution times of this magnitude may be acceptable for applications involving only a handful of parameterizations, they make estimation exercises—such as the ones conducted above using the perturbation approximation—largely infeasible using FE methods. 42For comparison purposes, both the perturbation and FE solutions were implemented entirely in MATLAB. While low-level languages such as Fortran or C++ can in some cases offer significant speed advantages over MATLAB, the expected gain is generally small for tasks that can be highly vectorized/parallelized, as FE methods can. Thus, while there may be some modest speed gains from using Fortran/C++,they would almost certainly be insufficient to make FE methods competitive with perturbation methods.
900 Dana Galizia Quantitative Economics 12 (2021) 6. Conclusion Nonlinear rational expectations models are becoming increasingly important in the macroeconomic literature. While there are a variety of algorithms that can be used to solve these models, perturbation methods are relatively simple to implement, fast to execute, and can produce a reasonable degree of accuracy. Indeed, outside of the simplest economic models, the perturbation approach is the only one that is sufficiently fast that it can feasibly be used for most estimation purposes. Standard perturbation algorithms fundamentally require the linear approximation of a solution to be linearly stable, so that all trajectories converge to the steady state. As a result, these methods cannot be applied to models that feature attractive limit cycles or chaos—which generally have linearly unstable solutions—effectively excluding a large class of interesting and potentially empirically relevant economic models. As argued in this paper, however, this limitation is not inherent to perturbation methods in general, only to the precise way in which existing algorithms implement them. In particular, I generalize existing perturbation algorithms and show that the approach can be used to solve rational expectations models that may (or may not) feature limit cycles or chaos. I then apply the method to a fully microfounded New Keynesian model in Section 5 and show that the method delivers reasonably accurate solutions, and in a small fraction of the time that it takes to solve the model using a more accurate global solution method (finite elements). References Aruoba, S. B., J. Fernández-Villaverde, and J. F. Rubio-Ramírez (2006), “Comparing solution methods for dynamic equilibrium economies.” Journal of Economic Dynamics and Control, 30 (12), 2477–2508. [870] Beaudry, P., D. Galizia, and F. Portier (2016), “Is the macroeconomy locally unstable and why should we care?” In NBER Macroeconomics Annual, Vol. 31 (J. A. Parker and M. Woodford, eds.), 479–530, The University of Chicago Press. [869] Beaudry, P., D. Galizia, and F. Portier (2020), “Putting the cycle back into business cycle analysis.” American Economic Review, 110 (1), 1–47. [869,872,891,892,893] Blanchard, O. J. and C. M. Kahn (1980), “The solution of linear difference models under rational expectations.” Econometrica, 48 (5), 1305–1311. [877,887] Caldara, D., J. Fernández-Villaverde, J. F. Rubio-Ramírez, and W. Yao (2012), “Computing DSGE models with recursive preferences and stochastic volatility.” Review of Economic Dynamics, 15, 188–206. [870] Fernández-Villaverde, J., J. F. Rubio-Ramírez, and F. Schorfheide (2016), “Solution and estimation methods for DSGE models.” Handbook of Macroeconomics, 2, 527–724. [870, 872,875,877,889,891] Galizia, D. (2021), “Supplement to ‘Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods’.” Quantitative Economics Supplemental Material, 12, https://doi.org/10.3982/QE1491.[875,891]
Quantitative Economics 12 (2021) Saddle cycles: Solving rational expectations models 901 Gaspar, J. and K. L. Judd (1997), “Solving large-scale rational-expectations models.” Macroeconomic Dynamics, 1 (1), 45–75. [870,871] Golub, G. H. and C. F. Van Loan (1996), Matrix Computations, third edition. The Johns Hopkins University Press, Baltimore, MD. [884,891] Gomme, P. and P. Klein (2011), “Second-order approximation of dynamic models without the use of tensors.” Journal of Economic Dynamics and Control, 35, 604–615. [870] Judd, K. L. (1992), “Projection methods for solving aggregate growth models.” Journal of Economic Theory, 58 (2), 410–452. [871,896] Judd, K. L. (1996), “Approximation, perturbation, and projection methods in economic analysis.” Handbook of Macroeconomics, 1, 509–585. [870] Judd, K. L. (1998), Numerical Methods in Economics. MIT press. [870] Judd, K. L. and S.-M. Guu (1997), “Asymptotic methods for aggregate growth models.” Journal of Economic Dynamics and Control, 21 (6), 1025–1042. [870,896] King, R. G. and M. W. Watson (1998), “The solution of singular linear difference systems under rational expectations.” International Economic Review, 39 (4), 1015–1026. [873, 877] Klein, P. (2000), “Using the generalized Schur form to solve a multivariate linear rational expectations model.” Jounral of Economic Dynamics and Control, 24 (10), 1405–1423. [873,877,891] Kollman, R., S. Maliar, B. A. Malin, and P. Pichler (2011), “Comparison of solutions to the multi-country real business cycle model.” Journal of Economic Dynamics and Control, 35, 186–202. [870] Lubik, T. A. and F. Schorfheide (2003), “Computing sunspot equilibria in linear rational expectations models.” Journal of Economic Dynamics and Control, 28 (2), 273–285. [887] Schmitt-Grohé, S. and M. Uribe (2004), “Solving dynamic general equilibrium models using a second-order approximation to the policy function.” Journal of Economic Dynamics and Control, 28, 755–775. [870] Sims, C. A. (2002), “Solving linear rational expectations models.” Computational Economics, 20 (1–2), 1–20. [873,877] Uhlig, H. (1999), “A toolkit for analysing nonlinear dynamic stochastic models easily.” In Computational Methods for the Study of Dynamic Economies (R. Marimon and A. Scott, eds.), 30–61, Oxford University Press. [870] Co-editor Kjetil Storesletten handled this manuscript. Manuscript received 18 November, 2019; final version accepted 13 January, 2021; available online 28 January, 2021.