contribution to fGarch - QML estimation

michal miklovic mmiklovic at yahoo.com
Sun Aug 17 11:21:01 CEST 2008


Hi,

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.
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.
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.
If you have any questions regarding the QML method, the enclosed files or the changes I made, please do not hesitate to contact me.

Best regards,

Michal



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: garchFit.R
Type: application/octet-stream
Size: 42042 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: methods-summary.R
Type: application/octet-stream
Size: 5902 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: garchGradient.R
Type: application/octet-stream
Size: 2795 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: garchFit.Rd
Type: application/octet-stream
Size: 12062 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: methods-summary.Rd
Type: application/octet-stream
Size: 3091 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: garch QMLE test.R
Type: application/octet-stream
Size: 1153 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0012.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: garch QMLE test output.txt
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QMLE benchmark.out
Type: application/octet-stream
Size: 3463 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/rmetrics-core/attachments/20080817/c392faa6/attachment-0013.obj>


More information about the Rmetrics-core mailing list