Description Usage Arguments Value
generate predictions for dependent Dirichlet process Weibull model data without competing risks.
1 2 |
object |
Output from dpweib, must be ddpcomp class |
newdata |
The new dataset for predictions |
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. |
alpha |
1-α is the probability for constructing credible intervals. The default α is 0.05. |
... |
Arguments to be passed to method |
tpred |
The time points where the predictions are made. |
alpha |
1-α is the probability for constructing credible intervals. |
Spred |
A matrix, the estimated survival for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
Spredu |
A matrix, the estimated upper pointwise credible interval of the survival functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
Spredl |
A matrix, the estimated lower pointwise credible interval of the survival functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
dpred |
A matrix, the estimated density 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 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 density functions for new covariates. Each row corresponds to a covariate configuration. Each column corresponds to a time point. |
hpred |
A matrix, the estimated hazard 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 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 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.