Compute w_j(t) = f_j(t) * prod_i != j F_i(t) for exponential components
Source:R/ie_expand.R
w_j_exact.RdFor component j with rate \(\lambda_j\) and other rates \(\lambda_{-j}\): $$w_j(t) = \lambda_j e^{-\lambda_j t} \prod_{i \neq j} (1 - e^{-\lambda_i t})$$
See also
w_j_integral() for the closed-form integral of \(w_j\).
Examples
# Component 1 contribution at t = 0.5, rates = c(1, 2, 3)
w_j_exact(0.5, c(1, 2, 3), j = 1)
#> [1] 0.2978523