WAreg
While-Alive Regression for Composite Endpoints with Cluster-Robust Inference
Provides estimation and inference for while-alive regression models targeting the while-alive loss rate for composite endpoints that include recurrent events and a terminal event. The implementation supports flexible time-varying covariate effects through user-selected time bases, including B-splines, natural splines, M-splines, step functions, truncated linear bases, interval-local bases, and piecewise polynomials. Inference can be performed using cluster-robust variance estimators for cluster-randomized trials, with subject-level (IID) variance as a special case. The package includes prediction and plotting utilities and K-fold cross-validation for selecting basis and tuning parameters. Methodology is based on Fang et al. (2025) <doi:10.1093/biostatistics/kxaf047>.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1.0 |
rolling linux/jammy R-4.5 | WAreg_0.1.0.tar.gz |
297.1 KiB |
0.1.0 |
rolling linux/noble R-4.5 | WAreg_0.1.0.tar.gz |
297.1 KiB |
0.1.0 |
rolling source/ R- | WAreg_0.1.0.tar.gz |
262.4 KiB |
0.1.0 |
latest linux/jammy R-4.5 | WAreg_0.1.0.tar.gz |
297.1 KiB |
0.1.0 |
latest linux/noble R-4.5 | WAreg_0.1.0.tar.gz |
297.1 KiB |
0.1.0 |
latest source/ R- | WAreg_0.1.0.tar.gz |
262.4 KiB |
0.1.0 |
2026-04-26 source/ R- | WAreg_0.1.0.tar.gz |
262.4 KiB |
0.1.0 |
2026-04-23 source/ R- | WAreg_0.1.0.tar.gz |
262.4 KiB |
0.1.0 |
2026-04-09 windows/windows R-4.5 | WAreg_0.1.0.zip |
300.0 KiB |