Description Usage Arguments Value
generate predictions for dependent Dirichlet process Weibull model data with competing risks.
1 2 |
object |
Output from dpweib, must be ddpcomp class |
newdata |
The new dataset for predictions |
alpha |
1-α is the probability for constructing credible intervals. The default α is 0.05. |
tpred |
The time points where the predictions are made. If is not given by the user, it will use the time points where the log hazard ratios are calculated in dpweib function. |
... |
Arguments to be passed to method |
tpred |
The time points where the predictions are made. |
alpha |
1-α is the probability for constructing credible intervals. |
Fpred |
A matrix, the estimated cumulative incidence functions of cause 1 for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
Fpredu |
A matrix, the estimated upper pointwise credible interval of the cumulative incidence functions of cause 1 for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
Fpredl |
A matrix, the estimated lower pointwise credible interval of the cumulative incidence functions of cause 1 for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
dpred |
A matrix, the estimated subdistribution density functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
dpredu |
A matrix, the estimated upper pointwise credible interval of the subdistribution density functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
dpredl |
A matrix, the estimated lower pointwise credible interval of the subdistribution density functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
hpred |
A matrix, the estimated subdistribution hazard functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
hpredu |
A matrix, the estimated upper pointwise credible interval of the subdistribution hazard functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
hpredl |
A matrix, the estimated lower pointwise credible interval of the subdistribution hazard functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.