Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

Why do logistic regression coefficients in SAS produce signs opposite to those of other statistical software packages?

The SAS PROC LOGISTIC procedure models the probability of the smaller value of the dichotomous response. Assuming a dependent variable Y has been coded to have the values 0 or 1, SAS by default estimates a model of probability of 0.

More specifically, SAS estimates log{(1-p)/p} = -X'b, where 1-p is the probability of Y=0, b is the parameter vector, and X is the vector of independent variables.

In contrast, the .logit command in Stata and the LOGISTIC REGRESSION command in SPSS model the probability of the larger value of the dependent variable. In Stata and SPSS, the estimated logit is log{p/(1-p)} = X'b. This difference results in signs opposite to those from SAS.

The DESCENDING option in the PROC LOGISTIC statement enables users to model the probability of Y=1 in SAS. The statement is as follows:

PROC LOGISTIC DESCENDING; MODEL y = x1 x2; RUN;
This is document abev in domain all.
Last modified on March 24, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.