靚麗時尚館

位置:首頁 > 健康生活 > 心理

garchset函數可以用什麼替換

心理2.36W
garchset函數可以用什麼替換

for i=0:3

for j=0:3

spec=garchset('R',i,'M',j,'Display','off')

[coeffx,errorsx,LLFX]=garch(spec,da)

num=garchcount(coeffx)

[aic,bic]=aicbic(LLFX,num,n)

fprintf('R=%d,M=%d,AIC=%f,BIC=%fn',i,j,aic,bic)

end

.......

錯誤使用 garchset (line 180)

GARCHSET has been removed. Use ARIMA, GARCH, EGARCH, and GJR models instead.

這時garchset函數不能用了,可以用arima, garch等替代