Hello Forum,
I was wondering if there is way to model multiple binary outcomes in SAS?
Thanks !!!
Your question is kind of sketchy. You may get more useable responses you provide some example data and what your are trying to do.
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 !!!
PROC CATMOD presents some possibilities. Start with Example 32.4 Log-Linear Model, Three Dependent Variables, and work up from there.
Steve Denham
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.
Thanks, SteveDenham and StatDave@sas
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.