Functions & Formulae

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

Equal-margins allocation of a fixed health budget across programmes with diminishing returns

alloc(a_j, c_j, B) = (x_j, lambda, k, H)

Takes a health curve for each of J programmes, written here with the parameters a_j and c_j, and a budget B, and returns the spending x_j on each programme that gives the most total health, the health lambda bought by the last pound of budget, its inverse k and the total health H. This is the article's constrained maximisation with smooth curves, where every funded programme stops at the same marginal health per pound. HE-FM-ALLE-001 solves it for two programmes on a stated curve and HE-CF-ALLE-001 for any number. When each extra pound buys the same health within a programme the allocation is the league-table fill of HE-FN-CELT-001. The article's worked example runs on that record although its tranches are not independent programmes, because tranches with falling yields enter HE-CF-CELT-001 as rows in rising ICER order, so each is reached after the one before it, giving 164 QALYs and the critical ratio of HE-FM-CELT-002, about 16,667 pounds per QALY (derived). Whole programmes are HE-FN-IPH-001. The article's other displayed and worked quantities are live and not restated here. The threshold as spending over health at the margin is HE-FM-CET-001, net health benefit is HE-FM-CET-002, a gain from moving one tranche is HE-FM-CET-002 with k set by the health given up, the average cost per QALY is HE-FM-ACER-001, the input-side ratios TE and AE are HE-FM-EFF-002, whose score HE-ER-EFF-002 warns against reading as programme allocation, and the welfare loss of insurance-induced care is HE-FM-MH-001. Notation follows the Allocative Efficiency article.

  • Equal-margins allocation of a budget between two programmes with logarithmic health curves

    k_1 = (B + c_1) / a_1; k_2 = (B + c_2) / a_2; k_12 = (B + c_1 + c_2) / (a_1 + a_2); k = min(min(k_1, k_2), k_12); x_1 = max(0, a_1 * k - c_1); x_2 = max(0, a_2 * k - c_2); lambda = 1 / k; H = a_1 * log(1 + x_1 / c_1) + a_2 * log(1 + x_2 / c_2)

    Each programme's health is taken as H_j(x_j) = a_j log(1 + x_j / c_j), so its margin a_j / (c_j + x_j) falls with every pound spent and starts at a_j / c_j. Setting the margins equal makes x_j equal a_j k minus c_j, where k is the common cost per QALY at the margin (derived). The three k values are the levels that would use the budget exactly if programme 1, programme 2 or both were funded, and the smallest of them is the one that holds, which also sends a programme whose first pound buys too little to zero spending (derived). Lambda = 1 / k is the health from the last pound, the shadow price that Crown and colleagues define, and k is the threshold of HE-FM-CET-001 for a small change in budget (derived). It is the smooth counterpart of the critical ratio of HE-FM-CELT-002, whose records hold health per pound constant within a programme (HE-AS-CELT-003). Boyd and Vandenberghe print the same solution for a_j = 1 and a budget of 1 under the name water-filling.

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/allocative-efficiency/formulae