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
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!
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.