Skip to content

GammaFrailty

0.1.0Package record

Gamma Frailty Regression Models with Multiple Baseline Distributions

0packages depend
1.1Kdownloads / year
46.2%test coverage
13/13flavors OK

Overview

About

Implements univariate gamma frailty regression models for survival data with six different baseline distributions: the Arvind distribution (Pandey et al., 2024), the Lindley distribution (Lindley, 1958), the Linear Failure Rate distribution (Bain, 1974), the Power Xgamma distribution (Tyagi et al., 2022), the Modified Topp-Leone distribution (Singh et al., 2025), and the Power Failure Rate distribution (Mugdadi, 2005). The package supports uncensored (complete) and censored data (right, left, interval, and progressive censoring) with and without covariates. It provides maximum likelihood estimation, standard errors, confidence intervals, t-statistics, p-values, Akaike Information Criterion (AIC), Bayesian Information Criterion (BIC), a bootstrap approximation of the Widely Applicable Information Criterion (WAIC), k-fold cross-validation, variance inflation factors, R-squared, adjusted R-squared, Mean Squared Error (MSE), Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), an overall model F-test, frailty variance estimation, survival probabilities at user-specified time points, median survival, expected survival within a fixed window, risk predictions, marginal predictions, martingale and deviance residuals, standardized and studentized residuals, leverage values, Cook's distance, Difference in Fits (DFFITS), Difference in Betas (DFBETAS), and a comprehensive suite of diagnostic and survival plots including Kaplan-Meier overlays and coefficient forest plots. Random number generation is available for each baseline distribution and the full frailty model, and a simulation study function evaluates parameter recovery across sample sizes and censoring scenarios. References are Lindley (1958) doi:10.1111/j.2517-6161.1958.tb00278.x, Mugdadi (2005) doi:10.1016/j.amc.2004.09.064, Bain (1974) doi:10.1080/00401706.1974.10489237, Singh, Tyagi, Singh, and Tyagi (2025) https://ph02.tci-thaijo.org/index.php/thaistat/article/view/257215, Pandey, Singh, Tyagi, and Tyagi (2024) https://ssca.org.in/journal.html, and Tyagi, Kumar, Pandey, Saha, and Bagariya (2022) https://ijsreg.com/.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-06-19
Advisories

none known

Documentation

In release 0.1.0
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
35 (1 internal)includes a package overview page
Examples that run
84%21 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
74%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
20%

Downloads

1.1K
CRAN downloads in the past year
Rank #16,881 · ~3/day · ~94/mo
Daily download trend is not available in this view yet.
27230 days
74590 days
1.1K1 year
Compare downloads with other packages →
Also on20 r2u4 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing GammaFrailty adds 7 packages (2 with compiled code, 3.2 MB of source tarballs). Heaviest: sandwich 1.4 MB, maxLik 791 KB, zoo 675 KB.

Depends (1)
R >= 4.0.0
Imports (8)
survivalmaxLiknumDerivMASSstatsgraphicsgrDevicesutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 0.1.0Latest
    2026-06-18 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-18
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Download size
119 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GammaFrailty")
Tyagi, S. (2026). GammaFrailty: Gamma Frailty Regression Models with Multiple Baseline Distributions (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.GammaFrailty

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GammaFrailty version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy