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: Register Now

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!

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