Signature
mu_new = m + sigma_m * z; p_0 = exp(mu_new) / (1 + exp(mu_new)); p_1 = p_0 * OR_t / (1 - p_0 + p_0 * OR_t)
| Inputs | Definition | Unit |
|---|---|---|
m | Mean baseline log odds across the studies that inform the baseline model, sampled from its posterior at the same iteration | log odds |
sigma_m | Between-study standard deviation of the baseline log odds, sampled from its posterior at the same iteration, zero or above | log odds |
z | Standard normal value drawn afresh for each iteration, independent of m and sigma_m, or typed in for a check | none |
OR_t | Odds ratio for the new treatment against the baseline treatment, from the separate relative effect model, above zero | ratio |
mu_new | Baseline log odds in the new setting at one iteration | log odds |
|---|---|---|
p_0 | Probability of the event on the baseline treatment in the new setting at one iteration | probability |
p_1 | Probability of the event on the new treatment at the same iteration | probability |
Function
Predictive baseline risk function for a new setting in a decision model
Maps the mean and between-study standard deviation of the baseline log odds, a standard normal value and an odds ratio to one draw of the baseline log odds in a new setting, the baseline risk p_0 and the treated risk p_1. Applying a relative effect at a fixed baseline risk is already live and is not restated here, on the odds scale in HE-FM-NMA-004, on the risk scale in HE-FM-ARR-002 and for a hazard ratio in HE-FM-HR-003 and HE-FM-HR-004. The decision results that follow are live too, namely HE-FM-ICER-001, HE-FM-NMB-002 and the static value of deciding by subgroup in HE-FM-ATE-004. This record adds the step that gives the baseline risk its own uncertainty, the mirror of HE-FM-BMA-004, which draws the relative effect and takes the baseline risk as fixed. Notation follows the Baseline Risk article, whose p_0 and p_1 are one draw here; m, sigma_m and mu_new are the symbols of NICE DSU TSD 5 equation 2.
Try this function
Implementations
Excel
Predictive baseline draw and both risks in three cells
With m in a cell named LogOddsMean, sigma_m in BaselineSD, z in NormalDraw and OR_t in OddsRatioTreat, the three formulas return NewBaselineLogOdds, NewBaselineProb and NewTreatedProb. For a simulation each row is one iteration, NormalDraw holds NORM.S.INV(RAND()), LogOddsMean and BaselineSD read that iteration's posterior values, OddsRatioTreat reads an odds ratio sampled from the relative effect model, and PERCENTILE.INC of a result column at 0.025 and 0.975 gives the predictive range. For the checks NormalDraw holds a typed value. A blank BaselineSD is treated as 0, so the draw returns the mean with no warning, and a blank OddsRatioTreat is treated as 0, so NewTreatedProb returns 0.
=LogOddsMean+BaselineSD*NormalDraw; =EXP(NewBaselineLogOdds)/(1+EXP(NewBaselineLogOdds)); =NewBaselineProb*OddsRatioTreat/(1-NewBaselineProb+NewBaselineProb*OddsRatioTreat)
Assumptions
New baseline exchangeable with the included study baselines
The baseline in the new setting is exchangeable with the baselines of the included studies, the condition TSD 5 attaches to its equations 1 and 2. TSD 5 asks for careful evaluation of which studies inform the baseline model, so that the predictive spread reflects genuine uncertainty in the baseline.
Normal random effects on the baseline log odds scale
The study baselines are normally distributed on the log odds scale with mean m and variance sigma_m squared, as in TSD 5 equation 1. TSD 5 states its predictive interval for the smoking cessation example under this assumption of normally distributed random effects.
Mean and spread of the baseline read from one posterior iteration
TSD 5 states that m and sigma_m squared in equation 2 are sampled from the posterior distribution. They are read here from one iteration so that their dependence is kept, as HE-AS-BMA-008 requires of the relative effect draw. In the smoking cessation example, holding them at point estimates narrows the range, as HE-ER-BASR-004 shows.
Odds ratio from a separate model and additive on the log odds scale
OR_t comes from a separate relative effect model, the approach TSD 5 prefers so that assumptions made about the baseline do not affect the relative effects. The effect is constant on the log odds scale across baseline risks, as in HE-AS-NMA-006. Models linear in log risk ratios or log hazard rates need the corresponding transformation in place of the third part.
Worked examples
Smoking cessation baseline at the central predictive draw
TSD 5 Table 1, separate models column, gives a mean baseline log odds of quitting on no contact of minus 2.59, a median between-trial standard deviation of 0.54 and a log odds ratio of 0.84 for individual counselling, an odds ratio of about 2.3164 (derived). At z of 0 the draw equals m, which gives a baseline risk of 0.0698 and a treated risk of 0.1480. The line holds the posterior summaries fixed, so it is one illustrative iteration. The Table 1 predictive means of 0.08 and 0.17 come from the full sample.
m = -2.59; sigma_m = 0.54; z = 0; OR_t = 2.3164; mu_new = -2.59; p_0 = 0.0698; p_1 = 0.1480
Smoking cessation baseline at an upper predictive draw
With the same inputs, a draw at z of 1.96 gives a baseline log odds of minus 1.5316, a baseline risk of 0.1778 and a treated risk of 0.3337. These fall short of the Table 1 upper predictive limits of 0.20 and 0.39, because the full sample also varies m, sigma_m and the odds ratio across iterations.
m = -2.59; sigma_m = 0.54; z = 1.96; OR_t = 2.3164; mu_new = -1.5316; p_0 = 0.1778; p_1 = 0.3337
Smoking cessation baseline at a lower predictive draw
A draw at z of minus 1.96 gives a baseline log odds of minus 3.6484, a baseline risk of 0.0254 and a treated risk of 0.0569, against the Table 1 lower predictive limits of 0.02 and 0.05.
m = -2.59; sigma_m = 0.54; z = -1.96; OR_t = 2.3164; mu_new = -3.6484; p_0 = 0.0254; p_1 = 0.0569
No between-study spread returns the fixed baseline odds ratio calculation
With sigma_m at 0 every draw equals m, so the chain returns the fixed baseline calculation of HE-FM-NMA-004. A baseline log odds of minus 1.0986 is a baseline risk of 0.25 (derived), and an odds ratio of 0.8 gives 0.2105, the value of HE-EX-NMA-006 and of the example in TSD 5 section 1, which rounds it to 0.21.
m = -1.0986; sigma_m = 0; z = 1.96; OR_t = 0.8; mu_new = -1.0986; p_0 = 0.25; p_1 = 0.2105
Odds ratio of 1 leaves the drawn baseline risk unchanged
With an odds ratio of 1 the treated risk equals the baseline risk at any draw, a limiting case that checks an implementation. The inputs for m and sigma_m are those of the smoking cessation example and the odds ratio is illustrative.
m = -2.59; sigma_m = 0.54; z = 1.96; OR_t = 1; mu_new = -1.5316; p_0 = 0.1778; p_1 = 0.1778
Common errors
Sampling the baseline mean where the predictive baseline is needed
Using the posterior standard deviation of m, 0.16, in place of sigma_m gives baseline risks of 0.0520 and 0.0931 at z of minus 1.96 and 1.96 (derived), close to the Table 1 posterior interval of 0.05 to 0.09, while the predictive interval is 0.02 to 0.20. That route is an ordinary parameter draw, the x_1 line of HE-FM-PSA-001 with 0.16 as s_1 (derived). TSD 5 notes that the posterior mean route could be argued to under-represent the variation observed in the data. Probabilistic results then understate the uncertainty in absolute costs and QALYs that the baseline carries.
Adding the log odds spread to the probability
sigma_m is on the log odds scale. Adding 1.96 times 0.54 to the central baseline risk of 0.0698 gives 1.1282, above the upper bound of a probability (derived). The draw is made on the log odds scale and converted afterwards.
Reading the central draw as the predictive mean
The inverse logit of m is the central draw of the baseline risk and not the mean of the draws. In the smoking cessation example it is 0.0698 against the Table 1 predictive mean of 0.08, and the treated risk at the central draw is 0.1480 against 0.17. The mean lies above the central draw here because nearly all draws sit below a log odds of 0, where the inverse logit is convex (derived). A model that needs the mean takes it across the draws.
Building the predictive baseline range from posterior summaries alone
Holding m at minus 2.59 and sigma_m at 0.54 and taking z of minus 1.96 and 1.96 gives baseline risks of 0.0254 and 0.1778, narrower than the Table 1 predictive interval of 0.02 to 0.20. The shortcut omits the posterior uncertainty in m and sigma_m, so the range comes from percentiles across iterations.
Taking the unweighted mean of the baseline arms
TSD 5 states that simply calculating the unweighted mean of the baseline arms in the relative effects model is not recommended under any circumstances. For the 19 no intervention arms listed in its Program 1 that mean is 0.0705 (derived), near the central draw of 0.0698, which can make it look acceptable, yet it weights an arm of 20 people like an arm of 1,177 and supplies no between-study spread to draw from.
Sources
TSD 5 equations for the baseline model and the predictive distribution of a new baseline
Dias S, Welton NJ, Sutton AJ, Ades AE. NICE DSU Technical Support Document 5: Evidence synthesis in the baseline natural history model. Sheffield: Decision Support Unit, ScHARR, University of Sheffield; August 2011, last updated April 2012. Section 2.2.1, Separate models for baseline and treatment effect, gives equation 1 (study baselines drawn from a distribution with a common mean and variance) and equation 2 (the predictive distribution of a new baseline with m and sigma_m squared sampled from the posterior). It states the reason for preferring it, the need for the spread to reflect genuine uncertainty and the exchangeability assumption. Table 1 gives m, sigma_m, the predictive log odds, the log odds ratios and the absolute probabilities of smoking cessation used in the worked examples.
TSD 5 appendix code for predictive baseline and treated probabilities
Dias S, Welton NJ, Sutton AJ, Ades AE. NICE DSU Technical Support Document 5: Evidence synthesis in the baseline natural history model. Sheffield: Decision Support Unit, ScHARR, University of Sheffield; August 2011, last updated April 2012. Appendix, WinBUGS code for illustrative examples. Program 1 gives the baseline random effects model with mu.new drawn from the same distribution and the added line logit(R.new) <- mu.new for the predictive probability of response. The added code after Program 2, the simultaneous model, gives logit(T.new[k]) <- mu.new + d[k] for the absolute effect of each treatment based on the predictive distribution, and Table 1 reports such probabilities for separate and simultaneous modelling. The third part of the Applied Formula is this line in the form of HE-FM-NMA-004 (derived).
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
