Purpose of Classification (and by extension Purpose of Logistic Regression)
Predicting qualitative or categorical outcome of Y
(Linear would be possible with dummy variable, but interpretation difficult…)
(Linear regression assumes an outcome variable that is continuous or quantitative, therefore any implied ordering is not real )
Classification Techniques
Logistic function and log odds function
p(x)
and
log (odds) = logistic regression coefficients
How to estimate coefficients in logistic regression
Maximum Likelihood method
1. Produce S-shaped curve
2. Product ( individual likelihoods pi ) * Product ( (1 - pi) )
( or alternatively add the log-likelihoods )
Classification model performance measures w/ formula