Last observation carried forward imputation and the bias it adds to an analysed mean
L(tau, mu_last, mu_end) = mu_tilde
Maps a participant's last observed value to every later scheduled visit, so that the value used at visit k is the value recorded at the last completed visit d whenever k is after d, and then maps the fraction of each arm imputed this way, with the true means at the last observed visit and at the final visit, to the expected mean and between-arm difference that the completed data return. The difference between those expected values and the true final-visit values is the bias that the imputation adds. Trapezoidal QALYs reuse HE-FM-QALY-002 and the cost-effectiveness ratio reuses HE-FM-ICER-001; this package adds the mixture mean, the between-arm bias under unequal dropout and a function that carries both into incremental QALYs and the ICER.
Analysed final-visit mean after LOCF as a mixture of the earlier and final means
mu_tilde = tau * mu_last + (1 - tau) * mu_end; bias_mu = tau * (mu_last - mu_end)
Bias of the LOCF between-arm difference with unequal dropout fractions
Delta_tilde = (tau_T * mu_T_last + (1 - tau_T) * mu_T_end) - (tau_C * mu_C_last + (1 - tau_C) * mu_C_end); Delta = mu_T_end - mu_C_end; bias_Delta = tau_T * (mu_T_last - mu_T_end) - tau_C * (mu_C_last - mu_C_end)