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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 483 views
  • 0 likes
  • 2 in conversation