cbtop/statistics/mod.rs
1//! Statistical Analysis Module (PMAT-024)
2//!
3//! Implements statistical analysis per F221 for 95% nonparametric confidence
4//! intervals, effect size calculation, and bootstrap sampling.
5//!
6//! # Components
7//!
8//! | Component | Formula | Use Case |
9//! |-----------|---------|----------|
10//! | Bootstrap CI | Resampling with replacement | Nonparametric 95% CI |
11//! | Cohen's d | (M1-M2) / pooled_std | Effect size magnitude |
12//! | Welch's t-test | t-statistic with unequal variances | A/B comparison |
13//! | Mann-Whitney U | Nonparametric rank test | Non-normal distributions |
14//! | IQR Outlier Filter | Q1 - 1.5*IQR to Q3 + 1.5*IQR | Robust statistics |
15//!
16//! # Citations
17//!
18//! - [Efron & Tibshirani 1993] "An Introduction to the Bootstrap"
19//! - [Cohen 1988] "Statistical Power Analysis for Behavioral Sciences"
20//! - [Hoefler & Belli 2015] "Scientific Benchmarking of Parallel Computing Systems"
21
22mod analysis;
23mod comparison;
24mod helpers;
25
26pub use analysis::{EffectCategory, EffectSize, StatisticalAnalysis};
27pub use comparison::{ComparisonResult, MannWhitneyResult, OutlierFilter};
28pub use helpers::{bootstrap_ci, percentile, trimmed_mean};
29
30#[cfg(test)]
31mod tests;