BookmarkSubscribeRSS Feed
bd_user_10
Quartz | Level 8

Hi Everyone,

 

I have the following data:

 

DATE               ISIN                    DUMMY        OIB         SIZE          MB        ROA      MONTH      YEAR        SIC

2000-01-01    FI0009000053           1              1              22.71       1.17        0.76        1                2000          4560

2000-02-01    FI0009000053           1              0.6           21.69       1.17        0.79        2                2000          4560

2001-01-01    FI0009000054           0              0.3           13.54       0.97        1.2          1                2001          4240

2001-02-01    FI0009000054           0              0.4           12.45       0.82        1.05        1                2001          4240

2003-01-01    FI0009000060           1              1              17.45       0.83        1.0          1                2003          3500

 

How to run month year and industry fixed effect in the following logistic regression?

 

I need hep to fix these codes. Can someone please help?

 

proc logistic data = have plots(only)=(effect oddsratio);

STRATA YEAR MONTH SIC;

model DUMMY(event='1') = OIB SIZE MB ROA / RSQ;

RUN;

 

Thanks.

1 REPLY 1
mkeintz
PROC Star

Please define the problem symptoms.  I.e. error messages, warnings, uncomfortable notes on the log,  unexpected results.   Don't make the forum guess what happened.  Then you'll get a lot more useful help.

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1028 views
  • 0 likes
  • 2 in conversation