Documente Academic
Documente Profesional
Documente Cultură
where
Formula 1
p Probability
e the base of natural logarithms ( 2.718)
u b0 b1 X 1 b2 X 2 ....... b p X p
P (Y ) Yi
where
b0 b1 X 1 b2 X 2 ...... b p X p
1 e
b0 b1 X 1 b2 X 2 ....... b p X p
p Probability
e the base of natural logarithms ( 2.718)
u b0 b1 X 1 b2 X 2 ....... b p X p
Example 1 Pass
0 Fail
DV
IV
Use the observed and predicted value of the outcome to assess the
fit of the model.
The statistic used to measure the fit of the model is called loglikelihood:
N
Formula 2
2 LL( B) LL(0)
2
Formula 3
LL(B) is log-likelihood for the bigger model which includes all the
predictors
LL(0) is log-likelihood for the smaller model which includes only the
intercept
SE (b)
1. R-Statistic
2. Cox and Snell R2
3. Nagelkerke R2
4. Hosmer and Lemeshows R2
Formula:
Wald (2 * df )
R
2 LL(0)
Formula 4
1 e
n ( LL ( B ) LL ( 0 ))
Formula 5
R
2
N
1 e
2 ( LL ( 0 ))
Formula 6
2 LL( B)
R
2 LL(0)
2
L
Formula 7
Formula 8
The coefficients (b) are the natural logs of the odds ratio, thus
odds ratio can be calculated using the following formula:
odds ratio e
Formula 9
odd ratio e
1.25
3.49
1 unit increase in income (in RM1,000) will increase the odd
(likelihood) of home ownership by 3.49 times
i.e. Y = 1 if > .5
Y = 0 if < .5
SPSS provides:
1. Percentage of correctly classify category 1
2. Percentage of correctly classify category 0
3. Overall percentage
1. Enter
All variables entered simultaneously
2. Sequential/Hierarchical
Variables entered in blocks
Blocks should be based on past research or theory being
tested
3. Stepwise
Variables entered on the basis of statistical criteria (relative
contribution to predict outcome)
Should be employed only for exploratory analysis
(From Tabachnick)
Data set:
Fall
Difficulty
1
3
1
1
0
1
1
2
1
3
0
2
0
1
1
3
1
2
1
2
0
2
0
2
1
3
1
2
0
3
Season
1
1
3
3
2
2
2
1
3
1
2
3
2
2
1
Prob( Fall ) Yi
1 e 1.776(1.010)( DIFF )( 0.928)( SEAS1)( 0.418)( SEAS 2)
N
2 2 LL( B) LL(0)
Formula 1
Formula 2
Formula 3
Excel Computation
Excel Computation
Wald Test
Odds ratio
Constant
-1.776
0.88
.347
.169
Difficulty
1.010
1.27
.259
2.747
Season(1)
.927
0.34
.560
2.527
Season(2)
-.418
0.09
.763
.658
Variable
Label/Value
PERFORM
Performance in Subject
0 No
1 Yes
Interest in the Subject
0 No
1 Yes
Age in years
INTEREST
AGE
Wald Test
Constant
Interest
Age
Note: R2 = ___ (Cox & Snell), ___ (Nagelkerke)
Model 2 (_)= _____, p = ___
Odds ratio
(From Tabachnick)
Variable
Label/Value
WorkStatus
Work status
1 Working
2 Housewives
Presence of children
0 No
1 Yes
Locus of control
Attitudes toward current marriage
Attitudes toward housework
Attitudes toward role of women
Age group
Years of education
Children
Control
AttMar
AttHouse
AttRole
Age
Educ
Constant
Locus of control
Attitude towards marital status
Attitude towards role of women
Attitude towards housework
Note: R2 = ___ (Cox & Snell), ___ (Nagelkerke)
Model 2 (_)= _____, p = ___
Wald Test
Odds ratio
Constant
Presence of children
Locus of control
Wald Test
Odds ratio