正在学习
A.2.2.2 Hodrick–Prescott Filter
A.2.2.2 Hodrick–Prescott Filter
The Hodrick–Prescott (HP) filter can be written in the form of a pair of equations,
This is almost in state-space form, except that the unobserved state follows an rather than an AR(1) process. This can be handled by writing the model in companion form as follows:
and then notice that
or, rearranging,
so . The measurement equation takes the form
which puts the HP filter in state-space form.
A.2.2.3 Missing Observations
One way to handle missing observations is to “fill out” the data using the Kalman filter to infer our best estimate of the missing data point. This can be done by treating the series that would have been observed as the state variable and relating this to the variables that are actually observed. The two must be identical for data that are observed but can otherwise differ. This means that the H matrix multiplying in the measurement equation is not constant over time.
For example, consider a bivariate VAR(1) where some of the observations are missing for the first variable:
Written in state-space form, we have
In periods where we observe the entire vector When we do not observe the measurement equation can be set to , where [0, 1]. Both and the dimension of the measurement equation change. This presents no problem for the Kalman filter, which adjusts accordingly.
When is fully observed, (and R = 0), so the prediction equations are
while the updating equations become
Hence the interpolated value is the observed value. When is not observed, the updating equations provide an estimate of the missing observation.
A.2.3 Estimating Parameters
Many applications contain unknown parameters in the coefficient matrices F , H, and R. These can be estimated using the Kalman filter which provides a convenient way to construct the likelihood or pseudo likelihood for the data.
Suppose that and are normally distributed. From equations (A.13) and (A.14) we then have that, given time t − 1 information,
which depends on the unknown parameter matrices F , H, Q, and R since
Using the normality assumption, we can write down the likelihood for an observation, , given the past elements:
\begin{array} { r l } {f _ {y _ { t }}} ( y _ { t }| y _ { t - 1} , \dots ) = ( 2 \pi ) ^ { - n / 2 } | G _ { t | t - 1 } | ^ { - 1 / 2 } } & { } \\ { \quad } & { \times \exp \left\{ - \displaystyle \frac { 1 } { 2 } ( y _ { t } - H ^ { \prime } \xi _ { t | t - 1 } ) ^ { \prime } G _ { t | t - 1 } ^ { - 1 } ( y _ { t } - H ^ { \prime } \xi _ { t | t - 1 } ) \right\} . } \end{array}\tag{A.23}
With an additional assumption on the distribution of the initial value, , the likelihood for the observed data becomes
L = \log f _ {y _ { 1}} ( y _ { 1}) + \sum _ { t = 2 } ^ { T } f _ {y _ { t}}} ( y _ { t}| y _ { t - 1} , . . . ) .\tag{A.24}
This expression can be maximized to obtain estimates of the unknown parameter matrices. Of course, we need to make sure that the model is identified and also need to pay attention to the numerical method used to construct the maximum of (A.24). Complicated models may result in likelihood surfaces that are difficult to maximize over. Also, parameters such as the variances are bounded. One approach is to use regressions on the state-space model. Suppose we have “starting values” for and use seemingly unrelated regression on the model
resulting in estimates for F , Q, H, and R. These estimates are next used to generate new values for . This is a special case of the EM algorithm (Dempster et al., 1977) and has been applied by authors such as Watson and Engle (1983).
练习题
What is the form of the first equation in the Hodrick–Prescott (HP) filter?
In the companion form of the HP filter, what is the matrix multiplying ?
What is the measurement equation for the HP filter in state-space form?
What are the possible forms of in the measurement equation when handling missing observations with the Kalman filter?
What are the dimensions of the matrices involved in the state-space form of a bivariate VAR(1) with missing observations?
The Kalman filter can be used to estimate unknown parameters in the coefficient matrices , , , and .
The normality assumption is not necessary for constructing the likelihood function using the Kalman filter.
In the HP filter companion form, the equation for can be written as . This can be rearranged to , indicating that ___$.
When is fully observed, the measurement equation is with ___$.
Explain how the likelihood for an observation is constructed using the normality assumption.
What happens to the measurement equation when is missing in a bivariate VAR(1) model?
Which of the following are required to construct the likelihood for the observed data?
Which knowledge points are involved in transforming the HP filter into state-space form?
Which of the following represents the measurement equation for the HP filter in state-space form?
Which of the following are true about the companion form of the HP filter model? Select all that apply.
In the bivariate VAR(1) model with missing observations, the measurement equation can be set to when is not observed.
The Kalman filter provides a convenient way to construct the likelihood or pseudo likelihood for the data when the model contains unknown parameters in the coefficient matrices , , , and . This process is known as ___.
登录后解锁笔记、知识点解析、AI 问答
立即登录