Skip to main content

Crate u_analytics

Crate u_analytics 

Source
Expand description

§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)

§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

Modules§

capability
Process capability analysis.
correlation
Correlation analysis.
detection
Change-point and shift detection.
distribution
Distribution analysis.
regression
Regression analysis.
smoothing
Time series smoothing and forecasting.
spc
Statistical Process Control (SPC) charts.
testing
Hypothesis testing.
weibull
Weibull parameter estimation and reliability analysis.