| impute_ic_times | R Documentation |
For a fitted PAMM with piecewise-constant hazard, draws
T_i \sim p(T \mid L_i < T \le R_i, x_i, \theta) by inverting the
cumulative-hazard increment between L_i and R_i. Exact and
right-censored observations are returned unchanged (right-censored subjects
are not imputed: they contribute correctly as censored at ic_L).
impute_ic_times(object, ic, cut, beta = NULL, cache = NULL)
object |
A fitted |
ic |
A data frame as returned by |
cut |
The fixed vector of interval cut-points (shared across imputations). |
beta |
Coefficient vector to evaluate the hazard at. Defaults to
|
cache |
Optional pre-built cache from |
Numeric vector of (possibly imputed) event times, length
nrow(ic).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.