graph residual from DCC GARCH

Discussions of ARCH, GARCH, and related models

graph residual from DCC GARCH

Postby lumengobobo46 » Thu Sep 27, 2012 5:02 pm

Hi Tom

I experience a problem from graphing the residual obatined from a DCC GARCH. I believed that I was coorect with this part of the code:
...
garch(p=1,q=1,model=varh,mv=DCC,asymmetric,pmethod=simplex,piters=10,hmatrices=hh,$
rvectors=rd)
graph(footer=" ")
# rd(t)(1)
...
In order to graph the residual of the the GARCH model from country1 in the model. instead I receive the error message:

## SX22. Expected Type SERIES[REAL], Got REAL Instead
>>>># rd(t)(1)<<<<

What can then be the problem?
lumengobobo46
 
Posts: 16
Joined: Mon May 02, 2011 2:35 pm

Re: graph residual from DCC GARCH

Postby TomDoan » Thu Sep 27, 2012 5:55 pm

You need to copy that into a new series first:

set r1 = rd(t)(1)
graph(footer=" ")
# r1
TomDoan
 
Posts: 2718
Joined: Wed Nov 01, 2006 5:36 pm


Return to ARCH and GARCH Models

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron