bang4kimo 发表于 2012-5-13 19:23 
我不知道RATS的OUTPUT呈現的方向到底是什麼??
我看了USER GUIDE 好多次了~他沒寫解釋的方向~
因為是打指令 ...
重点是你要看公式
比较两者的不同
范例的结果也跟你相同
open data g10xrate.xls
data(format=xls,org=columns) 1 6237 usxjpn usxfra usxsui
*
set xjpn = 100.0*log(usxjpn/usxjpn{1})
set xfra = 100.0*log(usxfra/usxfra{1})
set xsui = 100.0*log(usxsui/usxsui{1})
*
* Examples with the different choices for the MV option
garch(p=1,q=1,mv=cc,variances=varma,pmethod=simplex,piters=10) / xfra xsui
MV-GARCH, CC with VARMA Variances - Estimation by BFGS
Convergence in 66 Iterations. Final criterion was 0.0000017 <= 0.0000100
Usable Observations 6236
Log Likelihood -8655.6981
Variable Coeff Std Error T-Stat Signif
************************************************************************************
1. Mean(1) -0.003817077 0.005872483 -0.64999 0.51569628
2. Mean(2) 0.001940181 0.007001241 0.27712 0.78168829
3. C(1) 0.009108844 0.002173699 4.19048 0.00002784
4. C(2) 0.021131773 0.002285809 9.24477 0.00000000
5. A(1,1) 0.233569384 0.015962889 14.63202 0.00000000
6. A(1,2) -0.124280408 0.009901176 -12.55209 0.00000000
7. A(2,1) -0.061818216 0.006043229 -10.22934 0.00000000
8. A(2,2) 0.133682505 0.009009018 14.83874 0.00000000
9. B(1,1) 0.582966175 0.028657647 20.34243 0.00000000
10. B(1,2) 0.305497609 0.029388751 10.39505 0.00000000
11. B(2,1) 0.134331184 0.022611926 5.94072 0.00000000
12. B(2,2) 0.777725483 0.020488456 37.95920 0.00000000
13. R(2,1) 0.834151117 0.003719538 224.26204 0.00000000
garch(p=1,q=1,mv=bek,pmethod=simplex,piters=10) / xfra xsui
MV-GARCH, BEKK - Estimation by BFGS
Convergence in 62 Iterations. Final criterion was 0.0000015 <= 0.0000100
Usable Observations 6236
Log Likelihood -8021.8877
Variable Coeff Std Error T-Stat Signif
************************************************************************************
1. Mean(1) 0.005360044 0.005610946 0.95528 0.33943432
2. Mean(2) 0.005172338 0.006775365 0.76340 0.44522278
3. C(1,1) 0.055393619 0.006656379 8.32189 0.00000000
4. C(2,1) 0.003468409 0.011075644 0.31316 0.75416181
5. C(2,2) 0.063697328 0.006169189 10.32507 0.00000000
6. A(1,1) 0.394342868 0.018055117 21.84106 0.00000000
7. A(1,2) -0.100749365 0.019880363 -5.06778 0.00000040
8. A(2,1) -0.115879825 0.013237840 -8.75368 0.00000000
9. A(2,2) 0.326404036 0.014963669 21.81310 0.00000000
10. B(1,1) 0.910705006 0.006449318 141.20951 0.00000000
11. B(1,2) 0.039536471 0.007414958 5.33199 0.00000010
12. B(2,1) 0.048687873 0.005186781 9.38692 0.00000000
13. B(2,2) 0.936485035 0.005931407 157.88582 0.00000000