Hello Everyone,
I am trying to come up with the predicted values of conditional variance by using the following code:
proc autoreg data = want;
by year;
model stock_returns = / garch = ( q=1,p=1 );
output out=var predicted=variance;
run;
quit;
My data contains daily observations of Stock X returns. I want to run this GARCH model on yearly basis. The problem is this code generates predicted values of stock returns and not the predicted values of conditional variance. Can you please help in this regard?
Regards,
Aman