Professional Documents
Culture Documents
STAT 4330/8330
1
Introduction
Previously, you learned about odds
ratios (ORs).
We now transition and begin discussion
of binary logistic regression. We will see
that ORs play an important role in the
results of binary logistic models.
2
12
13
14
Model Fit
We ended last session fitting a simple (1predictor) binary logit model to the
Outbreak data using SAS.
We will now continue covering the SAS
PROC LOGISTIC output.
15
16
18
22
23
24
26
30
33
34
36
37
38
40
Predicted Values
The output of a logit model is the
predicted probability of a success for
each observation.
41
Predicted Values
These are obtained and stored in a
separate SAS data set using the OUTPUT
statement (see the following code).
42
Predicted Values
PROC LOGISTIC outputs the predicted
values and 95% CI limits to an output
data set that also contains the original
raw data.
43
Predicted Values
Use the PREDPROBS = I option in order
to obtain the predicted category (which
is saved in the _INTO_ variable).
44
Predicted Values
_FROM_ = The observed response
category = The same value as the
response variable.
45
Predicted Values
_INTO_ = The predicted response
category.
46
Predicted Values
IP_1 = The Individual Probability of a
response of 1.
47
50
51
52
53
54
55