Hi,
I want to perform two-way fixed effects (fund and time fixed effects).I am using the following code
ods exclude all; proc glm data= final; absorb PERMNO; class year; model car=te te2 turn lnsize exp d year / solution noint; ods output ParameterEstimates=results; run; ods exclude none;
Although, I am getting the answers, but just want a reassurance if I am using the correct code.
Neither fund or time are present in your model. So, no, this is not a two-way fixed effects model with fund and time as the fixed effects.
Sorry, with fund and time I mean year and permno
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.