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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

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