4_c_logistic regression
4_c_logistic regression
Introduction
Regression analysis
Based on the principle of Least Square Estimation (LSE)
The parameters are chosen to minimize the sum of squared errors (SSE)
Logistic regression
Considers maximum likelihood estimation (MLE) to give better result.
In MLE, the likelihood is the probability of the observed data set given a set of proposed values
for the parameters.
The principle of MLE is to estimate parameters by choosing parameter values that give the
largest possible likelihood.
Note
Hours
0.50 0.75 1.00 1.25 1.50 1.75 1.75 2.00 2.25 2.50 2.75 3.00 3.25 3.50 4.00 4.25 4.50 4.75 5.00 5.50
(xi)
Pass
0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 1 1 1 1 1
(yi)
Probability
Category 1:
Category 2:
Concept of Logistic Regression
Introduction
Introduction
It is represented by an indicator
variable, where the two values
are labeled ‘1’ and ‘0’
1 0
Concept of Logistic Regression
The probability of the value can vary between 0 (such as certainly false)
and 1 (such as certainly true).