Calculate equity-weighted Net Health Benefit (NHB)
Source:R/07_equity_weights.R
calc_equity_weighted_nhb.RdApplies equity weights to per-group NHB values to obtain the population-level equity-weighted NHB. This is the key summary statistic from the social welfare perspective.
Arguments
- nhb_by_group
Numeric vector of net health benefit per group.
- equity_weights
Numeric vector of equity weights from
calc_equity_weights.- pop_weights
Numeric vector of population weights.
Examples
baseline <- c(60, 63, 66, 69, 72)
weights <- rep(0.2, 5)
ew <- calc_equity_weights(baseline, weights, eta = 1)
nhb <- c(100, 150, 200, 250, 300)
calc_equity_weighted_nhb(nhb, ew, weights)
#> [1] 195.4413