原来TDFI是自由度的倒数。但是我用已知参数模拟一个GARCH-t(1,1)模型,然后再用AUTOREG进行参数估计,得到的结论相差很远是为什么呢?
代码:
data test;
keep y;
arch0=.2; arch1=.5; garch1=.08;df=4;
h = arch0 + garch1;
do i=-10 to 1000;
e = rand('T',df);
y = sqrt(h) * e;
h = arch0 + arch1*y**2 + garch1*h;
if i > 0 then output;
end;
run;
proc autoreg data=test;
model y = /garch=(q=1,p=1) dist=t;
output out=out cev=cev;
run;