State Space Representations of Linear Systems:
As systems become more complex, representing them with differential equations or transfer functions becomes cumbersome. This is even more true if the system has multiple inputs and outputs. This document introduces the state space method which largely alleviates this problem. The state space representation of a system replaces an nth order differential equation with a single first order matrix differential equation.
Advantages of this representation include:
- The notation is very compact. Even large systems can be represented by two simple equations.
- Because all systems are represented by the same notation, it is very easy to develop general techniques to solve these systems.
- Computers easily simulate first order equations.
DSGEs are State-Space Models (see page 11 of 20 page presentation).
In general, for a model to have well-defined econometric estimates, it is necessary that for every observable variable there be at least one unobservable shock. This can either take the form of a “measurement error” or else involve a shock in each equation with a clear structural interpretation.
Log-linearised DSGE models with a mix of observable and unobservable variables are an example of state-space models. Recall that these models can be described using two equations.
The first, known as the state or transition equation, describes how a set of unobservable state variables, S(t), evolve over time as follows:
S(t) = FS(t−1) + u(t).
The term u(t) can include either normally-distributed errors or perhaps zeros if the equation being described is an identity. We will write this as u(t) ∼ N(0,Σu) though Σu may not have a full matrix rank.
The second equation in a state-space model, which is known as the measurement equation, relates a set of observable variables, Z(t), to the unobservable state variables
Z(t) = HS(t) + v(t)
Again, the term w(t) can include either normally-distributed errors or perhaps zeros if the equation being described is an identity. We will write this as v(t) ∼ N(0,Σv) though Σv may not have a full matrix rank.
In engineering the state-space representation is primarily a standard way to characterize the system in terms of standard matrix methods applied in software solvers. However the DSGE reference above says DSGEs are state-space models.
The 30 page working paper (2012) under this link has title Bayesian Estimation of DSGE Models:
It provides a short history of DSGE Model Estimation then describes the application of a Canonical New Keynesian DSGE Model. Page 12 describes the state-space representation of the NKDSGE. This quote is insight into the Bayesian assumption that there is no "true" model for the system in contrast to the Frequentist assumption:
Bayesians avoid having to assume there exists a true or correctly specified DSGE model because of the likelihood principle (LP). The LP is a foundation of Bayesian statistics and says that all evidence about a DSGE model is contained in its likelihood conditional on the data; see Berger and Wolpert (1988). Since the data’s probabilistic assessment of a DSGE model is summarized by its likelihood, the likelihoods of a suite of DSGE models possess the evidence needed to judge which “best” fit the data. Thus, Bayesian likelihood-based evaluation is consistent with the view that there is no true DSGE model because, for example, this class of models is afflicted with incurable misspecification.
So DSGE models are data in search of the most likely underlying system models. The state-space representation is a method to structure the search for a solution using numerical theory and methods.
Two academic references on DSGE models have mentioned Dynare open source software which runs DSGE simulations on an underlying platform.
Questions are posted on the Dynare Forum:
PS - Despite this long answer I will add that my intuition as an electrical engineer and former commercial lawyer who follows financial markets as cash flow systems is as follows. When investors and credit dealers converge perceptions to "put risk on" in aggregate then balance sheets expand, cash flows increase, asset prices rise, good things happen, and GDP goes up. When investors take risk off and credit dealers converge to" take risk off" in aggregate then balance sheets attempt to unwind, cash flows decrease, asset prices fall, bad things happen, and GDP goes down or does not return to former rates of growth due to hysteresis in the behavior of intelligent agents. If perceptions do not converge then asset prices will be more stable and less prone to overshoot and collapse, but if perceptions converge to drive overshoot eventually they will converge to drive collapse in asset prices. Government spending, taxes, credit enhancements, and financial regulations or lack thereof can attenuate or amplify the market-based causes of overshoot and collapse patterns. The perceptions, decisions, and actions of intelligent agents are thus stochastic parameters endogenous to the financial and real economy and to an infinite possible number of toy DSGE models. The cell phone network has only so much bandwidth. Stochastic cell phone use patterns typically do not use up all the available bandwidth. One day an earth quake hit the East Coast. Stochastic use spiked when millions of people tried to call each other to discuss the quake. This "fat tail" event used up all the bandwidth in the cell phone network. Banks and other financial intermediaries (FI) are designed to provide credit and cash flow via the expansion of balance sheets with rising or steady asset prices. This is because assets are collateral for long term debt so when assets fall borrowers go underwater (negative equity) in their balance sheets. When investors all want to sell and few want to buy as asset prices collapse these intelligent agent inputs disrupt the liquidity and cash flow generating capacity of credit and money markets. Paradoxically the systemic market forces reduce and unwind balance sheet capacity when too many units demand liquidity at the same time which is a "fat tail" liquidity event.