Logistic regression Flashcards
X variable can be
Y variable can be
continuous or categorical
BINARY ONLY
equation?
y = e^(B0 + B1X1…)/1+e^(B0 + B1X1…)
Y can range from
0 to 1
odds ratio formula?
e^B
OR > 1,, then B = __ and it is a ___ factor
> 0
risk
OR = 1,, then B = __ and it is a ___ factor
= 0
neither
OR < 1,, then B = __ and it is a ___ factor
< 0
protective factor
difference between univariate and multivariate regression?
univariate looks at each X variable INDIVIDUALLY
multivariate looks at each X variabe IN COMBINATION
two ways of evaluating the logistic regression model?
Hosmer-Lemeshow goodness of fit statistic
Receiver operator characteristic and c index
Hosmer Lemeshow goodness of fit looks at what two statistics
chi 2
p value
X^2 is low, then
P value is high, model fits the data well
X^2 is high, then
P value is low, model doesn’t fit data well
Receiver operator characteristic describes
how well the equation/model discriminates between patients who do and dont develop the outcome of interest
Y axis is
sensitivity
X axis is
1 - specificity