BookmarkSubscribeRSS Feed
Junyong
Pyrite | Level 9

I have the following time series.

data have;
do i=1 to 50;
if i=25 then x=.;
else x=rannor(1);
output;
end;
run;

So the 25th observation is missing. When AUTOREG estimates GARCH as follows,

proc autoreg noprint;
model x=/garch=(q=1,p=1,type=exp);
output ht=h out=have;
run;

SAS computes the 26th conditional variance despite the missing in 25. How can SAS compute h(26) without e(25)? I am reading the AUTOREG manual but couldn't find the answer yet.

P.S. How does AUTOREG compute the EGARCH unconditional variance? There is no reference in the manual.

1 REPLY 1
SASCom1
SAS Employee

This question has been answered via Technical Support track and below is a summary of the answer to this question:

 

For computation of conditional error variance for EGARCH model, it is based on the following formula:

 

 ln(ht)=ω+qi=1αig(zti)+pj=1γjln(htj)

 

When lagged g(z_t-i) is not available due to missing values in the data, the second term in the above formula is set to zero.

 

For computation of unconditional variance, it is set to missing for EGARCH model since you cannot compute E(h_t) based on

E(ln(h_t)).

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 429 views
  • 1 like
  • 2 in conversation