BookmarkSubscribeRSS Feed
mdtr31
Calcite | Level 5

Hi everyone,

 

I am trying to regress an ordinal variable (5 levels) on two continuous variables. In order to control for fixed effects (year & industry), I use the STRATA option. However, the result does not include any table after the "strata summary". The procedure works flawlessly without the strata option. My code is as follows and attached you may find the first 100 observations of my dataset.

 

ods output ParameterEstimates= ODSout_Logistic;
PROC LOGISTIC data= test ;
   model DV1=  X1  X2  / rsquare;
   strata YR  IND;
RUN;

 

I appreciate your help. Also, if you know any other way to control for fixed effects in a logistic regression, I would greatly appreciate that as well.

 

P.S. some times it works with a two-level dependent variable (DV2), but not always!

 

Best,

Moe

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!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 627 views
  • 0 likes
  • 1 in conversation