Practical Guide to Logistic Regression covers the key points of the basic logistic regression model and illustrates how to use it properly to model a binary response variable. This powerful methodology can be used to analyze data from various fields, including medical and health outcomes research, business analytics and data science, ecology, fisheries, astronomy, transportation, insurance, economics, recreation, and sports. By harnessing the capabilities of the logistic model, analysts can better understand their data, make appropriate predictions and classifications, and determine the odds of one value of a predictor compared to another. Drawing on his many years of teaching logistic regression, using logistic-based models in research, and writing about the subject, Professor Hilbe focuses on the most important features of the logistic model. Serving as a guide between the author and readers, the book explains how to construct a logistic model, interpret coefficients and odds ratios, predict probabilities and their standard errors based on the model, and evaluate the model as to its fit. Using a variety of real data examples, mostly from health outcomes, the author offers a basic step-by-step guide to developing and interpreting observation and grouped logistic models as well as penalized and exact logistic regression. He also gives a step-by-step guide to modeling Bayesian logistic regression. R statistical software is used throughout the book to display the statistical models while SAS and Stata codes for all examples are included at the end of each chapter. The example code can be adapted to readers' own analyses. All the code is available on the author's website.
Statistical Models What Is a Statistical Model? Basics of Logistic Regression Modeling The Bernoulli Distribution Methods of Estimation SAS Code Stata Code Logistic Models: Single Predictor Models with a Binary Predictor Predictions, Probabilities, and Odds Ratios Basic Model Statistics Models with a Categorical Predictor Models with a Continuous Predictor Prediction SAS Code Stata Code Logistic Models: Multiple Predictors Selection and Interpretation of Predictors Statistics in a Logistic Model Information Criterion Tests The Model Fitting Process: Adjusting Standard Errors Risk Factors, Confounders, Effect Modifiers, and Interactions SAS Code Stata Code Testing and Fitting a Logistic Model Checking Logistic Model Fit Classification Statistics Hosmer-Lemeshow Statistic Models with Unbalanced Data and Perfect Prediction Exact Logistic Regression Modeling Table Data SAS Code Stata Code Reference Grouped Logistic Regression The Binomial Probability Distribution Function From Observation to Grouped Data Identifying and Adjusting for Extra Dispersion Modeling and Interpretation of Grouped Logistic Regression Beta-Binomial Regression SAS Code Stata Code References Bayesian Logistic Regression A Brief Overview of Bayesian Methodology Examples: Bayesian Logistic Regression SAS Code Stata Code Concluding Comments References