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
{
  "test_name": "Breusch-Godfrey Test (Python - statsmodels)",
  "dataset": "ToothGrowth",
  "formula": "len ~ supp + dose",
  "order": 1,
  "statistic": 6.120104083136728,
  "p_value": 0.013365293101289297,
  "test_type": "Chisq",
  "df": [
    1.0
  ],
  "f_statistic": 6.474510145250904,
  "f_p_value": 0.01367677059446693,
  "f_df": [
    1.0,
    56.0
  ],
  "passed": false,
  "interpretation": "Significant serial correlation detected at order <= 1",
  "description": "Tests for serial correlation up to order 1. The LM (Chi-squared) statistic is asymptotically distributed as chi-squared with 1 degrees of freedom. The F statistic provides a finite-sample correction. Uses statsmodels.stats.diagnostic.acorr_breusch_godfrey."
}