Use %logitplot(dataset, thePredictorVariable, theOutcomeVariable, NumBins) by Raymond R. Balise (balise@stanford.edu) to test assumptions of linearity; available at : www.stanford.edu/~kcobb/courses/hrp261-->Logit Plot Macro
Thanks to Benjamin Knisley, Dr. Joshua Morgan, Dr. Linn Carothers and Keith Haigh for this tip. Read more details in this paper from WUSS 2017: Integrating Health Data Sources to Identify Stratify and Predict High Utilizers of Public Systems.