Actuarial life table function from interval counts of deaths and withdrawals
a(n_i, d_i, w_i) = (n_e_i, q_i, S_i, SE_i); r(R_0, R_1, S_0, S_1) = (D, C)
Maps the counts of a follow-up table, the number entering each fixed interval with its deaths and withdrawals, to the effective number at risk, the conditional probabilities and the running survival (HE-FM-LTM-001) and Greenwood's standard error with a log-log interval (HE-FM-LTM-002). It also runs the relation backwards, taking numbers at risk and survival read off a published curve and returning estimated events and censorings (HE-FM-LTM-003). The Computational Function HE-CF-LTM-001 runs a whole table. The product step takes the form of the Kaplan-Meier step HE-FM-ADMC-002, whose n_j is the number under observation just before an event time (HE-VR-ADMC-010); the half count of withdrawals in grouped data is what differs here. Kaplan and Meier's two bounds on the factor are the HE-FM-ADMC-002 factor with n_j set to n or to n minus w (derived). Converting a one-year interval probability to another cycle length is HE-CF-TP-002, and the rescaling HE-FM-TP-003 covers any interval length. Using a rate is HE-FM-TP-001, the trapezoid area under the yearly survival points is the LY output of HE-CF-PSM-001 with its discount rate d of 0, and reading conditional probabilities back from a survival curve is HE-CF-MKA-001. Notation follows the Life Table Method article, with n_e for its n prime and S_prev for the survival carried into the interval.
Actuarial survival through one interval with withdrawals counted as half
n_e = n - w / 2; q = d / n_e; p = 1 - q; S = S_prev * p; n_next = n - d - w
Greenwood standard error and log-log interval of actuarial survival
G = G_prev + d / (n_e * (n_e - d)); SE_S = S * sqrt(G); s_LL = sqrt(G) / abs(log(S)); S_lo = S^exp(z * s_LL); S_hi = S^exp(-z * s_LL)
Events and censorings in an interval from a published curve and numbers at risk
D = (R_0 + R_1) * (S_0 - S_1) / (S_0 + S_1); C = 2 * (S_1 * R_0 - S_0 * R_1) / (S_0 + S_1)
