Data Science, Statistics, Programming, R Programming, Science.
grey line in the chart below. Evidently, a Logistic Regression as indicated by the green line provides a better fit. Chart 2: Linear Regression vs. Logistic Regression. Chart by author Logistic Regression belongs to the family of Generalised Linear Models (“GLM”). Assuming we want to model the