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": "DFFITS (Python - statsmodels)",
  "dataset": "bodyfat",
  "formula": "Density ~ BodyFat + Age + Weight + Height + Neck + Chest + Abdomen + Hip + Thigh + Knee + Ankle + Biceps + Forearm + Wrist",
  "dffits": [
    0.09653469961692628,
    0.013741957611733671,
    0.10037613549167405,
    -0.06106620973609931,
    0.2509121311200398,
    -0.09686236213298849,
    -0.06684471964534756,
    -0.028712979899485236,
    0.03970340854137484,
    -0.02948867650632823,
    -0.0032885345834147628,
    -0.013310022110200728,
    -0.05639880441521671,
    0.030103699027267363,
    0.12955739357106816,
    0.06785675956410035,
    0.05222382318696576,
    -0.021644169606064176,
    -0.0222262014116167,
    0.0018723726051884267,
    -0.02710977887006509,
    -0.10301320737238652,
    -0.0027457902587063113,
    0.005355953375987998,
    -0.018221833621383826,
    0.0495127075256631,
    0.07473558917954641,
    0.03587957151406597,
    0.07374281743280488,
    0.006142199198089285,
    0.5146313069276736,
    0.028024692338410834,
    -0.09095834027850817,
    -0.04236177940026321,
    0.014765535500719568,
    0.2722310593149165,
    -0.03482436550963191,
    -0.03900631178108023,
    -0.30169989972010736,
    0.08769778745925894,
    -0.17448633345299894,
    0.5656796873797808,
    0.09886184998148152,
    0.01498645252382205,
    0.06349827676521233,
    -0.08343891352395807,
    2.6311505375535876e-05,
    -1.3435586580136083,
    0.04833237114626209,
    0.04605677302583171,
    -0.04664790927450022,
    -0.007292832327106039,
    0.06465797392604034,
    0.20979147291951036,
    0.07666443230306903,
    -0.07751358909656728,
    0.02125631222341906,
    -0.025738764261465968,
    -0.055687363889746155,
    0.009952363272001996,
    -0.11425376199839021,
    -0.027954752297756458,
    0.01906755464345092,
    0.010130769810337432,
    0.07140568197159865,
    0.057906842607785274,
    -0.024022081160904867,
    -0.004740223252705816,
    3.052533385682296e-05,
    -0.0884396653878926,
    -0.034148522105169075,
    0.033469656570984316,
    -0.04507166062268263,
    -0.02932243307999544,
    0.011690372789353767,
    0.6294226336087836,
    -0.033475012805513626,
    -0.12579532348158284,
    -0.0754279565395238,
    -0.042891784988382614,
    0.006738610963931251,
    -0.049982070000676934,
    -0.03551555102875023,
    -0.03960830962826859,
    0.006788081570207035,
    0.6149649740212515,
    -0.05159031769225424,
    -0.05885681402240073,
    -0.038461123771918834,
    -0.07262040293531263,
    -0.04055533566725825,
    -0.04224458179983263,
    -0.046093235957320636,
    -0.02917403805979432,
    -0.03558009368774531,
    7.248990712970836,
    -0.027446366641910414,
    0.010139199992634079,
    0.007880667389298232,
    -0.08400642337210829,
    -0.12917556780096853,
    -0.040592934117479225,
    -0.0181524509658609,
    -0.1163042877135006,
    -0.013066859481834787,
    0.012851004450086226,
    -0.03352171423906007,
    -0.10774213640668684,
    -0.21831247445297675,
    0.012982453964592454,
    0.007347658583782655,
    0.1549404851009435,
    0.04653470540215338,
    0.01743270095021209,
    -0.016596412200388183,
    -0.00016331155370850612,
    -0.055966597280898436,
    -0.049530101042482906,
    0.014456468739714616,
    -0.09335797457084612,
    -0.09764299627466169,
    -0.00458882832677946,
    0.007952770989345015,
    0.014175795620121952,
    0.029457559403268066,
    0.013658221137638054,
    0.031914769127980684,
    -0.11439379489294135,
    -0.05171776869904634,
    -0.012528723313428972,
    -0.05176818226252265,
    0.02250353418730434,
    -0.01814762483979428,
    0.02387783406908643,
    -0.029434909850764485,
    -0.005425923018068213,
    0.015655065831247032,
    0.13658037999200315,
    -0.0044863733264238264,
    0.04254550482586096,
    -0.030318635343034788,
    0.006238422571724215,
    -0.04376570850887406,
    -0.03306383235795238,
    -0.08042748821390892,
    0.03643453394917712,
    0.07010227216278678,
    0.01840115025058258,
    0.004104198193139407,
    -0.028575409210311375,
    -0.011852809256943106,
    -0.057808206191829636,
    -0.0248202407573576,
    0.03984801694339629,
    0.014903624303557721,
    -0.048454891785682436,
    0.14817552719254243,
    0.025038189253713535,
    -0.01674124742202544,
    -0.0032615152674609986,
    -0.016230296537846186,
    -0.05608578326295781,
    -0.03905938172582004,
    0.04907898369065581,
    -0.049668390397423955,
    -0.08553521407249819,
    -0.04130313362042138,
    -0.12305800026560787,
    -0.263212080143545,
    0.026907255208503608,
    0.08307602928157432,
    0.11203156482577871,
    -0.04033755040578112,
    -0.019920556227308678,
    -0.33800054722549844,
    0.012394968400777808,
    0.059554584644045824,
    -0.07650864848044182,
    0.023755552273948117,
    -0.005947937356466091,
    -0.009821442826740742,
    0.9741785593812441,
    0.0355192731485272,
    0.05050765736257059,
    -0.03085650889944525,
    0.03137350576139172,
    -0.04817889993048969,
    -0.04455135222649006,
    -0.009770296423372276,
    0.02718419343769179,
    -0.020416274617078133,
    0.05174882227407786,
    -0.03634593171707386,
    -0.01870173474454583,
    0.027948237885283795,
    0.022322403623672996,
    0.02192725862874016,
    0.033739969352761946,
    -0.10312315508281612,
    0.0850270362665195,
    -0.030369470963297167,
    -0.01798975851574286,
    0.02610138117252889,
    0.004053166888562472,
    0.01962924032666719,
    -0.10035682900345168,
    0.06300649033475186,
    0.11487155930306728,
    -0.009628151138800974,
    -0.0004941028399801369,
    0.0474415177541598,
    -0.08945747599360604,
    -0.07448078130846435,
    -0.031631080135314675,
    -0.11745032437738306,
    0.46317953026275094,
    -0.05093580680866487,
    -0.06109444374991971,
    -0.02778034045535859,
    -9.750716865667775e-05,
    0.1100691058776228,
    0.00533942246866315,
    0.01941086628461456,
    0.11319176634913222,
    -0.05100736085566753,
    -0.022331228553605885,
    -0.022838387397903,
    -0.0811927707418772,
    -0.06227467814908184,
    -0.002526512363233822,
    0.0408179246057961,
    -0.04050340940097885,
    -0.0653533325987858,
    -0.03853273642666344,
    -0.022770130838417477,
    -0.04279076396473829,
    -0.0689899066318162,
    -0.06277688588445501,
    -0.05970120452983805,
    0.02265433141422495,
    -0.04303156837753774,
    -0.036210852745027826,
    -0.14616989394337812,
    -0.006306859316019867,
    -0.08599075007771578,
    -0.0929795578201689,
    -0.08206081938182899,
    -0.0663719523827242,
    -0.045928815509117135,
    0.056819158362885466,
    -0.17408640435619135,
    -0.13064994837157887
  ],
  "n": 252,
  "p": 15,
  "threshold": 0.4879500364742666,
  "influential_observations": [
    31,
    42,
    48,
    76,
    86,
    96,
    182
  ],
  "description": "Measures influence of each observation on its fitted value."
}