contribution to fGarch - QML estimation

Yohan Chalabi chalabi at phys.ethz.ch
Tue Aug 19 16:38:33 CEST 2008


Dear Michal,

This is great! Thanks for your contribution!

If I am not wrong, this corresponds to what you told me at the Rmetrics
Workshop in Meielisalp.

I will go through your code when I will be back from holidays.

regards,
Yohan

>>>> "MM" == michal miklovic <mmiklovic at yahoo.com>
>>>> on Sun, 17 Aug 2008 02:21:01 -0700 (PDT)

   MM> Hi,
   MM> 
   MM> I added the option to estimate a garch model by the method of Quasi-Maximum Likelihood (QML) to the fGarch package. The QML assumes normal distribution and uses robust standard errors for inference. Hence, my contribution boils down to the computation of robust standard errors.
   MM> I made a couple of small changes to the files 'garchFit.R' and 'methods-summary.R'. I am sending you the files in the attachment because I think it is more convenient than listing the changes here in the email. I am also sending you the file 'garchGradient.R', which is used in the computation of robust standard errors. I am enclosing the corresponding manual files as well. All changes were made to the latest revision of fGarch, i.e. 3486.
   MM> I checked accuracy of the robust standard errors computation with the help of the econometric software TSP. First, I simulated two garch processes and estimated them in R, see the files 'garch QMLE test.R' and 'garch QMLE test output.txt' in the attachment. Then I estimated the same models using the same data in TSP, see the file 'QMLE benchmark.out'. As can be seen in the files, the results are the same. Therefore, I believe the robust standard errors computation is accurate.
   MM> If you have any questions regarding the QML method, the enclosed files or the changes I made, please do not hesitate to contact me.
   MM> 
   MM> Best regards,
   MM> 
   MM> Michal

-- 
PhD student
Swiss Federal Institute of Technology
Zurich

www.ethz.ch



More information about the Rmetrics-core mailing list