stats_claw/likelihood/mod.rs
1//! Maximum-likelihood estimation: the generic MLE framework plus the concrete
2//! per-distribution likelihood models built on top of it.
3//!
4//! A parametric model implements [`LogLikelihood`] and defers optimization to
5//! [`fit_mle`], which maximizes `ℓ(θ; data)` by minimizing `−ℓ` with the
6//! framework's L-BFGS optimizer and reports the fit as an [`MleFit`]. The
7//! generic machinery lives in [`mle`]; concrete likelihood families are added as
8//! sibling submodules that reuse it.
9
10pub mod types;
11pub use types::*;
12pub mod binomial;
13pub mod categorical;
14pub mod exponential;
15pub mod mle;
16pub mod normal;
17pub mod poisson;
18
19pub use mle::{LogLikelihood, MleFit, fit_mle};