vec2var
Convert VEC model to VAR model
计量经济学工具箱™ VAR model functions such assimulate
,预报
, 和armairf
适合矢量自动进度(VAR)模型。模拟,预测或产生脉冲响应向量误差校正(VEC)模型使用simulate
,预报
, 或者armairf
, respectively, convert the VEC model to its equivalent VAR model representation.
Syntax
VAR = vec2var(VEC,C)
Description
Examples
Input Arguments
Output Arguments
More About
Tips
To access the cell vector of the lag operator polynomial coefficients of the output argument
VAR
, 进入toCellArray(VAR)
。将输出参数的模型系数从lag operator notationto the model coefficients in差异方程式表示法, 进入
瓦尔登= toCellArray(reflect(VAR));
瓦尔登
是包含单元向量的q+ 1个系数对应于响应项var.lags
in difference-equation notation. The first element is the coefficient ofyt, the second element is the coefficient ofyt–1, 和so on.The constant offset of the converted VAR model is the same as the constant offset of the VEC model.
算法
vec2var
does not impose stability requirements on the coefficients. To check for stability, useisStable
。isStable
requires aLagOp
滞后运算符多项式作为输入。例如,检查是否VAR
,细胞阵列n
-byn
数字矩阵,组成一个稳定的时间序列,输入varLagOp = LagOp([eye(n) var]); isStable(varLagOp)
A
0
indicates that the polynomial is not stable. IfVAR
is aLagOp
lag operator polynomial, then pass it toisStable
。
References
[1] Hamilton, J. D.时间序列分析。Princeton, NJ: Princeton University Press, 1994.
[2] Lutkepohl, H. "New Introduction to Multiple Time Series Analysis." Springer-Verlag, 2007.