Last chance! 50% off unlimited learning
Sale ends in
Various functions for extracting the proportional hazard distribution.
mphdist
extracts the hazard distribution.
mphdist.log
extracts the log hazard distribution.
mphmoments
returns the first and second moments of the hazard distribution.
mphmoments.log
returns the first and second moments of the log hazard distribution.
mphcov
returns the variance/covariance matrix of the hazard distribution.
mphmedian
returns the medians of the hazard distribution.
mphcov.log
returns the variance/covariance matrix of the log hazard distribution.
mphdist(pset)mphdist.log(pset)
mphmoments(pset)
mphmoments.log(pset)
mphcov(pset)
mphmedian(pset)
mphcov.log(pset)
a parameter set of class "mphcrm.pset"
, typically
opt[[1]]$par
, where opt
is returned from mphcrm
.
If given a list of results, extracts the
first in the list.
A matrix.
# NOT RUN {
# load a dataset and a precomputed fitted model
data(durdata)
best <- fit[[1]]
mphdist(best)
mphmoments(best)
mphcov.log(best)
# }
Run the code above in your browser using DataLab