BookmarkSubscribeRSS Feed
kaushal2040
Calcite | Level 5

Hello Forum,

I was wondering if  there is way to model multiple binary outcomes in SAS?

Thanks !!!

5 REPLIES 5
ballardw
Super User

Your question is kind of sketchy. You may get more useable responses you provide some example data and what your are trying to do.

kaushal2040
Calcite | Level 5

Hi ballardw,

In MANOVA (Multivariate Analysis of Variance) we can fit multiple dependent variables but they have to be continuous .  Here I am trying to model multiple (alcohol, smoking, drug)  binary (0/1) outcome with some set of predictors .  Proc Logistic can handle only one dependent variable.  I don't  know if there is multivariate counterpart of proc logistic.

Here is mock data.

DATA;

INPUT ALCOHOL SMOKE DRUG  GENDER $  RACE   $;

CARDS;

1  0  1  MALE    WHITE

0  1  0  FEMALE  HISPANIC

1  0  1  MALE    BLACK

...................

..................

..................

;

RUN;

Thanks !!!

SteveDenham
Jade | Level 19

PROC CATMOD presents some possibilities. Start with Example 32.4 Log-Linear Model, Three Dependent Variables, and work up from there.

Steve Denham

StatDave
SAS Super FREQ

See the "Multivariate logistic model" item the following note:

   http://support.sas.com/kb/22871

Not quite the log-linear model that Steve mentioned, you could use CATMOD with the RESPONSE LOGITS; statement when specifying multiple response variables.  The note also mentions QLIM for the bivariate case.

kaushal2040
Calcite | Level 5

Thanks, SteveDenham and StatDave@sas

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 2395 views
  • 2 likes
  • 4 in conversation