UCLA Academic Technology Services HomeServicesClassesContactJobs
Search

SPSS Textbook Examples
Applied Regression Analysis by John Fox
Chapter 15: Logit and probit models

page 440 Figure 15.1 Scatterplot of voting intention (1 represents yes, 0 represents no) by a scale of support for the status quo, for a sample of Chilean voters surveyed prior to the 1988 plebiscite. The points are jittered vertically to minimize overlapping. The solid straight line shows the linear least-squares fit; the solid curved line shows the fit of the logistic regression model; the broken line represents a lowess nonparametric regression.

NOTE: SPSS will not allow the multiple regression lines to be placed on a single graph. Also, we do not know how to do a lowess non-parametric regression in SPSS.

GET FILE='D:\chile.sav'.
if intvote = 1 voting = 1.
if intvote = 2 voting = 0.

IGRAPH
 /X1 = VAR(statquo)
 /Y = VAR (voting)
 /FITLINE METHOD = REGRESSION LINEAR LINE = TOTAL
 /SCATTER COINCIDENT = NONE.
  Interactive Graph 

page 452 Table 15.1 Deviances (-2 log likelihood) for several models fit to the women's labor force participation data. The following code is used for terms in the models: C constant; I husband's income; K presence of children; R region. The column labeled K + 1 gives the number of regressors in the model, including the constant.

GET FILE='D:\womenlf.sav'.

if workstat = 1 or workstat = 2 ws = 1.
if workstat = 0 ws = 0.
compute ik = husbinc*chilpres.
compute cons = 1.
compute rgn1 = 0.
if region = "Atlantic" rgn1 = 1.
compute rgn2 = 0.
if region = "BC" rgn2 = 1.
compute rgn3 = 0.
if region = "Ontario" rgn3 = 1.
compute rgn4 = 0.
if region = "Prairie" rgn4 = 1.
compute rgn5 = 0.
if region = "Quebec" rgn5 = 1.
execute.

model 0 with C:

NOTE: SPSS will not allow a regression without a predictor. (i.e., just the constant). Therefore, you need to create a variable - here we created const. Then we entered our constant with the /noconst subcommand, which, in effect, gives us a model with just a constant.

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER cons
 /noconst.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b,c)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 0 155 .0
1.00 0 108 100.0
Overall Percentage

41.1
a No terms in the model.
b Initial Log-likelihood Function: -2 Log Likelihood = 364.595
c The cut value is .500

Variables not in the Equation

Score df Sig.
Step 0 Variables CONS 8.399 1 .004
Overall Statistics 8.399 1 .004

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 8.445 1 .004
Block 8.445 1 .004
Model 8.445 1 .004

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 356.151 .032 .042


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) CONS -.361 .125 8.308 1 .004 .697
a Variable(s) entered on step 1: CONS.

model 1 with C, I, K, R, I*K:

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER husbinc chilpres rgn2 rgn3 rgn4 rgn5 ik.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables HUSBINC 4.928 1 .026
CHILPRES 31.599 1 .000
RGN2 1.530 1 .216
RGN3 .008 1 .929
RGN4 .244 1 .622
RGN5 .242 1 .623
IK 25.164 1 .000
Overall Statistics 38.657 7 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 39.609 7 .000
Block 39.609 7 .000
Model 39.609 7 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 316.542 .140 .188


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 135 20 87.1
1.00 58 50 46.3
Overall Percentage

70.3
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) HUSBINC -.068 .034 4.094 1 .043 .934
CHILPRES -2.139 .692 9.567 1 .002 .118
RGN2 .331 .585 .320 1 .571 1.392
RGN3 .183 .466 .154 1 .694 1.201
RGN4 .469 .557 .709 1 .400 1.599
RGN5 -.203 .502 .163 1 .686 .816
IK .036 .041 .755 1 .385 1.037
Constant 1.625 .698 5.414 1 .020 5.078
a Variable(s) entered on step 1: HUSBINC, CHILPRES, RGN2, RGN3, RGN4, RGN5, IK.

model 2 with C, I, K, R:

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER husbinc chilpres rgn2 rgn3 rgn4 rgn5.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables HUSBINC 4.928 1 .026
CHILPRES 31.599 1 .000
RGN2 1.530 1 .216
RGN3 .008 1 .929
RGN4 .244 1 .622
RGN5 .242 1 .623
Overall Statistics 37.765 6 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 38.850 6 .000
Block 38.850 6 .000
Model 38.850 6 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 317.301 .137 .185


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 132 23 85.2
1.00 55 53 49.1
Overall Percentage

