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": "ols",
  "method": "statsmodels",
  "dataset": "lh",
  "formula": "time ~ value",
  "n": 48,
  "k": 1,
  "df_residual": 46,
  "variable_names": [
    "Intercept",
    "value"
  ],
  "coefficients": [
    4.175524475524506,
    8.468531468531456
  ],
  "std_errors": [
    8.682860170805958,
    3.5277772869240023
  ],
  "t_stats": [
    0.480892746558756,
    2.4005289392617746
  ],
  "p_values": [
    0.6328722202643934,
    0.020473580485958234
  ],
  "r_squared": 0.11132643951792887,
  "adj_r_squared": 0.09200744907266634,
  "f_statistic": 5.762539188233276,
  "f_p_value": 0.02047358048595806,
  "mse": 177.96653998175736,
  "std_error": 13.340410037991987,
  "log_likelihood": -191.44591216756916,
  "aic": 386.8918243351383,
  "bic": 390.6342263569541,
  "conf_int_lower": [
    -13.302166548323607,
    1.367484093714208
  ],
  "conf_int_upper": [
    21.65321549937262,
    15.569578843348705
  ],
  "residuals": [
    -23.5,
    -22.5,
    -21.5,
    -18.806293706293708,
    -16.959440559440566,
    -10.87832167832169,
    -16.65314685314685,
    -15.65314685314685,
    -16.346853146853142,
    -11.112587412587416,
    -9.265734265734274,
    -6.572027972027982,
    -9.806293706293708,
    -5.418881118881128,
    -16.274825174825168,
    -15.274825174825168,
    -10.040559440559441,
    -4.806293706293708,
    -3.806293706293708,
    -0.26573426573427383,
    0.7342657342657262,
    2.581118881118872,
    -4.040559440559441,
    -5.581118881118876,
    1.3468531468531495,
    4.887412587412584,
    5.887412587412584,
    -0.7342657342657262,
    0.26573426573427383,
    2.9594405594405586,
    3.9594405594405586,
    8.34685314685315,
    6.806293706293708,
    9.5,
    15.581118881118872,
    17.427972027972018,
    20.12167832167831,
    21.968531468531456,
    17.040559440559434,
    7.87832167832169,
    7.184615384615398,
    8.184615384615398,
    12.572027972027982,
    17.806293706293708,
    23.040559440559434,
    13.031468531468548,
    17.418881118881124,
    19.265734265734274
  ],
  "vif": []
}