BookmarkSubscribeRSS Feed
abyanshuai
Calcite | Level 5

Hi,

 

I have a panel data with 2000 firms over 15 years (2000-2014), with 4 dependent variables. I would like to run a seemingly unrelated regression on the model, and incorporate firm fixed effect (firm dummy) and time fixed effect (year dummy).

I tried follows:

 

PROC SYSLIN data=HAVE SUR;

model Y1= X1  X2   ;
model Y2= X1  X3 ;

model Y3= X2 X3 ;

model Y4= X2 X3 X4 ;
run;

 

Since PROC SYSLIN does not allow for CLASS firm year, I wonder if there is any convenient way to add firm and time fixed effect.

Apparently, firm dummy and year dummy can be manually created, but since there are 2000 firms, I am really not sure if it is a good idea to add more than 2000 variables in the model, the code will be a wallpaper...

 

Thank you so much!

1 REPLY 1
SteveDenham
Jade | Level 19

Consider moving your post over to the SAS Forecasting and Econometrics forum, as SYSLIN is part of SAS/ETS

 

SteveDenham

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1 reply
  • 434 views
  • 0 likes
  • 2 in conversation