v0.4.0
Greenwood v0.4.0 expands the existing Cox-modeling capabilities with stronger model selection, richer diagnostics, and broader support for clustered survival data. This release also introduces cross-validated penalizer selection for CoxNet, shared frailty modeling (now including lognormal frailty), and stratified survival prediction workflows. A major secondary focus was improved correctness for baseline hazard confidence intervals.
New Features
- Cross-validated CoxNet penalizer selection (
cv_coxnet()) — Added k-fold cross-validation over penalizer paths (including best and 1-SE choices) to help select regularization strength more robustly. (#13) - Initial shared frailty support in
CoxPH— Introduced cluster-level frailty modeling to better handle within-group dependence in survival outcomes. (#14) - Cox residual diagnostics — Added diagnostic residual outputs (including martingale, deviance, Schoenfeld-family, and influence-style residuals) to support model checking and PH-assumption assessment. (#18)
- Lognormal shared frailty — Added lognormal frailty as an additional shared frailty option for clustered Cox models. (#19)
- Stratified survival predictions — Improved prediction workflows for stratified Cox models so survival predictions are aligned to per-stratum baseline hazards. (#20)
Enhancements
- Expanded CI test coverage for AFT survival prediction confidence intervals to improve reliability. (#17)
Bug Fixes
- Cox baseline hazard confidence interval behavior was corrected for improved accuracy and consistency. (#16)
Documentation
- Improved docstrings across the codebase for clearer API usage and reference quality. (#15)