Ourse Notes Ogistic Egression: Course Notes: Descriptive Statistics Course Notes: Descriptive Statistics
Ourse Notes Ogistic Egression: Course Notes: Descriptive Statistics Course Notes: Descriptive Statistics
REGRESSION
Course
Coursenotes:
notes:
Descriptive
Descriptive
statistics
statistics
Logistic regression vs Linear regression
Logistic regression implies that the possible outcomes are not numerical but
rather categorical.
Category 1
Examples for categories are: Logistic
• Yes / No regression
• Will buy / Won’t Buy Category 2
• 1/0
𝑒 (β0+β1X1+…+βkXk)
Logistic regression model: 𝑝(X) =
1+𝑒 (β0+β1X1+…+βkXk)
Logistic model
input probability
log (o𝐝𝐝𝐬) = 𝜷𝟎 + 𝜷𝟏 𝒙 + ⋯ 𝜷𝒌 𝒙𝒌
Logistic regression model
*Likelihood function: a function which measures the goodness of fit of a statistical model.
MLE (Maximum Likelihood Estimation) tries to maximize the likelihood function.
Underfitting Overfitting
The model has not captured the underlying Our training has focused on the particular
logic of the data. training set so much it has “missed the point”.
*Note that when we refer to the population models, we use Greek letters