linreg-core 0.8.1

Lightweight regression library (OLS, Ridge, Lasso, Elastic Net, WLS, LOESS, Polynomial) with 14 diagnostic tests, cross validation, and prediction intervals. Pure Rust - no external math dependencies. WASM, Python, FFI, and Excel XLL bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// ============================================================================
// Diagnostic Tests Unit Tests Module
// ============================================================================
//
// Comprehensive unit tests for diagnostic test algorithms.
//
// Organization:
// - normality: Tests for normality assumptions (Jarque-Bera, Shapiro-Wilk, Anderson-Darling)
// - heteroscedasticity: Tests for heteroscedasticity detection (Breusch-Pagan, White)
// - autocorrelation: Tests for autocorrelation detection (Durbin-Watson, Breusch-Godfrey)
// - linearity: Tests for linearity assumptions (Rainbow, Harvey-Collier, RESET)
// - influence: Tests for influential observations (Cook's Distance, DFBETAS, DFFITS)

mod autocorrelation;
mod heteroscedasticity;
mod influence;
mod linearity;
mod normality;