Programming the statistical procedures from SAS

reinitialize lag variance every day

Reply
Contributor
Posts: 44

reinitialize lag variance every day

I have a intraday data and I want to estimate a GARCH(1,1) model using the code SAS provide.

proc model data = normal ;

parms arch0 .1 arch1 .2 garch1 .75 ;

/* mean model */

y = intercept ;

/* variance model */

h.y = arch0 + arch1*xlag(resid.y**2,mse.y) +

garch1*xlag(h.y,mse.y) ;

/* fit the model */

fit y / method = marquardt fiml ;

run ;

quit ;

However, I want to re-initialize the lag of resid.y**2 as the previous day's mean square error. Any thought on this matter? Thank you in advance.

Respected Advisor
Posts: 2,655

Re: reinitialize lag variance every day

You should also post this in the SAS Forecasting and Econometrics forum.  I think the folks there specialize in the PROCs from SAS/ETS.

Steve Denham

Ask a Question
Discussion stats
  • 1 reply
  • 192 views
  • 0 likes
  • 2 in conversation