dfr_exponential(),
dfr_weibull(), dfr_gompertz(),
dfr_loglogistic()) now prepend a family-specific S3
subclass (e.g. "dfr_exponential") to the class chain. This
enables downstream packages to dispatch on component type via
inherits() rather than maintaining parallel lookup tables.
Existing inherits(x, "dfr_dist") checks are unaffected
(additive change).paper.md,
paper.bib).CONTRIBUTING.md,
CODE_OF_CONDUCT.md).dfr_exponential(), dfr_weibull(),
dfr_gompertz(), dfr_loglogistic() with
analytical hazard, cumulative hazard, score, and Hessian functions where
available.residuals() (Cox-Snell and
Martingale), plot() (survival, hazard, cumulative hazard),
qqplot_residuals().density() method (alias for pdf).assumptions() method for listing model
assumptions.kaplan_meier() internal utility for empirical
survival estimation.score_fn and hess_fn, or the
package falls back to numDeriv.Initial release.
dfr_dist() constructor for creating distributions from
hazard functionshazard(),
cum_haz(), surv(), cdf(),
pdf(), inv_cdf(), sampler()loglik(),
score(), hess_loglik(),
fit()Supports modeling complex hazard patterns: