Logistic regression lines

Under the list of options for Regression Lines, you'll see the Logistic Regression option.

This can be used to draw a logistic regression curve (Wikipedia) based on your data which needs to be in the form:

  • X: A numeric variable
  • Y: A numeric variable with the only values being 0 and 1
Note: The Y variable is not Categorical
Although the Y variable could be considered Categorical, as its values represent just two outcomes, the math requires that it be considered a numeric value, and indeed the regression curve will have many values between 0 and 1.

Here is an example of such a curve: