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

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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