70.3
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) HUSBINC -.045 .021 4.857 1 .028 .956
CHILPRES -1.604 .302 28.245 1 .000 .201
RGN2 .342 .585 .342 1 .559 1.408
RGN3 .188 .468 .161 1 .688 1.207
RGN4 .472 .557 .718 1 .397 1.603
RGN5 -.173 .500 .120 1 .729 .841
Constant 1.268 .553 5.256 1 .022 3.553
a Variable(s) entered on step 1: HUSBINC, CHILPRES, RGN2, RGN3, RGN4, RGN5.
 

model 3 with C, I, K, I*K:

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER husbinc chilpres ik.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables HUSBINC 4.928 1 .026
CHILPRES 31.599 1 .000
IK 25.164 1 .000
Overall Statistics 36.471 3 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 37.027 3 .000
Block 37.027 3 .000
Model 37.027 3 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 319.124 .131 .177


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 133 22 85.8
1.00 59 49 45.4
Overall Percentage

69.2
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) HUSBINC -.062 .033 3.604 1 .058 .940
CHILPRES -2.046 .677 9.134 1 .003 .129
IK .032 .041 .605 1 .437 1.032
Constant 1.640 .558 8.646 1 .003 5.153
a Variable(s) entered on step 1: HUSBINC, CHILPRES, IK.

model 4 with C, I, R:

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER husbinc rgn2 rgn3 rgn4 rgn5.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables HUSBINC 4.928 1 .026
RGN2 1.530 1 .216
RGN3 .008 1 .929
RGN4 .244 1 .622
RGN5 .242 1 .623
Overall Statistics 8.011 5 .156

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 8.302 5 .140
Block 8.302 5 .140
Model 8.302 5 .140

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 347.849 .031 .042


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 141 14 91.0
1.00 87 21 19.4
Overall Percentage

61.6
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) HUSBINC -.045 .019 5.435 1 .020 .956
RGN2 .858 .545 2.476 1 .116 2.359
RGN3 .458 .444 1.060 1 .303 1.580
RGN4 .466 .535 .760 1 .383 1.594
RGN5 .204 .469 .190 1 .663 1.227
Constant -.093 .463 .040 1 .841 .911
a Variable(s) entered on step 1: HUSBINC, RGN2, RGN3, RGN4, RGN5.

model 5: with C, K, R:

LOGISTIC REGRESSION VAR=ws
 /METHOD=ENTER chilpres rgn2 rgn3 rgn4 rgn5.
 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables CHILPRES 31.599 1 .000
RGN2 1.530 1 .216
RGN3 .008 1 .929
RGN4 .244 1 .622
RGN5 .242 1 .623
Overall Statistics 33.493 5 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 33.724 5 .000
Block 33.724 5 .000
Model 33.724 5 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 322.427 .120 .162


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 129 26 83.2
1.00 55 53 49.1
Overall Percentage

69.2
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) CHILPRES -1.603 .298 28.905 1 .000 .201
RGN2 .241 .576 .174 1 .676 1.272
RGN3 .042 .457 .008 1 .927 1.043
RGN4 .492 .550 .798 1 .372 1.635
RGN5 -.156 .493 .100 1 .752 .856
Constant .672 .476 1.988 1 .159 1.958
a Variable(s) entered on step 1: CHILPRES, RGN2, RGN3, RGN4, RGN5.

page 452 Table 15.2 Analysis of deviance table for terms in the logit model fit to the women's labor force participation data.

NOTE: To get the G**2 terms, subtract the deviances. 
Model 0 versus model 1: 356.16 - 316.54 = 39.62. 
Model 2 versus model 1: 317.30 - 316.54 = .76. 
Model 5 versus model 2: 322.44 - 317.30 = 5.14. 
Model 4 versus model 2: 347.86 - 317.30 = 30.56. 
Model 3 versus model 1: 319.12 - 316.54 = 2.58.

page 453 Figure 15.4 Fitted probability of young married women working outside the home, as a function of husband's income and presence of children. The solid line shows the logit model fit by maximum likelihood; the broken line shows the linear least-squares fit.

NOTE: The four lines in Figure 15.4 have been done in separate graphs.

logistic regression var = ws 
 /method=enter chilpres husbinc 
 /save pre. 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables CHILPRES 31.599 1 .000
HUSBINC 4.928 1 .026
Overall Statistics 35.714 2 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 36.418 2 .000
Block 36.418 2 .000
Model 36.418 2 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 319.733 .129 .174


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 132 23 85.2
1.00 55 53 49.1
Overall Percentage

70.3
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) CHILPRES -1.576 .292 29.065 1 .000 .207
HUSBINC -.042 .020 4.575 1 .032 .959
Constant 1.336 .384 12.116 1 .000 3.803
a Variable(s) entered on step 1: CHILPRES, HUSBINC.
regression 
 /dep = ws 
 /method=enter chilpres husbinc 
 /save pre. 
