Logistics Regression
Logistics Regression
• ln[p/(1-p)] = a + BX
• or
• p/(1-p) = e^(a + BX)
• Where:
• “ln” is the natural logarithm, logexp, where e=2.71828
• “p” is the probability that Y for cases equals 1, p (Y=1)
• “1-p” is the probability that Y for cases equals 0,
• 1 – p(Y=1)
• “p/(1-p)” is the odds
• ln[p/1-p] is the log odds, or “logit”
BEGINNING LOGISTIC REGRESSION MODEL
• The SPSS output for logistic regression begins
with output for a model that contains no
independent variables. It labels this output
"Block 0: Beginning Block" and (if we request
the optional iteration history) reports the initial -
2 Log Likelihood, which we can think of as a
measure of the error associated trying to
predict the dependent variable without using
any information from the independent The initial -2 log
likelihood is 213.891.
variables.
Persons who score high on the idealism dimension believe that ethical behaviour will always lead only to good
consequences, never to bad consequences, and never to a mixture of good and bad consequences
• When there was only one variable gender that would affect the decision variable we had
-2LL = 399.913.
• Now here we have Added idealism and relativism so the value has dropped
-2LL to 346.503, a drop of 53.41.
• 2(2) = 399.913 – 346.503 = 53.41
To compare each of the cosmetic, theory, meat, and veterinary groups with the
medical group set up a dummy variable for each of the groups except the medical
group
• THE BLOCK 0 “VARIABLES NOT IN THE EQUATION” SHOW HOW MUCH THE -2LL WOULD DROP
IF A SINGLE PREDICTOR WERE ADDED TO THE MODEL (WHICH ALREADY HAS THE INTERCEPT)
DECISION =
IDEALISM, RELATIVISM, GENDER, PURPOSE