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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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