The HazReg
Julia package implements the following parametric hazard-based regression models for (overall) survival data.
General Hazard (GH) model.
Accelerated Failure Time (AFT) model.
Proportional Hazards (PH) model.
Accelerated Hazards (AH) model.
These models are fitted using the Julia package Optim
, with methods "NM" (NelderMead), "N" (Newton), "LBFGS" (LBFGS), "CG" (ConjugateGradient), "GD" (GradientDescent). Thus, the user needs to specify the initial points and to check the convergence of the optimisation step, as usual.
To install the package, use:
using Pkg
Pkg.add(url="https://github.com/FJRubio67/HazReg.jl")
using HazReg
The current version of the HazReg
Julia package implements the following parametric baseline hazards for the models discussed in the previous section, using the command GHMLE
.
Power Generalised Weibull (PGW) distribution.
Exponentiated Weibull (EW) distribution.
Generalised Gamma (GenGamma) distribuiton.
Gamma (Gamma) distribution.
Lognormal (LogNormal) distribution.
Log-logistic (LogLogistic) distribution.
Weibull (Weibull) distribution. (only for AFT, PH, and AH models)
All positive parameters are transformed into the real line using a log
link (reparameterisation).
Illustrative examples and a description of the available models can be found at:
See also: