Distributions {mpr} | R Documentation |
Distributions in the mpr
Package
Description
Information on the distributions currently available within the mpr
package.
Details
When fitting a Multi-Parameter Regression (MPR) model to data, the underlying distribution is selected
using the “family
” argument in the mpr
function.
Currently the mpr
package includes distributions which have upto three parameters:
- 1
-
. This is a scale parameter which controls the overall magnitude of the hazard function and is typically the “interest” parameter in standard Single-Parameter Regression (SPR) models. The Multi-Parameter Regression (MPR) framework is more general and considers all parameters to be of interest.
- 2
-
. This is a shape parameter which controls the time evolution of the hazard.
- 3
-
. This is an additional shape parameter which controls the time evolution of the hazard (available within the Burr and PGW distributions).
The MPR framework allows these parameters to depend on covariates as follows:
where ,
and
are appropriate link functions
(log-link for positive parameters and identity-link for unconstrained parameters),
,
and
are covariate vectors, which may or may not contain covariates in common, and
,
and
are the corresponding vectors of regression coefficients.
The distributions currently available are described below in terms of their hazard functions:
family | || | Hazard | | | Parameters | | | Note |
|| | | | | | ||||
Weibull | || |
| | |
, | | | SPR PH |
|| | | | | | ||||
WeibullAFT | || |
| | |
, | | | SPR AFT |
|| | | | | | ||||
Gompertz | || |
| | |
, | | | SPR PH |
|| | | | | | ||||
Loglogistic | || |
| | |
, | | | SPR PO |
|| | | | | | ||||
TDL | || |
| | |
, | | | --- |
|| | | | | | ||||
Burr | || |
| | |
, , | | | --- |
|| | | | | | ||||
PGW | || |
| | |
, , | | | SPR PH
|
The acronymns which appear in the table above are:
- SPR
-
a Single-Parameter Regression (SPR) model where covariates enter through the scale parameter,
. For example, in the row corresponding to the
Weibull
model, “SPRPH” means that the Weibull SPR
model is a PH model. Thus, this standard parametric PH model is generalised via the Weibull MPR model.
- PH
-
proportional hazards.
- AFT
-
accelerated failure time.
- PO
-
proportional odds.
- TDL
-
time-dependent logistic.
- PGW
-
power generalised Weibull.
Author(s)
Kevin Burke.
See Also
Examples
# Veterans' administration lung cancer data
veteran <- survival::veteran
head(veteran)
# Weibull MPR treatment model
mpr(Surv(time, status) ~ list(~ trt, ~ trt), data=veteran, family="Weibull")
# Burr MPR treatment model
mpr(Surv(time, status) ~ list(~ trt, ~ trt, ~ trt), data=veteran,
family="Burr")