Logistic Regression: Instructor: Karthik Sriram
Logistic Regression: Instructor: Karthik Sriram
A simple example
A customers purchase decisions on a
product during her visits to a store are
shown below
A simple example-continued
Question: When the price is 2.5 how
likely is it that she will purchase ?
Trials/successes view of
data
Trials/successes view of
data
We would like.
P(Purchase) = a function of
price
Can we answer this with linear
regression?
A non-linear fit
Maximum Likelihood
Estimation
Compute the likelihood of observed
data
Data
Find t.
e.g. P(purchase at price 2) =
= =0.67
In practice
Need Sophisticated Numerical Methods
Minitab, R, SAS, SPSS etc.
Estimation of parameter is not enough,
Standard Errors also need to be
computed.
Logistic Regression
Formulation
Formulation
takes values in ),
takes values in ,
Note that
Estimation: MLE
Maximize:
Concepts
Formulation and Estimation
Interpretation of coefficients
Goodness of Fit
Validation
Practical Exercise
A direct marketing company..
(Probability of buying)
=
Recall :
Parameter Estimates