Variables Entered/Removed(b)
Model Variables Entered Variables Removed Method
1 Husband's income, $1000, Children present(a) . Enter
a All requested variables entered.
b Dependent Variable: WS

Model Summary(b)
Model R R Square Adjusted R Square Std. Error of the Estimate
1 .369(a) .136 .129 .45996
a Predictors: (Constant), Husband's income, $1000, Children present
b Dependent Variable: WS

ANOVA(b)
Model Sum of Squares df Mean Square F Sig.
1 Regression 8.643 2 4.322 20.427 .000(a)
Residual 55.007 260 .212

Total 63.650 262


a Predictors: (Constant), Husband's income, $1000, Children present
b Dependent Variable: WS



Coefficients(a)

Unstandardized Coefficients Standardized Coefficients t Sig.
Model B Std. Error Beta
1 (Constant) .794 .077
10.350 .000
Children present -.367 .062 -.342 -5.934 .000
Husband's income, $1000 -8.538E-03 .004 -.125 -2.170 .031
a Dependent Variable: WS

Residuals Statistics(a)

Minimum Maximum Mean Std. Deviation N
Predicted Value .0421 .7851 .4106 .18163 263
Residual -.7510 .8981 .0000 .45820 263
Std. Predicted Value -2.029 2.062 .000 1.000 263
Std. Residual -1.633 1.953 .000 .996 263
a Dependent Variable: WS
if chilpres = 1 pw1 = pre_1.
if chilpres = 0 pw2 = pre_1.
if chilpres = 1 lw1 = pre_2.
if chilpres = 0 lw2 = pre_2.
execute.

SORT CASES BY husbinc (A).

IGRAPH
 /X1 = VAR(husbinc)
 /Y = VAR(pw1)
 /LINE(MEAN) STYLE = LINE INTERPOLATE = STRAIGHT.
  Interactive Graph 
IGRAPH
 /X1 = VAR(husbinc)
 /Y = VAR(pw2)
 /LINE(MEAN) STYLE = LINE INTERPOLATE = STRAIGHT.
  Interactive Graph 
IGRAPH
 /X1 = VAR(husbinc)
 /Y = VAR(lw1)
 /LINE(MEAN) STYLE = LINE INTERPOLATE = STRAIGHT.

Interactive Graph
IGRAPH
 /X1 = VAR(husbinc)
 /Y = VAR(lw2)
 /LINE(MEAN) STYLE = LINE INTERPOLATE = STRAIGHT.
  Interactive Graph 

page 459 Figure 15.5 Partial-residual plot for husband's income in the women's labor force participation data. The broken line gives the logit fit; the solid line shows a lowess smooth of the plot. Note the four bands due to the four combinations of values of the dichotomous dependent variable and the dichotomous independent variable presence of children. Because husband's income is also discrete, many points are overplotted.

NOTE: SPSS does not do lowess smoothing in IGRAPH, so that line is not done. The other two are done on separate graphs. 

NOTE: Leverage, studentized residuals and dfbetas are being saved here so that this regression only has to be run once.

logistic regression var=ws 
 /method=enter chilpres husbinc 
 /save pre lev sre dfbeta. 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables CHILPRES 31.599 1 .000
HUSBINC 4.928 1 .026
Overall Statistics 35.714 2 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 36.418 2 .000
Block 36.418 2 .000
Model 36.418 2 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 319.733 .129 .174


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 132 23 85.2
1.00 55 53 49.1
Overall Percentage

70.3
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) CHILPRES -1.576 .292 29.065 1 .000 .207
HUSBINC -.042 .020 4.575 1 .032 .959
Constant 1.336 .384 12.116 1 .000 3.803
a Variable(s) entered on step 1: CHILPRES, HUSBINC.

NOTE: pre_3 is generated here.

compute par = (ws-pre_3)/(pre_3*(1-pre_3)) - .0423*husbinc.
regression 
 /dep=par 
 /method=enter husbinc 
 /save pre. 
Variables Entered/Removed(b)
Model Variables Entered Variables Removed Method
1 Husband's income, $1000(a) . Enter
a All requested variables entered.
b Dependent Variable: PAR

Model Summary(b)
Model R R Square Adjusted R Square Std. Error of the Estimate
1 .100(a) .010 .006 2.25325
a Predictors: (Constant), Husband's income, $1000
b Dependent Variable: PAR

ANOVA(b)
Model Sum of Squares df Mean Square F Sig.
1 Regression 13.494 1 13.494 2.658 .104(a)
Residual 1325.132 261 5.077

