BookmarkSubscribeRSS Feed
karanfil
Fluorite | Level 6
Hello All,

I need to run fixed effect two way and run the below code but it always give me error as below. Please help me what is wrong in SAS code.

only one cross section or time series observation. Computations will be terminated. Or     Each observation for time point Year=2009 has a missing value for at least one variable in MODEL statement.

 

proc panel data=csrdir.master10;

   id ticker Year;

    model total_esg_score = LAG_total_esg_score dirperINDdirector ln_boardsize ptcinsider ptcwomen duality ln_companyage roa leverage log_ta ln_mktcap earnings_to_assets / fixtwo;

run;

 

 

 
 
 
1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

I do not know how an ERROR message can be more explicit and specific. 😀

 

PROC PANEL is meant for time-series cross-sectional data (TSCS-data).

 

Your ID statement is like this :

  • ID cross-section-id time-series-id;

How many tickers do you have? How many years?
Do all tickers and years have (non-missing) data?

 

Thanks,

Koen

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

Discussion stats
  • 1 reply
  • 592 views
  • 0 likes
  • 2 in conversation