Dear SAS experts,
Could you please tell me the statistical test that suits for binary independent variables and binary dependent variable? Would logistic regression be appropriate?
Could you tell us what you are testing for?
A common test is for association. For tests of association, you might want to run a chi-square test by using PROC FREQ.
You can use PROC LOGISTIC if you want to create a model that predicts the probability of the response variable for each level of the explanatory variable.
One more way is using Decision Tree, if you have it .
For most purposes, PROC LOGISTIC is the procedure to use. It is definitely recommended, rather than CATMOD, for logistic modeling. This note describes the many possibilities.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.