Definition of a stochastic rational expectations problem
There are several ways to define rational expectations models. RECS adopts a controlled-process convention in which the values taken by control, or response, variables are decided at each period based on the values of state variables. The convention follows the framework proposed in Fackler (2005), and used also in Winschel et Krätzig (2010). A model can be defined by the following three equations, where time subscripts are implicit for current-period variables, and, where next-period are indicated with the subscript, while previous-period variables are indicated with the subscript.
, where ,
, where ,
, where .
Variables have been partitioned into state variables, , response variables, , and shocks, . Response variables can have lower and upper bounds, and , which themselves can be functions of the state variables. Expectations variables, denoted by , are also defined, because they are necessary for solving the model considering the implemented algorithms. is the expectations operator conditional on information available at the current period.
The first equation is the equilibrium equation. It characterizes the behavior of the response variables given state variables and expectations about the next period. For generality, it is expressed as a mixed complementarity problem (MCP, if you aren't familiar with the definition of MCP, see Introduction to mixed complementarity problems). In cases where response variables have no lower and upper bounds, or have infinte ones, it simplifies to a traditional equation:
The second equation defines the expectations. The last equation is the state transition equation, which defines how state variables are updated based on past response, past state and contemporaneous shocks.
Distinction between state variables and other variables
In many models, it is possible to simplify the state transition equation . For example, it is possible to have when some shocks are not serially correlated, or when the state is just a lagged response variables. In the latter case, one might be tempted to reduce the number of variables in the model by introducing the lagged response variable directly in the equilibrium equation. This should not be done. A state variable corresponding to the lagged response variable or to the realized shock has to be created.
One consequence is that lags can only appear in state transition equations and in no other equations.
Lags and leads
RECS only deals with lags and leads of one period. For a model with lags/leads of more periods, additional variables have to be included to reduce the number of periods.
In addition, leads can only appear in the equations defining expectations. So no leads or lags should ever appear in the equilibrium equations.
In RECS, the timing of each variable reflects when that variable is decided/determined. In particular, the RECS convention implies that state variables are determined by a transition equation that includes shocks and so are always contemporaneous to shocks, even when shocks do not actually play a role in the transition equation. This convention implies that the timing of each variable depends on the way the model is written.
One illustration of the consequences of this convention is the timing of planned production in the competitive storage model presented in STO1. Planned production, , will only lead to actual production in and will be subject to shocks, , so it is tempting to use a indexing. However, since it is determined in based on expectations of period price, it should be indexed .
As an example, consider the competitive storage model presented in STO1. It is composed of four equations:
where , , , and respectively represent storage, planned production, price and availability.
There are three response variables: , and three corresponding equilibrium equations, the first three equations above. These equations include two terms corresponding to expectations about period :
There is one state variable, availability: , which is associated to the transition equation, the last one above. It would have been perfectly legitimate to define the model with more state variables, such as production and stocks, since availability is the sum of both, and this would not prevent the solver from finding the solution, however, it is generally not a good idea. Since the solution methods implemented in RECS suffer from the curse of dimensionality, it is important where possible to combine predetermined variables to reduce the number of state variables.
Corresponding to RECS convention, this model is defined by the following three functions :
What makes solving a rational expectations model complicated is that the equation defining the expectations, , is not a traditional algebraic equation. It is an equation that expresses the consistency between agents' expectations, their information set, and realized outcomes.
One way to bring this problem back to a traditional equation is to find an approximation or an algebraic representation of the expectations terms. For example, if it is possible to find an approximation of the relationship between expectations and current-period state variables (i.e., the parameterized expectations approach in den Haan and Marcet, 1990), the equilibrium equation can be simplified to
where approximates the expectations and are the coefficients characterizing this approximation. This equation can be solved for with any MCP solvers.
The RECS solver implements various methods to solve rational expectations models and to find approximation for the expectations terms. See Solution methods for further information.