Programming the statistical procedures from SAS

How to use fixed effects for logit?

Reply
Highlighted
Occasional Contributor
Posts: 7

How to use fixed effects for logit?

Is the proper way to do fixed effects for logit this...

 

proc surveylogistic data=table;
  strata year industry;
  model y = x1 x2 x3 /rsquare link=logit;
run;

...Or this...

proc surveylogistic data=table;
  class year industry;
  model y = x1 x2 x3 year industry /rsquare link=logit;
run;

Thanks!

Post a Question
Discussion Stats
  • 0 replies
  • 34 views
  • 0 likes
  • 1 in conversation