Description Usage Arguments Value
For interval censoring with left censor time Tl and right censor time Tr, this returns S(Tl) - S(Tr).
1 2 | calc_censor_likelihood(exposure_series, exposure_times, censor_start,
censor_end, hazard_risk, clr, loglik = T)
|
exposure_series |
The vector of repeated pathogen exposure values, should be pre-processed |
exposure_times |
The times of exposures |
censor_start |
Start of the censor period (exposure up to this time are survived) |
censor_end |
End of the censor period (infection occured in exposures between censor_start and censor_end) |
hazard_risk |
The per time risk of exposure during persistence |
clr |
The clearance rate of exposure |
loglik |
Whether to return log (default TRUE) |
Returns a survival likelihood for interval censored outcome (see calc_risk_mult
for calculations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.