BookmarkSubscribeRSS Feed
shenflow
Obsidian | Level 7

Is there a clustering option available in a two-way fixed effect proc panel procedure?

 

I realize that there is the "cluster" option. However, one can not specify the clusters. As far as I understand, SAS simply clusters around the ID variables. In my case, I have two ID variables (two fixed effects). But I would like to cluster around only one of them. Is this possible?

 

Example:

proc panel data = input;
id firm time;
model y = x1 x2 x3 /twoway hcce=1 cluster;
quit;

How can I specify the cluster option?

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

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.

Discussion stats
  • 0 replies
  • 352 views
  • 0 likes
  • 1 in conversation