wnpmle: Weighted NPMLE for Competing Risks and Recurrent Events with a Competing Terminal Event

Provides regression modeling and prediction for the subdistribution of a competing risk and for the marginal rate of recurrent events with a competing terminal event, using the weighted nonparametric maximum likelihood estimator (wNPMLE) of Bellach, Kosorok, Rüschendorf and Fine (2019) <doi:10.1080/01621459.2017.1401540> and Bellach and Kosorok (2026) <doi:10.48550/arXiv.2605.25934>. Two classes of transformation models are implemented: Box-Cox transformation models and logarithmic transformation models. These include the Fine-Gray model and the proportional means model of Ghosh and Lin (2002) <doi:10.17615/pt0g-y207>, and extend the transformation model framework of Zeng and Lin (2006) <doi:10.1093/biomet/93.3.627>. Parameter estimation is performed using automatic differentiation through the Template Model Builder (TMB) framework. Standard errors are computed using sandwich variance estimators that account for estimation of the inverse-probability censoring weights. Model selection over the transformation parameter is supported by the profile log-likelihood and Takeuchi's information criterion (TIC).

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: TMB (≥ 1.9.0), survival, methods, MASS, graphics, grDevices, utils
LinkingTo: TMB, RcppEigen
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-12-01
DOI: 10.32614/CRAN.package.wnpmle
Author: Anna Bellach [aut, cre]
Maintainer: Anna Bellach <abellach.biostat at gmail.com>
BugReports: https://github.com/abellach/wnpmle/issues
License: GPL (≥ 3)
URL: https://github.com/abellach/wnpmle
NeedsCompilation: yes
Citation: wnpmle citation info
Materials: README, NEWS
CRAN checks: wnpmle results

Documentation:

Reference manual: wnpmle.html , wnpmle.pdf
Vignettes: Getting Started with wnpmle (source, R code)

Downloads:

Package source: wnpmle_0.2.0.tar.gz
Windows binaries: r-devel: wnpmle_0.1.3.zip, r-release: wnpmle_0.1.3.zip, r-oldrel: wnpmle_0.1.3.zip
macOS binaries: r-release (arm64): wnpmle_0.1.3.tgz, r-oldrel (arm64): wnpmle_0.1.3.tgz, r-release (x86_64): wnpmle_0.2.0.tgz, r-oldrel (x86_64): wnpmle_0.2.0.tgz
Old sources: wnpmle archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=wnpmle to link to this page.