As in the stratified Cox proportional hazards model (Collett (2003)),
this model allows a baseline hazard function that is stratum-specific. However,
the model assumes that the regression coefficients for all other explanatory
variables (excluding the stratum indicator) are constant across strata.
Assuming a Weibull distribution for the random variable corresponding to the
time to event in conjunction with the Cox proportional hazards model, the survival
function can be expressed as S(t | Z) = exp(-lambda*exp(beta*Z)*t^(gamma)), where
Z denotes the vector of covariates, gamma denotes the shape parameter and lambda
the scale parameter. To allow stratum-specific baseline hazard functions,
we generalize the model given above by expressing the survival function as
S(t | Z, Stratum=i) = exp(-lambda_i*exp(beta*Z)*t^(gamma_i)), where i denotes
the stratum, Z denotes the vector of covariates, gamma_i and lambda_i denote
the shape and scale parameters for stratum i, respectively. In particular,
the model assumes that the coefficients for explanatory covariates Z (denoted by beta)
are the same for all strata i.
In the likelihood optimization, u_i=log(lambda_i) and v_i=log(gamma_i) are used as
parameters to remove the parameters' range constriction. The likelihood function is
optimized using optim() function. The maximum likelihood estimates are used to
estimate baseline hazard ratios between two subjects (see HRatio
),
and survival function (see plot.icweib
).
This function can accommondate different types of censored time-to-event outcomes:
left censoring, right censoring, interval censoring, and non-censoring (event),
by appropriately setting L and R,
L |
R |
INTERPRETATION |
|
a |
b |
interval censoring, [a, b] |
0 |
b |
left censoring, [0, b] |
a |
Inf |
right censoring, [a, Inf] |
a |
a |
no censoring, event time = a |
L |
R |