Hello,
I want to include clustered standard errors on my model. I currently have an unbalanced data the most appropriate option that I can use is the PROC TSCSREG. How can I include clustered standards errors on my TSCSREG option?
This is the code I used, but I get error messages. It looks like the HCCME option doesn't work in Proc TSCSREG
data data2;
set data;
id2= id;
run;
proc sort data = data;
by id t;
run;
proc tscsreg data=data;
id id t;
class id2;
model Y= X1 X2 X3 id2/ FIXONE HCCME=2 cluster;
Thank you.
Regards,
Felipe
Also when I use Proc Panel data are calculated without Fixed effects
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 save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.