Implements the four-parameter Beta-Danish distribution and its three-parameter Exponentiated Danish submodel for survival, reliability and lifetime data analysis, following Ahmad and Danish (2025) <doi:10.2478/jamsi-2025-0010>. Density, distribution, quantile, survival, hazard and random generation functions are evaluated so as to retain accuracy in the heavy upper tail, where the survival function is regularly varying. Estimation covers maximum likelihood for complete and right-censored samples, ridge-penalized fitting for weakly identified regimes, a grouped likelihood for times recorded on a coarse grid, and Bayesian sampling. Inference provides log-scale Wald and profile likelihood intervals, together with a reparameterization in terms of the identified composite of the two shape parameters. Structural properties include raw, incomplete and conditional moments with their existence conditions, Shannon, Renyi and Tsallis entropies, mean residual life, mean deviations, Lorenz and Bonferroni curves, probability weighted moments, order statistics, stress-strength reliability, hazard shape classification and the tail index. Regression modules cover accelerated failure time models, mixture and promotion-time cure models, and competing risks with Aalen-Johansen comparison and Gray's test. Analyses can be run directly from a delimited text file or spreadsheet.
| Version: | 0.3.0 |
| Depends: | R (≥ 3.5) |
| Imports: | grDevices, maxLik, survival, stats, graphics, utils, tools |
| Suggests: | readxl, flexsurv, testthat (≥ 3.0.0), knitr, rmarkdown, cmprsk, coda, MCMCpack |
| Published: | 2026-07-31 |
| DOI: | 10.32614/CRAN.package.BetaDanish |
| Author: | Bilal Ahmad [aut, cre], Muhammad Yameen Danish [aut] |
| Maintainer: | Bilal Ahmad <bilalahmad.imcbh9 at gmail.com> |
| BugReports: | https://github.com/bilal-aiou/BetaDanish/issues |
| License: | GPL-3 |
| URL: | https://bilal-aiou.github.io/BetaDanish/, https://github.com/bilal-aiou/BetaDanish |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | BetaDanish citation info |
| Materials: | README, NEWS |
| CRAN checks: | BetaDanish results |
| Package source: | BetaDanish_0.3.0.tar.gz |
| Windows binaries: | r-devel: BetaDanish_0.2.0.zip, r-release: BetaDanish_0.3.0.zip, r-oldrel: BetaDanish_0.2.0.zip |
| macOS binaries: | r-release (arm64): BetaDanish_0.3.0.tgz, r-oldrel (arm64): BetaDanish_0.3.0.tgz, r-release (x86_64): BetaDanish_0.3.0.tgz, r-oldrel (x86_64): BetaDanish_0.3.0.tgz |
| Old sources: | BetaDanish archive |
Please use the canonical form https://CRAN.R-project.org/package=BetaDanish to link to this page.