BookmarkSubscribeRSS Feed
kky6196
Calcite | Level 5

Hello,

I have raw daily returns data for about 10 countries. For each country, I wish to compute conditional volatility using the model GARCH(1,1).

 

Would this be the right code?

 

Proc autoreg data=daily_return outest=est;

model daily_return= / garch=(q=1, p=1); by country;

output out=conditional_var cev=vhat; run; quit;

 

data conditional_vol; gc; conditional_vol=sqrt(vhat); run;

 

Thank you-

 

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 25. 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
  • 0 replies
  • 138 views
  • 0 likes
  • 1 in conversation