v0.5.0
Changes
- Added helper distribution constructors:
dfr_exponential(),dfr_weibull(),
dfr_gompertz(),dfr_loglogistic()with analytical hazard, cumulative
hazard, score, and Hessian functions where available. - Added diagnostic methods:
residuals()(Cox-Snell and Martingale),
plot()(survival, hazard, cumulative hazard),qqplot_residuals(). - Added
density()method (alias for pdf). - Added
assumptions()method for listing model assumptions. - Added
kaplan_meier()internal utility for empirical survival estimation. - Added support for left-censored observations (delta = -1).
- Improved numerical stability in log-likelihood computation.
- Removed femtograd dependency — users supply their own derivative functions
viascore_fnandhess_fn, or the package falls back to numDeriv. - Extracted internal helpers (
get_delta(),require_params(),get_params()with length validation). - Removed dead
epsfield from constructor. - Refined vignettes and landing page with motivation-first narrative.
- Renamed
automatic_differentiationvignette tocustom_derivatives.
Full Changelog: v0.2.0...v0.5.0