Skip to main content

so_models/
lib.rs

1//! Statistical models for StatOxide
2//!
3//! This crate provides a comprehensive suite of statistical models:
4#![allow(missing_docs)]
5//!
6//! - **Linear Models**: OLS, Ridge, Lasso, Elastic Net
7//! - **Generalized Linear Models**: Logistic, Poisson, Gamma regression
8//! - **Mixed Effects Models**: Linear and generalized linear mixed models
9//! - **Robust Statistics**: Robust regression and estimation
10//! - **Nonparametric Methods**: Kernel regression, local regression, smoothing splines
11
12pub mod glm;
13pub mod mixed;
14pub mod nonparametric;
15pub mod regression;
16pub mod robust;
17
18// Re-exports for convenience
19pub use glm::{Family, GLM, GLMModelBuilder, GLMResults, Link};
20pub use mixed::{
21    EstimationMethod, LMMResults, LinearMixedModelBuilder, RandomCovariance, RandomEffect,
22};
23pub use nonparametric::{
24    BandwidthMethod, Kernel, KernelRegression, KernelRegressionResults, LocalRegression,
25    LocalRegressionResults, SmoothingSpline, SmoothingSplineResults,
26};
27pub use regression::{LinearModelBuilder, LinearRegressionResults, OLS, Ridge};
28pub use robust::{
29    LeastTrimmedSquares, LossFunction, MEstimator, MMEstimator, RobustRegressionResults,
30    SEstimator, ScaleEstimator, TuningParameters,
31};