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
{
  "test_name": "Rainbow Test (Python - statsmodels)",
  "dataset": "synthetic_interaction",
  "formula": "x1 ~ x2 + y",
  "statistic": 1.4011984821677665,
  "p_value": 0.12296377859738646,
  "passed": true,
  "fraction": 0.5,
  "description": "Tests for linearity by comparing fit on central subset vs full data. Uses statsmodels.stats.diagnostic.linear_rainbow."
}