Skip to content

Parametric hazard-based regression models (Julia package)

License

Notifications You must be signed in to change notification settings

FJRubio67/HazReg.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev

HazReg.jl

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.

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:

  1. HazReg.jl: Parametric Hazard-based regression models for survival data
  2. Julia simGH: simulating times to event from a general hazard structure
  3. Power Generalised Weibull Distribution
  4. Generalised Gamma Distribution
  5. Exponentiated Weibull Distribution
  6. Some hazard functions in Julia

See also:

About

Parametric hazard-based regression models (Julia package)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages