mexhaz: An R Package for Fitting Flexible Hazard-Based Regression Models for Overall and Excess Mortality with a Random Effect
Autor: | Aurélien Belot, Hadrien Charvat |
---|---|
Přispěvatelé: | IRESP (Institut de Recherche en Sante Publique) (grant for the ANGEFLEX study, Convention AAR2013-13 'Soutien a la recherche statistique et mathematique appliquee a la cancerologie'), Cancer Research UK (grant number C7923/A18525) |
Rok vydání: | 2021 |
Předmět: |
Statistics and Probability
Hazard (logic) education.field_of_study adaptive Gauss-Hermite quadrature excess hazard flexible models frailty models time-dependent effects C Counting process Logarithm Population Regression analysis Context (language use) Random effects model Covariate Statistics Statistics Probability and Uncertainty education Software Mathematics |
Zdroj: | Journal of Statistical Software; Vol 98 (2021); 1-36 |
ISSN: | 1548-7660 |
Popis: | We present mexhaz, an R package for fitting flexible hazard-based regression models with the possibility to add time-dependent effects of covariates and to account for a two-level hierarchical structure in the data through the inclusion of a normally distributed random intercept (i.e., a log-normally distributed shared frailty). Moreover, mexhaz-based models can be fitted within the excess hazard setting by allowing the specification of an expected hazard in the model. These models are of common use in the context of the analysis of population-based cancer registry data. Follow-up time can be entered in the right-censored or counting process input style, the latter allowing models with delayed entries. The logarithm of the baseline hazard can be flexibly modeled with B-splines or restricted cubic splines of time. Parameters estimation is based on likelihood maximization: in deriving the contribution of each observation to the cluster-specific conditional likelihood, Gauss-Legendre quadrature is used to calculate the cumulative hazard; the cluster-specific marginal likelihoods are then obtained by in-tegrating over the random effects distribution, using adaptive Gauss-Hermite quadrature. Functions to compute and plot the predicted (excess) hazard and (net) survival (possibly with cluster-specific predictions in the case of random effect models) are provided. We illustrate the use of the different options of the mexhaz package and compare the results obtained with those of other available R packages. |
Databáze: | OpenAIRE |
Externí odkaz: |