Functions & Formulae

Each applied formula has its own function page, with a signature, implementations, and tests.

Predictive baseline risk function for a new setting in a decision model

b(m, sigma_m, z, OR_t) = (mu_new, p_0, p_1)

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.

  • Predictive draw of a new baseline log odds with the resulting baseline and treated risks

    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)

    Draws the baseline log odds of a new setting from the random effects distribution of the baseline arms, as NICE DSU TSD 5 equation 2 does, and converts it to a baseline risk and a treated risk for one iteration of a probabilistic analysis. The first part has the shape of the first part of HE-FM-BMA-004, but sigma_m is the variation between study baselines, which TSD 5 says stays unchanged as data accumulate while the estimate of the mean becomes more precise. The second part is the inverse logit, the form of HE-FM-BINOM-007 with delta_ik equal to 0, and the third part applies the odds ratio by HE-FM-NMA-004 with the draw in place of a fixed baseline. Across iterations, with m and sigma_m read from the baseline posterior and OR_t from the relative effect posterior each time, the 2.5th and 97.5th percentiles of p_0 and p_1 give the 95% predictive ranges. TSD 5 notes that the choice has very little effect on the differences between treatments but adds uncertainty to the natural history model.

This set of formulae is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/baseline-risk/formulae