Total 1338.626 262


a Predictors: (Constant), Husband's income, $1000
b Dependent Variable: PAR



Coefficients(a)

Unstandardized Coefficients Standardized Coefficients t Sig.
Model B Std. Error Beta
1 (Constant) -.140 .316
-.443 .658
Husband's income, $1000 -3.141E-02 .019 -.100 -1.630 .104
a Dependent Variable: PAR

Casewise Diagnostics(a)
Case Number Std. Residual PAR
260 3.138 5.74
261 3.138 5.74
a Dependent Variable: PAR

Residuals Statistics(a)

Minimum Maximum Mean Std. Deviation N
Predicted Value -1.5536 -.1717 -.6037 .22694 263
Residual -3.9922 7.0705 .0000 2.24895 263
Std. Predicted Value -4.186 1.904 .000 1.000 263
Std. Residual -1.772 3.138 .000 .998 263
a Dependent Variable: PAR
IGRAPH
 /X1 = VAR(husbinc)
 /Y = VAR(pre_4)
 /LINE(MEAN) STYLE = LINE INTERPOLATE = STRAIGHT.
  Interactive Graph 
GRAPH
  /SCATTERPLOT(BIVAR)=husbinc WITH par.
  Scatter of par husbinc 

page 461 Figure 15.6 Plot of studentized residuals versus hat values for the logit model fit to the women's labor force participation data. Vertical lines are drawn at twice and three times the average hat value. Many points are overplotted.

logistic regression var=ws 
 /method=enter chilpres husbinc 
 /save lev sre dfbeta. 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 0 WS .00 155 0 100.0
1.00 108 0 .0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 0 Constant -.361 .125 8.308 1 .004 .697

Variables not in the Equation

Score df Sig.
Step 0 Variables CHILPRES 31.599 1 .000
HUSBINC 4.928 1 .026
Overall Statistics 35.714 2 .000

Omnibus Tests of Model Coefficients

Chi-square df Sig.
Step 1 Step 36.418 2 .000
Block 36.418 2 .000
Model 36.418 2 .000

Model Summary
Step -2 Log likelihood Cox & Snell R Square Nagelkerke R Square
1 319.733 .129 .174


Classification Table(a)

Predicted
WS Percentage Correct

Observed .00 1.00
Step 1 WS .00 132 23 85.2
1.00 55 53 49.1
Overall Percentage

70.3
a The cut value is .500

Variables in the Equation

B S.E. Wald df Sig. Exp(B)
Step 1(a) CHILPRES -1.576 .292 29.065 1 .000 .207
HUSBINC -.042 .020 4.575 1 .032 .959
Constant 1.336 .384 12.116 1 .000 3.803
a Variable(s) entered on step 1: CHILPRES, HUSBINC.
compute pr = (ws - pre_3)/sqrt(pre_3*(1 - pre_3)).

GRAPH
  /SCATTERPLOT(BIVAR)=lev_1 WITH sre_1.
  Scatter of sre_1 lev_1 

page 462 Figure 15.7 Index plots of approximate influence of each observation on the coefficients of husband's income and presence of children.

Panel (a)

GRAPH
  /SCATTERPLOT(BIVAR)=obs WITH dfb2_1.
  Scatter of dfb2_1 obs 
  

Panel (b)

GRAPH
  /SCATTERPLOT(BIVAR)=obs WITH dfb1_1.
  Scatter of dfb1_1 obs 

page 469 Figure 15.8 Fitted probabilities for the polytomous logit model, showing women's labor force participation as a function of husband's income and presence of children. The upper panel is for children present, the lower panel for children absent.

NOTE: The scaling of the x-axis is very different than in the text.

Panel (a)

GET FILE='D:\womenlf.sav'.
compute w0 = 0.
if workstat = 0 w0 = 1.
compute w1 = 0.
if workstat = 1 w1 = 1.
compute w2 = 0.
if workstat = 2 w2 = 1.
execute.

logistic regression var=w0 
 /method=enter husbinc chilpres 
 /save pre. 
Case Processing Summary
Unweighted Cases(a) N Percent
Selected Cases Included in Analysis 263 100.0
Missing Cases 0 .0
Total 263 100.0
Unselected Cases 0 .0
Total 263 100.0
a If weight is in effect, see classification table for the total number of cases.

Dependent Variable Encoding
Original Value Internal Value
.00 0
1.00 1


Classification Table(a,b)

Predicted
W0 Percentage Correct

Observed .00 1.00
Step 0 W0 .00 0 108 .0
1.00 0 155 100.0
Overall Percentage

58.9
a Constant is included in the model.
b The cut value is .500

Variables in the Equation

B S.