Hi there,
I am trying to check for random cross section effects by dropping a cross section at a time as done in Engle and Rangel (2008): Table 9.
Do I use the proc mixed to make the period fixed and country random or just use the proc panel with ranone? Also, I don't know how Engle and Rangel (2008) found autocorrelation coefficient in Table 9 for panel specification.
Could anyone help, please?
proc mixed data = mydata;
class country year;
model my model year/ solution;
random country;
run;
or
proc panel data = mydata;
id country year;
model my model/HAC ranone;
run;
Thanks,
Sohel
Reference:
I'm not familiar with proc panel or proc mixed. BUT ...
... I don't see why YEAR is a class variable, which makes it no different than, say color. Shouldn't you allow year to be a continuous variable? Which I believe is the only way to get autocorrelation (assuming you - and Engle and Rangel - mean serial autocorrelation).
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.