Skip to content

v0.5.0

Choose a tag to compare

@queelius queelius released this 13 Feb 09:47
· 14 commits to main since this release

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
    via score_fn and hess_fn, or the package falls back to numDeriv.
  • Extracted internal helpers (get_delta(), require_params(), get_params() with length validation).
  • Removed dead eps field from constructor.
  • Refined vignettes and landing page with motivation-first narrative.
  • Renamed automatic_differentiation vignette to custom_derivatives.

Full Changelog: v0.2.0...v0.5.0