Hello everybody,
I have panel data and want to do Hausman test for fixed and random effect.
Here is my code:
Proc glm DATA=Sampledata_adjvol;
absorb TRD_STCK_CD;
class TRD_EVENT_ROUFOR;
model adjusted_volume_5 = TRD_EVENT_ROUFOR / solution;
run;Without using PROC PANEL or the panel procedure, how can I do that test?
Thanks in advance.
I'm the first to admit I know nothing about this test but this link suggests using the FIT statement on PROC MODEL:
http://support.sas.com/kb/30/333.html
I am not familiar with the Hausman test either but i think you can use PROC MIXED (in SAS/STAT) to get all the param estimates to compute the Hausman test statistic. Hope this helps.
How about PROC NLMIXED? alex
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.