Concept Architecture
Logistic Regression for Event Probabilities in Health Economic Models
Logistic regression is the standard regression for an outcome that either happens or does not within a set period, such as an emergency admission, a treatment response or a death. It links patient characteristics to the probability of that event through the log odds, so every prediction stays between 0 and 1 and every coefficient converts to an odds ratio. In health economics it supplies event probabilities to decision models and adjusts comparisons for differences between patients. The harder step is turning a fitted odds ratio into the absolute probabilities a Markov model needs.
The logit link and the fitted equation
Each outcome is coded 1 if the event occurs during follow-up and 0 if not. A straight line fitted to such data can predict values outside 0 and 1, one reason linear regression suits continuous outcomes better than binary ones. Logistic regression instead models the log of the odds of the event as a linear function of the covariates.
where is the probability that patient has the event within the follow-up period of the data, to are that patient's covariates, is the intercept (the log odds when all covariates are zero), to are the coefficients, each the change in log odds per unit of its covariate with the others fixed, and is the linear predictor. Solving for the probability gives the logistic curve.
where is the exponential function. The curve is S-shaped, so a fixed change in the linear predictor moves the probability most for patients near 0.5.
NICE Decision Support Unit Technical Support Document 2 (TSD 2) describes the familiar logistic model for binomial data as a generalised linear model with a logit link function, appropriate for probability outcomes. The coefficients are estimated by maximum likelihood estimation, which maximises the following log-likelihood iteratively, since there is no closed-form solution.
where is the vector of coefficients, is the number of patients, is 1 if patient had the event and 0 otherwise, and depends on through the linear predictor. Nested models are compared with a likelihood ratio test.
Coefficients, odds ratios and risk
Exponentiating a coefficient gives the odds ratio for a one-unit change in that covariate. Gidwani and Russell, in a tutorial for decision modellers, note that the coefficients of logistic regressions are logged odds ratios.
where is the odds ratio for covariate and is its coefficient. Zhang and Yu warn that when the outcome is common in the study population (more than 10%), the adjusted odds ratio from a logistic regression no longer approximates the risk ratio, overstating it when above 1 and understating it when below 1. The relative risk that matches an odds ratio depends on the baseline probability.
where is the relative risk, is the odds ratio and is the probability of the event in the unexposed group. Gidwani and Russell show an odds ratio of 1.5 matching a relative risk of 1.429 when is 0.1 but 1.071 when is 0.8. They add that a multivariable model has a different baseline risk for each combination of covariates, and that papers rarely publish the intercept needed to recover one.
Turning a fitted model into decision model inputs
TSD 5 describes most cost-effectiveness analyses as a baseline model for the comparator combined with relative treatment effects. It applies the odds ratio to the baseline on the logit scale.
where , is the baseline risk on the comparator and is the probability on the new treatment. Working on this scale keeps the result inside the unit interval, which multiplying a probability by a relative risk does not guarantee. TSD 5 calls risk equations fitted to individual patient data a far more reliable basis for a baseline model than aggregate data, with trial treatment effects added to the equations as if they were another risk factor.
A predicted probability carries the time frame of the data, so a model fitted to one-year outcomes predicts one-year probabilities. For a state with only two possible transitions, Gidwani and Russell give the standard relationship for changing it to the model's cycle length.
where is the probability of the event over time and is the corresponding rate, assumed constant over that time. They note that these two-state formulas are not appropriate when a state has three or more exits, a case covered on the transition probability and rate to probability conversion pages.
Regression coefficients are estimated jointly, so their uncertainty is shared. The ISPOR-SMDM task force report on parameter estimation states that the covariance matrix defines the uncertainty and correlation in the coefficients and that multivariate normality is appropriate for the regression's linear predictor. In a probabilistic sensitivity analysis, each iteration therefore draws a whole coefficient vector from a multivariate normal distribution and recomputes every probability from that draw.
Worked example with an admission risk model and a care programme
All numbers in this example are illustrative. A logistic regression fitted to registry data predicts the one-year probability of an emergency admission in adults with heart failure. The intercept is minus 1.20 for a patient aged 70 with no admission in the previous year on usual care. Age adds 0.04 per year over 70, a previous admission adds 0.70 and a new community care programme adds minus 0.36.
1. Predict for a higher-risk patient. For a patient aged 75 with a previous admission on usual care, , so the probability is .
2. Add the programme. The linear predictor becomes , so . The odds ratio is , while the relative risk is , matching the conversion formula, .
3. Repeat for a lower-risk patient. For a patient aged 70 with no previous admission, and . With the programme, and , a relative risk of 0.750. The same odds ratio gives an absolute risk reduction of 0.0578 here against 0.0848 for the higher-risk patient, about 58 against 85 admissions prevented per 1,000 patients a year.
4. Convert to a three-month cycle. For the higher-risk patient on usual care, the annual rate is , and the three-month probability is . Dividing the annual probability by four would give 0.1064, too low.
5. Average over a cohort. A cohort split equally between the two usual-care patients has a mean annual probability of . Using the mean covariates instead, an age of 72.5 and half a previous admission, gives and . Because the curve is not a straight line, the probability at the average patient is not the average probability, and a cohort model built on one set of mean covariates misstates the expected number of events. The programme's value in a cost-effectiveness analysis therefore depends on the case mix it reaches.
Logistic models in evidence synthesis, costs and observational data
TSD 2 builds its core models for pairwise and network meta-analysis on binomial data with a logit link, in which each trial has its own baseline log odds and the pooled treatment effect is a log odds ratio. For patient-level resource use and costs, Mihaylova and colleagues describe two-part models for data with many non-users, in which a logit or probit model estimates the probability of any use or cost and a second model estimates the mean among users.
In observational comparisons, a logistic regression of treatment received on baseline characteristics estimates the propensity score. Austin states that the propensity score is most often estimated this way. NICE DSU TSD 17 asks for a sufficiently flexible propensity score model and suggests a probit or logit including squares, polynomials and interactions of the covariates. Austin adds that the model is built to balance baseline covariates and reduce confounding, not to achieve statistically significant coefficients.
Checking a logistic model before it feeds a decision model
A risk equation is only as useful as its predictions in the modelled population. Steyerberg and colleagues list the concordance (c) statistic, equal to the area under the ROC curve, for discrimination and goodness-of-fit statistics for calibration, and suggest that reporting both will always be important for a prediction model. Calibration, whether predicted probabilities match observed event rates, matters directly for a decision model because the probabilities become inputs. The Hosmer-Lemeshow test is one such check.
Small datasets give unreliable coefficients. In a simulation study, Peduzzi and colleagues found no major problems with 10 or more events per variable, but below 10 the coefficients were biased in both directions and confidence limits lacked proper coverage. TSD 5 names the main difficulty with risk equations as justifying the choice of data source and its relevance to the target population, and calls for sensitivity analyses where necessary.
Where logistic regression sits among nearby models
Logistic regression is one member of regression analysis, chosen because the outcome is binary. TSD 17 suggests logit or probit models as possible candidates for binary outcomes. A probit model uses the standard normal distribution function in place of the logistic curve, and its coefficients do not convert to odds ratios. More than two unordered categories need the multinomial logit model. When the time to an event matters, or patients leave follow-up early, a binary outcome at a fixed time discards information and mishandles censoring, and survival regression fits better. Repeated events per patient are counts, which suit Poisson regression.
Common misreadings
The errors below arise when a fitted model is carried into a decision model. Each changes the event counts that drive costs and QALYs.
- Reading an odds ratio as a relative risk. With common events the two differ, as the worked example shows.
- Applying one odds ratio to one baseline for everyone. Absolute benefit varies with baseline risk, so patient-level or subgroup predictions are needed when case mix differs.
- Dividing a probability to fit a shorter cycle. The conversion goes through the rate, and only for states with two exits.
- Sampling coefficients independently in a PSA. Ignoring their correlation misstates the spread of the derived probabilities.
Sources
- Austin PC. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research. 2011;46(3):399-424. https://doi.org/10.1080/00273171.2011.568786
- Briggs AH, Weinstein MC, Fenwick EAL, Karnon J, Sculpher MJ, Paltiel AD. Model parameter estimation and uncertainty analysis: a report of the ISPOR-SMDM Modeling Good Research Practices Task Force Working Group-6. Medical Decision Making. 2012;32(5):722-732. https://doi.org/10.1177/0272989X12458348
- Dias S, Welton NJ, Sutton AJ, Ades AE. NICE DSU Technical Support Document 2: A generalised linear modelling framework for pairwise and network meta-analysis of randomised controlled trials. Decision Support Unit; August 2011, last updated September 2016. https://www.sheffield.ac.uk/sites/default/files/2022-02/TSD2-General-meta-analysis-corrected-2Sep2016v2.pdf
- Dias S, Welton NJ, Sutton AJ, Ades AE. NICE DSU Technical Support Document 5: Evidence synthesis in the baseline natural history model. Decision Support Unit; August 2011, last updated April 2012. https://www.sheffield.ac.uk/nice-dsu/tsds/evidence-synthesis
- Faria R, Hernandez Alava M, Manca A, Wailoo AJ. NICE DSU Technical Support Document 17: The use of observational data to inform estimates of treatment effectiveness in technology appraisal: methods for comparative individual patient data. Decision Support Unit; May 2015. https://www.sheffield.ac.uk/nice-dsu/tsds/observational-data
- Gidwani R, Russell LB. Estimating transition probabilities from published evidence: a tutorial for decision modelers. PharmacoEconomics. 2020;38(11):1153-1164. https://doi.org/10.1007/s40273-020-00937-z
- Mihaylova B, Briggs A, O'Hagan A, Thompson SG. Review of statistical methods for analysing healthcare resources and costs. Health Economics. 2011;20(8):897-916. https://doi.org/10.1002/hec.1653
- Peduzzi P, Concato J, Kemper E, Holford TR, Feinstein AR. A simulation study of the number of events per variable in logistic regression analysis. Journal of Clinical Epidemiology. 1996;49(12):1373-1379. https://doi.org/10.1016/s0895-4356(96)00236-3
- Steyerberg EW, Vickers AJ, Cook NR, Gerds T, Gonen M, Obuchowski N, Pencina MJ, Kattan MW. Assessing the performance of prediction models: a framework for traditional and novel measures. Epidemiology. 2010;21(1):128-138. https://doi.org/10.1097/EDE.0b013e3181c30fb2
- Zhang J, Yu KF. What's the relative risk? A method of correcting the odds ratio in cohort studies of common outcomes. JAMA. 1998;280(19):1690-1691. https://doi.org/10.1001/jama.280.19.1690
Related Concepts (5)
Library
Publications
1
Statistical Analysis of Cost-Effectiveness Data — Willan & Briggs, 1st Edition ed., 2006 (John Wiley & Sons)
A synthesis of statistical methods for analysing cost-effectiveness data, including net-benefit regression, confidence intervals for the ICER, cost-effectiveness acceptability curves, and covariate adjustment. Part of the Wiley Statistics in Practice series.
BookView source →
Frequently Asked Questions (6)
What is logistic regression?
Logistic regression models the log odds of a yes or no outcome, such as an admission, from patient covariates, giving odds ratios and event probabilities.
Source: Gidwani & Russell 2020
What kind of outcome does logistic regression model?
The outcome is binary, coded 1 when an event such as an emergency admission or a death occurs within a set follow-up period and 0 when it does not. A straight line fitted to such data can predict values below 0 or above 1, whereas logistic regression works on the log odds, so every predicted probability stays inside the unit interval. NICE DSU Technical Support Document 17 suggests logit or probit models as possible candidates for binary outcomes. Outcomes with more than two unordered categories need a multinomial logit model instead, and when the timing of an event matters or patients leave follow-up early, survival regression handles the censoring that a fixed-time binary outcome mishandles.
Source: Faria et al. 2015
How does logistic regression work?
The model treats the log of the odds of an event as a linear function of patient covariates, with an intercept and one coefficient for each covariate. Applying the inverse logit to this linear predictor gives the event probability, which follows an S-shaped curve, so a given change in the predictor moves the probability most for patients near 0.5. NICE DSU Technical Support Document 2 describes the familiar logistic model for binomial data as a generalised linear model with a logit link, appropriate for probability outcomes. The coefficients are estimated by maximum likelihood, which maximises the log-likelihood of the observed 0 and 1 outcomes iteratively because no closed-form solution exists.
Source: Dias et al. 2011
How are the results of logistic regression interpreted?
Each coefficient is the change in the log odds of the event for a one-unit change in its covariate, holding the other covariates fixed, so exponentiating it gives an odds ratio. Gidwani and Russell note that logistic regression coefficients are logged odds ratios, and they show that the relative risk matching an odds ratio depends on the baseline probability. In their example an odds ratio of 1.5 corresponds to a relative risk of 1.429 when the baseline probability is 0.1 but only 1.071 when it is 0.8. A decision model therefore needs absolute probabilities computed from the intercept and covariates, since the odds ratio alone does not fix the number of events.
Source: Gidwani & Russell 2020
When is logistic regression used?
Health economists fit a logistic regression when an outcome either happens or does not within a set period and its probability is needed for patients with given characteristics. The fitted equations supply event probabilities to decision models, and NICE DSU Technical Support Document 5 calls risk equations fitted to individual patient data a far more reliable basis for a baseline model than aggregate data. Trial treatment effects can then be added to those equations as if they were another risk factor. The same document names the main difficulty as justifying the choice of data source and its relevance to the target population, with sensitivity analyses presented where necessary.
Source: Dias et al. 2011 (NICE DSU TSD 5)
What are the assumptions of logistic regression?
The model assumes that the log odds of the event, rather than the probability itself, change linearly with each covariate. Each patient contributes one independent binary outcome over the same follow-up period, which is why repeated events suit Poisson regression and censored follow-up suits survival regression. The data also need enough events for the number of covariates in the model. In a simulation study, Peduzzi and colleagues found no major problems with 10 or more events per variable, but below 10 the coefficients were biased in both directions and the confidence limits lacked proper coverage.
Source: Peduzzi et al. 1996
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 27 Oct 2026
Content version: 1.0.1
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/logistic-regression
- Term code
- HE-ES-SA-105
Stable URI · Machine-readable · Resolvable · CC BY 4.0
