filter
通过矢量误差(VEC)模型的滤波器干扰
Description
Examples
Input Arguments
输出参数
Algorithms
filter
computesY
andE
using this process for each pagej
inZ
。If
Scale
istrue
, thenE(:,:,
=j
)L*Z(:,:,
, wherej
)L
=chol(mdl.covariance,“下')
。除此以外,E(:,:,
=j
)Z(:,:,
。Setet=j
)E(:,:,
。j
)Y(:,:,
isytin this system of equations.j
)For variable definitions, seeVector Error-Correction Model。
filter
概括simulate
。Both functions filter a disturbance series through a model to produce responses and innovations. However, whereassimulate
generates a series of mean-zero, unit-variance, independent Gaussian disturbancesZ
到form innovationsE
=L*Z
,filter
enables you to supply disturbances from any distribution.filter
uses this process to determine the time origint0of models that include linear time trends.If you do not specify
Y0
, thent0= 0.除此以外,
filter
setst0到size(Y0,1)
–mdl.p
。Therefore, the times in the trend component aret=t0+ 1,t0+ 2,...,t0+numobs
, wherenumobs
is the effective sample size (size(Y,1)
afterfilter
removes missing values). This convention is consistent with the default behavior of model estimation in which估计
removes the firstmdl.p
响应,减少有效样本量。虽然filter
明确使用第一个mdl.p
presample responses inY0
到initialize the model, the total number of observations inY0
andY
(excluding missing values) determinest0。
References
[1]Hamilton, James D.Time Series Analysis。Princeton, NJ: Princeton University Press, 1994.
[2]Johansen, S.Likelihood-Based Inference in Cointegrated Vector Autoregressive Models。Oxford: Oxford University Press, 1995.
[3]Juselius, K.The Cointegrated VAR Model。Oxford: Oxford University Press, 2006.
[4]Lütkepohl, H.New Introduction to Multiple Time Series Analysis。柏林:施普林格,2005年。