Memoryless transition property of a Markov state and the sojourn-time distribution it implies
Pr(X_(t+1) = j | X_t = i, H_t) = p_ij(t)
Maps the state a person occupies at cycle t, the cycle itself and the path H_t before it to the probability of each next state, under the restriction that the path adds nothing once the current state and cycle are known. With a constant probability p_ii of staying in state i the restriction makes the number of cycles spent in i on one visit geometric, and in continuous time a constant exit rate makes the time spent in i exponential, so in both cases the chance of leaving does not depend on the time already spent in the state. The package gives the geometric distribution of a stay with its median, the residual-stay identity behind memorylessness with a check of a survival curve for time since entry, the exponential residual stay and median, and the gap between the discrete and continuous mean stays at the same rate. Existing records are cited and not restated. The mean episode length 1 divided by 1 minus p_jj is HE-FM-MKCH-002, the cohort update is HE-FM-MM-001 with the trace totals of HE-FN-CSIM-001 and HE-FM-CSIM-001, rate and probability conversion is HE-FN-TP-001 with HE-FM-TP-001 to HE-FM-TP-004 and HE-CF-TP-001 and HE-CF-TP-002, exponential survival and the mean 1 divided by lambda are HE-FM-BTH-003 and HE-FM-CONT-002, the fundamental matrix is HE-FM-ABS-001 with its discounted form HE-FM-MKCH-001 and HE-CF-MKCH-001, the six-month root of an annual matrix is HE-FM-TMAT-001, and relaxing the assumption with tunnel states is HE-FN-TUN-001, HE-FM-TUN-001 to HE-FM-TUN-003 and HE-CF-TUN-001. Notation follows the Markov Assumption article.
Geometric distribution of cycles spent in a Markov state on one visit with a constant stay probability
f_d = p_ii^(d - 1) * (1 - p_ii); G_d = p_ii^(d - 1); F_d = 1 - p_ii^d; d_star = log(0.5) / log(p_ii)
Memoryless residual stay and constant per-cycle exit probability of a geometric Markov sojourn
R_ab = p_ii^(a + b) / p_ii^a; h_d = p_ii^(d - 1) * (1 - p_ii) / p_ii^(d - 1)
Exponential residual time and median sojourn in a Markov state with a constant exit rate
S_res = exp(-lambda * (tau + s)) / exp(-lambda * tau); t_med = log(2) / lambda
Mean stay of a discrete-cycle Markov state against the exponential mean at the same constant exit rate
p_ii = exp(-lambda * Delta); D_mean = Delta / (1 - p_ii); T_mean = 1 / lambda; gap_c = (D_mean - T_mean) / Delta
