Skip to main content

u_analytics/
lib.rs

1//! # u-analytics
2//!
3//! Statistical process control (SPC), process capability analysis, Weibull
4//! reliability, and change-point detection.
5//!
6//! This crate provides industrial quality analysis tools that are
7//! domain-agnostic — they operate on raw `f64` data without knowledge
8//! of manufacturing, scheduling, or any specific consumer domain.
9//!
10//! ## Modules
11//!
12//! - [`spc`] — Control charts (X̄-R, X̄-S, I-MR, P, NP, C, U) with run rules
13//! - [`capability`] — Process capability indices (Cp, Cpk, Pp, Ppk, Cpm)
14//! - [`weibull`] — Weibull parameter estimation (MLE, MRR) and reliability analysis
15//! - [`detection`] — Change-point detection (CUSUM, EWMA)
16//! - [`smoothing`] — Time series smoothing (SES, Holt, Holt-Winters)
17//!
18//! ## Design Philosophy
19//!
20//! - **Domain-agnostic**: No manufacturing or process-specific types
21//! - **Numerical stability**: Leverages `u-numflow` for stable statistics
22//! - **Research-backed**: All algorithms reference academic literature
23
24pub mod capability;
25pub mod detection;
26pub mod smoothing;
27pub mod spc;
28pub mod weibull;