possible bug(s) in fGarch

michal miklovic mmiklovic at yahoo.com
Thu Dec 27 13:55:11 CET 2007


Hi,

I estimated a garch model and obtained strange and self-contradictory results when I checked the model using the plot function. I ran the following code:

library(fGarch)
garchmodel <- garchFit (~ arma(0,3) + garch(1,1), data, init.rec="uev",include.mean=FALSE, algorithm="sqp")
summary(garchmodel)
plot(garchmodel)

Selections 7 ('Residuals') and 9 ('Standardised Residuals') of the plot function produce the same graph. Other selections appear to use 'Residuals' instead of 'Standardised Residuals', which leads to results contradicting the Standardised Residuals Tests from the model output. For example, the Ljung-Box test for squared standardised residuals does not indicate any remaining garch structure but the selection 11 ('ACF of Squared Standardised Residuals') shows significant autocorrelations at the first four lags. Selections 10 ('ACF of Standardised Residuals') and 13 ('QQ-Plot of Standardised Residuals') are similarly affected. On the other hand, I think the Standardised Residuals Tests are computed from 'Standardised Residuals', which is correct. I enclose the model output and the ACF of Squared Standardised Residuals in attachment.

I would like to point out that the graph from selection 11 ('ACF of Squared Standardised Residuals') has wrong title, the word 'Squared' is missing in the title.

I would also like to ask what is the degree of freedom of the ARCH-LM test. In the model that I estimated the degree of freedom appears to be 12. Is it so? If yes, why did you choose 12? It is a bit too high, in my opinion.

Thank you for your answer.

Best regards

Michal Miklovic




      ____________________________________________________________________________________
Be a better friend, newshound, and 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20071227/a756603d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ACF of sq standardised resids.pdf
Type: application/pdf
Size: 4303 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20071227/a756603d/attachment.pdf 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: model output.txt
Url: https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20071227/a756603d/attachment.txt 


More information about the Rmetrics-core mailing list