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
{
  "test_name": "White Test (Python - statsmodels)",
  "dataset": "bodyfat",
  "formula": "Density ~ BodyFat + Age + Weight + Height + Neck + Chest + Abdomen + Hip + Thigh + Knee + Ankle + Biceps + Forearm + Wrist",
  "statistic": 199.51793818366912,
  "p_value": 5.35038692706165e-06,
  "passed": false,
  "f_statistic": 4.216945901225464,
  "f_p_value": 2.76551724700862e-15,
  "description": "Tests for heteroscedasticity using squares and cross-products of predictors. Uses statsmodels.stats.diagnostic.het_white."
}