Programming the statistical procedures from SAS

Statistical test for binary independent variables

Reply
Super Contributor
Posts: 399

Statistical test for binary independent variables

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?

 

Grand Advisor
Posts: 16,880

Re: Statistical test for binary independent variables

SAS Super FREQ
Posts: 3,306

Re: Statistical test for binary independent variables

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.

Grand Advisor
Posts: 9,451

Re: Statistical test for binary independent variables

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

SAS Employee
Posts: 187

Re: Statistical test for binary independent variables

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. 

New Contributor
Posts: 4

Re: Statistical test for binary independent variables

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 .
Ask a Question
Discussion stats
  • 5 replies
  • 342 views
  • 5 likes
  • 6 in conversation