是这个函数在新版已经被取消了么?如果取消了,那下面这段代码应该怎么实现啊?
错误提示:
错误使用 garchset (line 180)
GARCHSET has been removed. Use ARIMA, GARCH, EGARCH, and GJR models instead.
出错 code (line 45)
spec = garchset('R',i,'M',j,'P',1,'Q',1,'Display','off');
- fprintf('*************************第十步GARCH模型分析********************\n');
- for i=0:1
- for j=0:1
- spec = garchset('R',i,'M',j,'P',1,'Q',1,'Display','off');
- [coeff,erors,LLF,innovations,sigma,summary]=garchfit(spec,DATA2);
- garchdisp(coeff,erors);
- garchplot(innovations,sigma);
- string3=strcat('F:\work\金融工程应用程序设计',num2str(i),num2str(j),'11');
- saveas(gcf,string3,'bmp');
- NumParams = garchcount(coeff);
- AIC = aicbic(LLF,NumParams)
- end
- end


雷达卡





京公网安备 11010802022788号







