Professional Documents
Culture Documents
0 for Windows
Julia Hartman
Next Copyright 2000, Julia Hartman 1
Introduction
According to SPSS Help, Logistic Regression:
is useful for situations in which you want to be able to predict the presence or absence of a characteristic or outcome based on values of a set of predictor variables. It is similar to a linear regression model but is suited to models where the dependent variable is dichotomous. Logistic regression coefficients can be used to estimate odds ratios for each of the independent variables in the model.
Next Copyright 2000, Julia Hartman 2
Introduction
This tutorial will use logistic regression to determine if the year of matriculation, gender, and US Medical Licensing Exam (Part 2) scores be used to predict whether or not physicians are board-certified in a primary care specialty (Family Medicine, Internal Medicine, Pediatrics, Ob-Gyn).
Next Copyright 2000, Julia Hartman 3
Introduction
Independent variables (covariates) matyr: Matriculation year (continuous) gender: Gender of student (1 = female, 2 = male) usmle2: USMLE Step 2 (continuous) Dependent variable primcare: Board certified in Primary Care specialty
Next Copyright 2000, Julia Hartman 4
Point to
Regression
Point to
Regression
Point to
Regression
Selecting Variables
Choose the variables for analysis from the list in the variable box. Scroll down the list,
Selecting Variables
Choose the variables for analysis from the list in the variable box. Scroll down the list, point to primcare (the dependent variable), which is labeled
Board Certified in FM,
10
Selecting Variables
Choose the variables for analysis from the list in the variable box. Scroll down the list, point to primcare (the dependent variable), which is labeled
Board Certified in FM, IM, Peds or Ob-Gyn
and click.
Copyright 2000, Julia Hartman 11
Selecting Variables
Move primcare to the box labeled Dependent by clicking the arrow.
12
Selecting Variables
Scroll back up the variable list,
13
Selecting Variables
Scroll back up the variable list, point to
MATRICULATON DATE YEAR [matyr]
and click.
14
Selecting Variables
15
Selecting Variables
Point to
GENDER OF STUDENT
16
Selecting Variables
Point to
GENDER OF STUDENT [gender]
and click.
17
Selecting Variables
18
Selecting Variables
Scroll down the variable list,
19
Selecting Variables
Scroll down the variable list, point to
USMLE STEP 2 TOTAL
20
Selecting Variables
Scroll down the variable list, point to
USMLE STEP 2 TOTAL [usmle2]
and click.
21
Selecting Variables
22
Categorical Variables
To designate gender as a categorical variable, click the button labeled Categorical.
23
Categorical Variables
Click gender in the box labeled Covariates
24
Categorical Variables
Click gender in the box labeled Covariates, then click the arrow to move it to the box labeled Categorical Covariates.
25
Categorical Variables
26
Specifying Options
Specify options by clicking the button labeled
Options
27
Specifying Options
Click the checkbox for
Classification plots.
28
Specifying Options
In SPSS, you can display information by right-clicking, but right-clicking doesnt work in this tutorial. To see what would happen, left-click the box for Hosmer-Lemeshow goodness-of-fit.
Copyright 2000, Julia Hartman 29
Specifying Options
For this tutorial, click the checkbox for
Hosmer-Lemeshow goodness-of-fit.
30
Specifying Options
31
Enter Forward: LR
32
Enter Method
Enter is the default
33
Variable Coding
Model Summary
Classification Table
Classification Plot
An Interactive Tutorial for SPSS 10.0 for Windows: Binomial Logistic Regression
44
Forward: LR Method
To select the Forward: LR (Likelihood Ratio) method of covariate entry, click the dropdown arrow for Method (next to Enter, which is the default method).
45
Forward: LR Method
Point to
Forward: LR
46
Forward: LR Method
Point to
Forward: LR
and click.
47
Forward: LR Method
Click the OK button to run the procedure.
48
Variable Coding
Model Summary
Classification Table
An Interactive Tutorial for SPSS 10.0 for Windows: Binomial Logistic Regression
65
68
Then point to
Open
69
Then point to
Open
and click
Copyright 2000, Julia Hartman 70
72
73
74
An Interactive Tutorial for SPSS 10.0 for Windows: Binomial Logistic Regression
78