BookmarkSubscribeRSS Feed
shenflow
Obsidian | Level 7

I am estimating the following:

proc panel data = data;
	id gvkey rankyear;
	model y = cera_pl_vol cera_mi_vol revi_pl_vol revi_mi_vol 
		 				/ranone noint hccme = 3 cluster;
run;
quit;

 I want to check the Hausman-Statistic to infer wether random effects are appropriate or not. I estimate this for a set of different panels.

In some cases I get a m-value. In some cases I do not get a m-value. Why is that so? How can I appropriately check wether random effects are appropriate (random effects for gvkey)?

 

Examples are attached below:

shenflow_0-1597430746010.pngshenflow_1-1597430759516.png

 

 
1 REPLY 1
SASCom1
SAS Employee

What is the specific SAS release you are running? You can find the exact SAS release information by submitting the following code and look in the log file:

 

%put Release: &sysvlong ;

 

Do you see any warning message in the log file indicating Hausman test is not computed? If so, what is the warning message?

SAS Innovate 2025: Call for Content

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!

Submit your idea!

Multiple Linear Regression in SAS

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.

Discussion stats
  • 1 reply
  • 559 views
  • 0 likes
  • 2 in conversation