Logistic Regression in R

Introduction In this post, I’ll introduce the logistic regression model in a semi-formal, fancy way. Then, I’ll generate data from some simple models: 1 quantitative predictor 1 categorical predictor 2 quantitative predictors 1 quantitative predictor with a quadratic term I’ll model data from each example using linear and logistic regression. Throughout the post, I’ll explain equations, terms, output, and plots. Here are some key takeaways: