I was learning logistic regression in python by comparing it with SAS.
Dataset: http://www.ats.ucla.edu/stat/data/binary.csv
here admit is the response variable and has categories 0 and 1.
SAS by default is modeling based on probability that ADMIT=0 and if I specify DESC option it does it on ADMIT = 1.
Ref: http://www.ats.ucla.edu/stat/sas/faq/logistic_descending.htm
Now in python,using stats models by default it is modeling on ADMIT = 1.How can I make to model on ADMIT= 0 (change the event description ) so that I dont see the difference in coefficients and predicted probablities.
Thanks.