我正在使用URCA包R来测试 Johansen 方法的协整。谁能告诉我权重(加载矩阵)告诉我什么或者我会用它做什么?我了解临界值、测试统计量和特征向量的用途,但被加载矩阵弄糊涂了。
这是我正在使用的一个示例:
library(urca)
da=read.table("m-bnd.txt")
aaa=da[,4]
baa=da[,5]
x=cbind(aaa,baa)
colnames(x) <- c("aaa","baa")
coeig=ca.jo(x,ecdet="const",type="eigen",K=7,spec="transitory")
summary(coeig)
输出是:
Test type: maximal eigenvalue statistic (lambda max),
without linear trend and constant in cointegration
Eigenvalues (lambda): [1] 3.963354e-02 5.378046e-03 1.853392e-19
Values of teststatistic and critical values of test:
test 10pct 5pct 1pct
r <= 1 | 3.25 7.52 9.24 12.97
r = 0 | 24.35 13.75 15.67 20.20
Eigenvectors, normalised to first column:
(These are the cointegration relations)
aaa.l1 baa.l1 constant
aaa.l1 1.00000000 1.0000000 1.0000000
baa.l1 -0.89285894 0.6561369 -0.1770799
constant 0.05492912 -13.9106270 4.6994175
Weights W:
(This is the loading matrix)
aaa.l1 baa.l1 constant
aaa.d -0.006761805 -0.003055965 1.480155e-19
baa.d 0.066353797 -0.002469648 -1.113343e-17