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": "Harvey-Collier Test (Python - statsmodels)",
  "dataset": "iris",
  "formula": "Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width + Species",
  "statistic": null,
  "p_value": null,
  "passed": null,
  "skipped": true,
  "reason": "High multicollinearity detected - Harvey-Collier test requires full-rank design matrix. Consider using VIF to diagnose multicollinearity first.",
  "description": "Tests for functional form misspecification by examining whether recursive residuals exhibit a linear trend. Uses statsmodels.stats.diagnostic.linear_harvey_collier."
}