BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi all,

I am trying to run a ARMA+GARCH model for modeling the wind speed
and my code is follows;

- -
--------------------------------------------------------------------------------------------------------------------------------------------------
proc model data = Erman;
parms ar1 ar2 ma1 ma2 ma3 mu arch0 arch1 garch1;
y = mu + ar1 * zlag1(y - mu) + ar2 * zlag2(y-mu)+ ma1 *
zlag1(resid.y)+ ma2 * zlag2(resid.y) + ma3 * zlag3(resid.y);
h.y = arch0 + arch1 * xlag(resid.y ** 2, mse.y) +
garch1 * xlag(h.y, mse.y);
spredict=pred.y;
vsgarch=h.y;
fit y / method = marquardt fiml out = forecast outresid;
outvars vsgarch spredict;
bounds arch0>=0;
bounds garch1>=0;
bounds arch1>=0;

run;
--------------------------------------------------------------------------------------------------------------------------------------------------------

I am able to output the h.y values. The question is how those values
are calculated based on the available data? As far as I understand,
the SAS runs a regression model to find the parameters for arch0,
arch1, and garch1 based on h.y values treating h.y values as dependent
variables. I am wondering how the actual h.y values are calculated for running those regression equation, if anybody can provide me an equation for calculating that value (h.y),
it would be great. Thank you very much for your interest. Have a nice
day.

Regards
Ergin

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 1103 views
  • 0 likes
  • 1 in conversation