Attributable cost estimation function by counterfactual prediction, removal order and extra stay
A(x_P, g_P, x_M, g_M, n_ij, S_00, b_k, a_ij, c_d) = (AC, AF_U, AF_L, AF_k, CLOS, C_I)
Maps the fitted coefficients of a spending model, a table of people by condition, or the hazards of a hospital multistate model to the spending attributable to a disease, condition or infection, each as a difference from a counterfactual that cannot be observed for the same people. HE-FM-ACE-001 compares two predictions for one person from a two-part regression, and the mean over people with the disease is the treated-mix average of HE-FM-ATE-002 with those differences as subgroup effects, while the total is HE-FM-COI-001. The attributable-fraction route is HE-FM-COI-002 for each condition, added by HE-FM-COI-003, with the fraction taken from the attributable fraction concept, so it has no separate record here. HE-FM-ACE-002 and HE-FM-ACE-003 deal with conditions that occur together, and HE-FM-ACE-004 gives the extra stay from a hospital infection, valued in bed days as in HE-FM-ALOS-006. Notation follows the Attributable Cost Estimation article.
Two-part attributable cost of one person with the disease from a logit and a log-link model
p_1 = exp(x_P + g_P) / (1 + exp(x_P + g_P)); p_0 = exp(x_P) / (1 + exp(x_P)); m_1 = exp(x_M + g_M); m_0 = exp(x_M); mu_1 = p_1 * m_1; mu_0 = p_0 * m_0; AC = mu_1 - mu_0
Upper and lower attributable fractions of two conditions under a multiplicative spending model
S_10 = S_00 * exp(b_1); S_01 = S_00 * exp(b_2); S_11 = S_00 * exp(b_1 + b_2); T = n_00 * S_00 + n_10 * S_10 + n_01 * S_01 + n_11 * S_11; AF_U1 = (n_10 * (S_10 - S_00) + n_11 * (S_11 - S_01)) / T; AF_L1 = (n_10 + n_11) * (S_10 - S_00) / T; AF_U2 = (n_01 * (S_01 - S_00) + n_11 * (S_11 - S_10)) / T; AF_L2 = (n_01 + n_11) * (S_01 - S_00) / T; AF_C = (n_10 * (S_10 - S_00) + n_01 * (S_01 - S_00) + n_11 * (S_11 - S_00)) / T
Redistribution of joint spending to two conditions by exponential mean coefficients
w_1 = exp(b_1) - 1; w_2 = exp(b_2) - 1; s_1 = w_1 / (w_1 + w_2); s_2 = w_2 / (w_1 + w_2); A_1 = A_10 + s_1 * A_11; A_2 = A_01 + s_2 * A_11; AF_1 = A_1 / T; AF_2 = A_2 / T
Expected extra hospital stay from an infection under constant multistate hazards with its bed-day cost
a_0 = a_01 + a_02 + a_03; a_1 = a_12 + a_13; CLOS = ((a_02 + a_03) / a_1 - 1) / a_0; C_I = CLOS * c_d
