--- title: "Logistic regression lines" slug: "logistic-regression-lines" updated: 2025-01-20T14:48:31Z published: 2025-01-20T14:48:31Z canonical: "userguide.dataclassroom.com/logistic-regression-lines" --- > ## Documentation Index > Fetch the complete documentation index at: https://userguide.dataclassroom.com/llms.txt > Use this file to discover all available pages before exploring further. # Logistic regression lines Under the list of options for Regression Lines, you'll see the **Logistic Regression** option. ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1737383908829.png) This can be used to draw a **logistic regression curve** ([Wikipedia](https://en.wikipedia.org/wiki/Logistic_regression)) 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 CategoricalAlthough 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: ![](https://cdn.document360.io/62f8f41e-e041-42c4-b9bc-8ae1eb45d064/Images/Documentation/image-1737384299381.png)