compute_cumu_diff {pammtools} | R Documentation |
Calculate difference in cumulative hazards and respective standard errors
Description
CIs are calculated by sampling coefficients from their posterior and
calculating the cumulative hazard difference nsim
times. The CI
are obtained by the 2.5\
Usage
compute_cumu_diff(d1, d2, model, alpha = 0.05, nsim = 100L)
Arguments
d1 |
A data set used as |
d2 |
See |
model |
A model object for which a predict method is implemented which
returns the design matrix (e.g., |
[Package pammtools version 0.7.3 Index]