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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 2016 views
  • 2 likes
  • 4 in conversation