Skip to content

Parametric hazard-based regression models (R package)

Notifications You must be signed in to change notification settings

FJRubio67/HazReg

Repository files navigation

HazReg R package

Overall and Relative (Net) Survival

The HazReg R package implements the following parametric hazard-based regression models for survival data, in the overall and relative survival frameworks.

  • General Hazard (GH) model.

  • Accelerated Failure Time (AFT) model.

  • Proportional Hazards (PH) model.

  • Accelerated Hazards (AH) model.

These models are fitted using the R commands nlminb and optim. Thus, the user needs to specify the initial points and to check the convergence of the optimisation step, as usual.

The current version of the HazReg R package implements the following parametric baseline hazards for the models discussed in the previous section, using the commands GHMLE and GEHMLE.

All positive parameters are transformed into the real line using a log link (reparameterisation).

An Illustrative example and a description of the available models can be found at:

library(devtools)
install_github("FJRubio67/HazReg")

library(HazReg)

?GHMLE

?GEHMLE

?hpgw

?hggama

?simGH

See also:

About

Parametric hazard-based regression models (R package)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published