The DCC-GARCH model proposed by Engle (2002) has two steps: first use GARCH model to estimate the conditional variance, then use the results from the first step to estimate conditional correlation. The following is the model.
Now I wanna run simulation (e.g. B=100 times, sample with replacement) for each id-month combination in the attached sample data (the simulation is applying the DCC-GARCH model to generate B simulated data series). Is there anyway to modify the following code to include simulation function? (I found there are a few codes for DCC-GARCH model simulation, however they are either in R, STATA or MATLAB, which I know little about).
*use DCC (1,1) - GARCH (1,1);
proc varmax data=have method=ml outest=a1_est outcov outstat=a2_stat;
by id year month;
model y1 y2;
garch q=1 p=1 form=dcc;
run;
Thanks a lot for all your kindly help.
I've spoken with Tech Support and they suggest you open a track. They'd like to clarify exactly what you want or need to do.
You can open a track here: https://support.sas.com/ctx/supportform/createForm
Best of luck,
Shelley
I've spoken with Tech Support and they suggest you open a track. They'd like to clarify exactly what you want or need to do.
You can open a track here: https://support.sas.com/ctx/supportform/createForm
Best of luck,
Shelley
Thank you so much Shelley for your kindly help! I will open a track as you suggested.
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.
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.