MPH 0822 Sooyun Lee
d.
Fit a logistic regression to the model specified in (b).
I don't understand what is "fit a logistic regression" exactly. But if this is fit the
regression model with significant p value, then remove gender (p=0.9356), and race
(black vs White p=0.4107, other vs white p=0.5485 ) .
The fitted model will be
log
(
p
(
STA
=
Lived
)
1
−
p
(
STA
=
Lived
)
)
= -0.9622 + 0.0284 * AGE
-0.0168* SYS
e.
Using results from (d) and equation from (c), compute the probability
of ICU death for an
individual with AGE=45, SYS=200, RACE="Other" and GENDER="M". For this same
individual, compute (by HAND) the odds
of ICU death (using equation from (b)).
Pr(STA=1| AGE=45,GENDER=M,RACE=Other, SYS=200) =
1/[1 + exp{-(-.8751
+
.0276
×
45
+
0
+
.5092
-
.0171
×
200)}] = 0.073
Odds of death = exp(-.8751
+
.0276
×
45
+
0
+
.5092
-
.0171
×
200)=0.079
(Alternate Calculation)
Odds of death = Pr(STA=1)/[1-Pr(STA=1)] = .073/(1-.073) = 0.079
1/(1+exp (
-0.8751 + 0.0276 * 45 + 0.5092- 0.0171 * 200
)) = 0.927163
92.72% precent
chance of ICU death
f.
Repeat the calculations in (e) for a 55 year old individual with identical values of the
other explanatory variables. In other words, compute (by HAND) both probability
of, and
the odds
of ICU death for an individual with AGE=55, SYS=200, RACE="Other" and
GENDER="M".
exp (
-0.8751 + 0.0276 * 55 + 0.5092 - 0.0171 * 200
)= 0.103529
89.64% less likely to be ICU
death
1/(1+exp (
-0.8751 + 0.0276 * 55 + 0.5092 - 0.0171 * 200
)) = 0.906183
90.6% percent
chance of ICU death
By hand; 1/ (1 + 0.10) = 0.909
Pr(STA=1| AGE=55,GENDER=M,RACE=Other,SYS=200) =
1/[1 + exp{-(-.8751
+
.0276
×
55
+
0
+
.5092
-
.0171
×
200)}] = 0.0938
Odds of death = exp(-.8751
+
.0276
×
55
+
0
+
.5092
-
.0171
×
200)= 0.104
(Alternate Calculation)
Odds of death = Pr(STA=1)/[1-Pr(STA=1)] = .0938/(1-.0938) = 0.104