Hi, I want to run the two-stage least square regression (2SLS) with an instrumental variable. I know "PROC SYSLIN" can be used to deal with 2SLS regression. But I don't think the "PROC SYSLIN" provides the statement about clustered standard errors and the year or industry fixed effects.
For examine, "PROC SURVEYREG" can deal with clustering standard errors and fixed effects by using the statement of "CLUSTER" and "CLASS". Unfortunately, PROC SURVEYREG cannot run 2SLS regression. Brachet (2007), see the link (https://works.bepress.com/tbrachet/2/) for details, indeed provided a good solution for 2SLS with clustered standard errors in SAS. But he didn't include the year or industry fixed effects. Do you know any package in SAS or any setting in "PROC SYSLIN" that allows us to adjust clustered standard errors and include the year or industry fixed effects? Thanks!
Hi YoungSASuser,
I have the same problem as you did, and I was wondering if you had your problem solved.
If you did, could you tell me how you solved it?
Thank you in advance.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.