1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! # u-analytics
//!
//! Statistical process control (SPC), process capability analysis, Weibull
//! reliability, and change-point detection.
//!
//! This crate provides industrial quality analysis tools that are
//! domain-agnostic — they operate on raw `f64` data without knowledge
//! of manufacturing, scheduling, or any specific consumer domain.
//!
//! ## Modules
//!
//! - [`spc`] — Control charts (X̄-R, X̄-S, I-MR, P, NP, C, U) with run rules
//! - [`capability`] — Process capability indices (Cp, Cpk, Pp, Ppk, Cpm)
//! - [`weibull`] — Weibull parameter estimation (MLE, MRR) and reliability analysis
//! - [`detection`] — Change-point detection (CUSUM, EWMA, PELT)
//! - [`smoothing`] — Time series smoothing (SES, Holt, Holt-Winters)
//! - [`correlation`] — Correlation analysis (Pearson, Spearman, Kendall, matrices)
//! - [`regression`] — Regression analysis (simple, multiple OLS, VIF)
//! - [`distribution`] — Distribution analysis (ECDF, histogram bins, QQ-plot, KS test)
//! - [`testing`] — Hypothesis testing (t-tests, ANOVA, chi-squared, normality)
//! - [`msa`] — Measurement System Analysis (Gage R&R, ANOVA method)
//!
//! ## Design Philosophy
//!
//! - **Domain-agnostic**: No manufacturing or process-specific types
//! - **Numerical stability**: Leverages `u-numflow` for stable statistics
//! - **Research-backed**: All algorithms reference academic literature