BookmarkSubscribeRSS Feed
Babloo
Rhodochrosite | Level 12

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?

 

5 REPLIES 5
Rick_SAS
SAS Super FREQ

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.

Ksharp
Super User

One more way is using Decision Tree, if you have it .

StatDave
SAS Super FREQ

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. 

DineshK1493
Fluorite | Level 6
If you want to build a predictive model than proc logistic would be suited. There are several other statistical tests for categorical data .so ultimately depends upon what you are testing for .

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
  • 1889 views
  • 5 likes
  • 6 in conversation