Search found 32 matches

by econo
Wed Jun 17, 2015 4:34 pm
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

TomDoan wrote: Maybe you're using a different number of lags in the @MVQSTAT.
yes, It was lags problem.
Now it works perfect and thanx alot
by econo
Wed Jun 17, 2015 4:02 pm
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

TomDoan wrote: I assume this is what you're trying to do:

dec vect[series] x(%nvar)
do i=1,%nvar
set x(i) = rd(t)(i)
end do i
still gives this error:

## MAT15. Subscripts Too Large or Non-Positive
Error was evaluating entry 2355
The Error Occurred At Location 86, Line 2 of loop/block
by econo
Wed Jun 17, 2015 11:44 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

I used this code and just want to export residuals, then in R-program calculate standardized residuals! garch(p=1,q=1,model=var1,mv=CC,variance=varma,pmethod=simplex,piters=5,rvectors=rd,hmatrices=hh, MVHSERIES=VarmaHmatrix ) gstart gend O 22 EWISE X(t)=rd(t) ## SX11. Identifier X is Not Recognizabl...
by econo
Wed Jun 17, 2015 10:52 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

it won't because RVECTORS produces a SERIES[VECTOR] which COPY doesn't handle[/i]. to export errors vector, I used this code EWISE rd(t) = X(t) ## SX11. Identifier X is Not Recognizable. Incorrect Option Field or Parameter Order? >>>>EWISE rd(t) = X(<<<< still doesn't work :(
by econo
Wed Jun 17, 2015 10:37 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

Now it gives me this error:

## MAT15. Subscripts Too Large or Non-Positive
Error was evaluating entry 2355
by econo
Tue May 19, 2015 3:41 pm
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

Do you mean this code? * Estimates for a BEKK with t errors, saving the residuals and the * variances (in the VECT[SERIES] and SYMM[SERIES] forms), and using them * to compute the empirical probability of a residual (for Japan) being * in the left .05 tail. * garch(p=1,q=1,mv=bekk,pmethod=simplex,pi...
by econo
Tue May 19, 2015 3:02 pm
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

garch(p=1,q=1,model=var1,mv=CC,variance=varma,pmethod=simplex,piters=5,hmatrices=Varmah, MVHSERIES=VarmaHmatrix, rvectors=Varmarv ) gstart gend O c open copy 2.xls copy(data,format=xls,org=columns) /Varmarv ## SX22. Expected Type SERIES[REAL], Got SERIES[VECTOR[REAL]] Instead >>>>columns) /Varmarv<...
by econo
Tue May 19, 2015 1:57 pm
Forum: Examples and Sample Code
Topic: Diebold-Yilmaz EJ 2009
Replies: 54
Views: 144741

Re: Diebold-Yilmaz EJ 2009

hhhaa ha such a stupid mistake.Now I could ımport 93 columns. (the whole data I had). But what is limit here? if I collect the data for 500 stocks (columns) can I import to rats? and run the model. even with 2500 observations? this is important to know the limit of variables as all of my studies wil...
by econo
Tue May 19, 2015 11:46 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

I mean, with this code I can estimate the model garch(p=1,q=1,model=var1,mv=CC,variance=varma,pmethod=simplex,piters=5,hmatrices=Varmah, MVHSERIES=VarmaHmatrix, rvectors=Varmarv) Now I have the hmatrices, I can get the sqrt of it.** if I can get the residuals of this GARCH function, then I have the ...
by econo
Tue May 19, 2015 11:37 am
Forum: Examples and Sample Code
Topic: Diebold-Yilmaz EJ 2009
Replies: 54
Views: 144741

Re: Diebold-Yilmaz EJ 2009

Even with the wizard, the limit of columns to import is 60.
by econo
Tue May 19, 2015 10:54 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

the only way is updating?

how can I get the residuals?
by econo
Tue May 19, 2015 10:33 am
Forum: Examples and Sample Code
Topic: Diebold-Yilmaz EJ 2009
Replies: 54
Views: 144741

Re: Diebold-Yilmaz EJ 2009

As you can see I have 2500 obs.
this is like 92 stocks but I dont know to define in RATS 8.0 to input in the model in line
data(format=xls,org=columns) /MMM MO MON ...

thanx for second question
by econo
Tue May 19, 2015 10:06 am
Forum: ARCH and GARCH Models
Topic: Extracting the residual series from MGARCH-M model
Replies: 20
Views: 24838

Re: Extracting the residual series from MGARCH-M model

I am trying to extract Standardized residuals (RATS 8.0): system(model=var1) variables O C lags 1 end(system) compute cv0=%sigma garch(p=1,q=1,model=var1,mv=CC,variance=varma,pmethod=simplex,piters=5,hmatrices=Varmah, MVHSERIES=VarmaHmatrix, rvectors=Varmarv,presample=cv0,uadjust=%pt(eps,t,Varmarv(t...
by econo
Tue May 19, 2015 6:58 am
Forum: Examples and Sample Code
Topic: Diebold-Yilmaz EJ 2009
Replies: 54
Views: 144741

Re: Diebold-Yilmaz EJ 2009

Dear Tom; 1. How can I extend the number of variables? here I have 52 stocks, How can I extend it to 500 stocks? what is the limit? 2. How can I export "Table for Global Market Volatility" into excel format? FYI: I am using RATS 8.0 Best Regards open data VolatilityR.xls data(format=xls,or...
by econo
Mon Jan 19, 2015 3:26 pm
Forum: ARCH and GARCH Models
Topic: CC-VARMA model
Replies: 27
Views: 31004

Re: CC-VARMA model

plz check table 3.

Code: Select all



garch(p=1,q=1,model=var1,mv=CC,pmethod=simplex,piters=5,hmatrices=Varmah, MVHSERIES=VarmaHmatrix, rvectors=Varmarv,STDRESIDS=Varmaeta ) gstart gend O S