
Computing the Probability Transform Incidence Density
Source:R/prop_trans_inc_dens.R
prop_trans_inc_dens.Rd
Computing the Probability Transform Incidence Density
Value
(vector
)
with the following entries:
ae_prob
: Estimated probability of AE.ae_prob_var
: Variance of that estimate.
Examples
set.seed(123)
dat <- generate_data(n = 5, cens = c(2, 5), haz_ae = 2, haz_death = 3, haz_soft = 5)
prop_trans_inc_dens(dat, tau = 4)
#> ae_prob ae_prob_var
#> 1.000000e+00 1.275029e-22