| Literature DB >> 15693993 |
Viv Bewick1, Liz Cheek, Jonathan Ball.
Abstract
This review introduces logistic regression, which is a method for modelling the dependence of a binary response variable on one or more explanatory variables. Continuous and categorical explanatory variables are considered.Entities:
Mesh:
Year: 2005 PMID: 15693993 PMCID: PMC1065119 DOI: 10.1186/cc3045
Source DB: PubMed Journal: Crit Care ISSN: 1364-8535 Impact factor: 9.097
Relationship between level of a metabolic marker and survival
| Metabolic marker level (x) | Number of patients | Number of deaths | Proportion of deaths |
| 0.5 to <1.0 | 182 | 7 | 0.04 |
| 1.0 to <1.5 | 233 | 27 | 0.12 |
| 1.5 to <2.0 | 224 | 44 | 0.20 |
| 2.0 to <2.5 | 236 | 91 | 0.39 |
| 2.5 to <3.0 | 225 | 130 | 0.58 |
| 3.0 to <3.5 | 215 | 168 | 0.78 |
| 3.5 to <4.0 | 221 | 194 | 0.88 |
| 4.0 to <4.5 | 200 | 191 | 0.96 |
| ≥4.5 | 264 | 260 | 0.98 |
| Totals | 2000 | 1112 |
Figure 1Proportion of deaths plotted against the metabolic marker group midpoints for the data presented in Table 1.
Figure 2Logit(p) plotted against the metabolic marker group mid-points for the data presented in Table 1.
Figure 3Likelihood for a range of values of p. MLE, maximum likelihood estimate.
Output from a statistical package for logistic regression on the example data
| 95% CI for OR | ||||||||
| Coefficient | SE | Wald | df | OR | Lower | Upper | ||
| Marker | 1.690 | 0.071 | 571.074 | 1 | 0.000 | 5.421 | 4.719 | 6.227 |
| Constant | -4.229 | 0.191 | 489.556 | 1 | 0.000 | |||
CI, confidence interval; df, degrees of freedom; OR, odds ratio; SE, standard error.
Likelihood ratio test for inclusion of the variable marker in themodel
| Variable | Likelihood ratio test statistic | df | |
| Marker | 1145.940 | 1 | 0.000 |
Relationship between level of a metabolic marker and predicted probability of death
| Metabolic marker level (x) | Number of patients | Number Number of deaths | Proportion of deaths | Predicted probability | Expected number of deaths |
| 0.5 to <1.0 | 182 | 7 | 0.04 | 0.04 | 8.2 |
| 1.0 to <1.5 | 233 | 27 | 0.12 | 0.10 | 24.2 |
| 1.5 to <2.0 | 224 | 44 | 0.20 | 0.23 | 50.6 |
| 2.0 to <2.5 | 236 | 91 | 0.39 | 0.41 | 96.0 |
| 2.5 to <3.0 | 225 | 130 | 0.58 | 0.62 | 140.6 |
| 3.0 to <3.5 | 215 | 168 | 0.78 | 0.80 | 171.7 |
| 3.5 to <4.0 | 221 | 194 | 0.88 | 0.90 | 199.9 |
| 4.0 to <4.5 | 200 | 191 | 0.96 | 0.96 | 191.7 |
| ≥4.5 | 264 | 260 | 0.98 | 0.98 | 259.2 |
Contingency table for Hosmer–Lemeshow test
| death = 0 | death = 1 | ||||
| Observed | Expected | Observed | Expected | Total | |
| 1 | 191 | 190.731 | 10 | 10.269 | 201 |
| 2 | 182 | 181.006 | 21 | 21.994 | 203 |
| 3 | 154 | 157.131 | 45 | 41.869 | 199 |
| 4 | 130 | 129.905 | 70 | 70.095 | 200 |
| 5 | 90 | 94.206 | 110 | 105.794 | 200 |
| 6 | 64 | 58.726 | 131 | 136.274 | 195 |
| 7 | 31 | 33.495 | 168 | 165.505 | 199 |
| 8 | 24 | 17.611 | 180 | 186.389 | 204 |
| 9 | 8 | 7.985 | 191 | 191.015 | 199 |
| 10 | 1 | 4.204 | 199 | 195.796 | 200 |
χ2 test statistic = 6.642 (goodness of fit based on deciles of risk); degrees of freedom = 8; P = 0.576.
Tests for the removal of the variables for the logistic regression on the accident and emergency data
| Change in -2ln likelihood | df | ||
| Lactate | 22.100 | 1 | 0.000 |
| Urea | 9.563 | 1 | 0.002 |
| Age group | 18.147 | 1 | 0.000 |
Coefficients and Wald tests for logistic regression on the accident and emergency data
| 95% CI for OR | ||||||||
| Coefficient | SE | Wald | df | OR | Lower | Upper | ||
| Lactate | 0.270 | 0.060 | 19.910 | 1 | 0.000 | 1.310 | 1.163 | 1.474 |
| Urea | 0.053 | 0.017 | 9.179 | 1 | 0.002 | 1.054 | 1.019 | 1.091 |
| Age group | 1.425 | 0.373 | 14.587 | 1 | 0.000 | 4.158 | 2.001 | 8.640 |
| Constant | -5.716 | 0.732 | 60.936 | 1 | 0.000 | 0.003 | ||
CI, confidence interval; df, degrees of freedom; OR, odds ratio; SE, standard error.