BookmarkSubscribeRSS Feed
YoungSASuser
Calcite | Level 5

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!

1 REPLY 1
YIN_YI_JEN
Obsidian | Level 7

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.

sas-innovate-2024.png

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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