liveBook · Manning

Logistic regression

As explained in Effective Data Analysis

Logistic regression is a statistical model for estimating the relationship between a categorical outcome and one or more predictors.

Logistic regression is a predictive model for estimating relationships between a categorical dependent variable and one or more independent variables. section 4.2.1

Use logistic regression when:

  • The outcome is categorical rather than continuous. section 4.2.1
  • One or more predictors are used to estimate or predict that outcome. section 4.2.1
  • Parametric assumptions and data shape are considered before making inferences. section 4.2.1

Predicting advertisement clicks

Predict whether a user will click an advertisement—yes or no—using age and the number of times the user has viewed it. section 9.1.3

Figure 4.19 Parametric statistics assume that the population data follows a specific probability distribution and that you can make inferences about the parameters of that distribution based on your sample data.
figure

Use the figure to review the distributional assumptions underlying parametric statistical methods. section 4.2.1

How Effective Data Analysis covers it

How deep it goes
Defines the model and its role, relates it to linear regression, and defers detailed regression methods.
Examples
Uses advertisement-click prediction from user age and viewing frequency as a categorical-outcome example.
What it assumes
Builds on predictors, dependent variables, parametric statistics, and distributional assumptions.
What you can do after
Evaluate whether a categorical-outcome prediction problem calls for logistic regression rather than linear regression.
How it connects
Connects logistic regression with linear regression, parametric statistics, predictors, dependent variables, and statistical assumptions.

Also explained in

Compare how 12 books explain logistic regression →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Data Analysis. The section links point to the parts of the book it draws on.