GEHMLE | R Documentation |
Relative Survival GH model. Log likelihood and MLE for the GH excess hazards model. Baseline hazards: Lognormal, Log-logistic, Gamma, PGW, EW, GG
GEHMLE(
init,
times,
status,
hstr,
des_t,
des,
hp.obs,
method = "Nelder-Mead",
maxit = 1000
)
init |
: initial points for optimisation |
times |
: survival times |
status |
: vital status (1 - dead, 0 - alive) |
hstr |
: hazard structure including baseline (LNGEH,LLGEH,GGEH,PGWGEH,EWGEH,GGGEH) |
des_t |
: design matrix for time-dependent effects (q x n), q >= 1 |
des |
: design matrix for hazard-level effects (p x n), p >= 1 |
hp.obs |
: population hazards (for uncensored individuals) |
method: |
"nlminb" or a method from "optim" |
maxit: |
The maximum number of iterations. Defaults to 1000 |
a list containing the output of the optimisation (OPT) and the log-likelihood function (loglik)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.