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": "faithful",
  "formula": "Eruption length (mins) ~ Eruption wait (mins)",
  "dffits": [
    -0.07156102492156266,
    -0.08065031759210617,
    -0.048941928666168436,
    -0.07810700024189526,
    -0.0037839840319365153,
    0.1134689561355199,
    -0.016086636414819232,
    -0.17024799921460287,
    -0.0072248334622738095,
    -0.03621489688429623,
    -0.07414262601104837,
    -0.09609194323229907,
    0.02420067252065009,
    0.017420059412973112,
    0.04884715357210098,
    0.022894635385482368,
    -0.157392291514448,
    0.05486889050170648,
    -0.09704639913426416,
    0.021321457969121573,
    -0.0400655421552224,
    0.017420059412973112,
    -0.07967579006931201,
    -0.03427949128940208,
    0.10225173503623208,
    -0.1326920578176159,
    -0.06037385705091523,
    0.027379320480729104,
    -0.024190700348401237,
    0.04746830638293675,
    0.08113390146266189,
    0.06963556577531309,
    0.03249152954744066,
    -0.02113752508779975,
    0.013877778167254818,
    -0.008796371517521906,
    0.026890848490036763,
    0.097235101139003,
    -0.12373081837215123,
    -0.0318209480264852,
    0.025649734647356374,
    -0.10690947608249422,
    0.015064318315987488,
    -0.12968341231282937,
    0.11037672914704885,
    -0.180187623352354,
    0.11975653736697589,
    -0.006983338222766992,
    0.04844982329407777,
    -0.09619931928797157,
    0.12908245860586343,
    -0.046090492981626166,
    -0.07414262601104837,
    0.09723510113900295,
    -0.0938756056712194,
    0.07904052832949807,
    0.027101405033364393,
    -0.18078416424365146,
    0.08315900693019462,
    0.009958120232451493,
    -0.057984894347178316,
    0.0036295625916817537,
    -0.0014855078778275872,
    0.07500636871737323,
    -0.1338912870240473,
    -0.15661537185774355,
    0.01963650560088971,
    0.0936321895415497,
    -0.13106804414220094,
    0.13150263386415545,
    -0.046695415601280606,
    -0.07201225959127497,
    0.05705715272598802,
    0.061834174581537865,
    -0.12254002051220488,
    0.15775717698941294,
    -0.10203065086029772,
    0.0750918498510264,
    0.0012151597710919845,
    -0.13269205781761587,
    0.04285778036151014,
    0.0008754143294959803,
    0.08367570707315955,
    -0.054639247917117946,
    0.05209314729963098,
    0.030052360934158175,
    0.00997755996436798,
    0.05033141621811856,
    0.09977017699332373,
    -0.11620044792868169,
    -0.073043977594059,
    -0.12793152132736205,
    -0.009151471553349277,
    0.11000448862061508,
    -0.151166307919537,
    0.08982062278752131,
    0.03213754226738734,
    -0.006147436235741543,
    -0.025393619240807772,
    0.09095202976116255,
    -0.04867513781502807,
    -0.08212526704848076,
    0.06294000869520693,
    0.015932460625235408,
    -0.03085972654489908,
    0.04675557136349714,
    0.037774530245670915,
    -0.05826448639392068,
    0.04047370413546581,
    -0.08715548882448387,
    0.1203309842307211,
    -0.04702693520839875,
    0.008855419385885011,
    0.04517993908984333,
    -0.1457693067850626,
    0.05831898561674052,
    0.09294770498771161,
    0.008085581952496784,
    -0.1263763503101946,
    -0.05511609331431204,
    0.09855601284804759,
    0.08963563318411412,
    0.04039067440530119,
    -0.07201225959127494,
    -0.03589432072871988,
    -0.07423563837945031,
    0.10372174450980044,
    0.02734561954045478,
    -0.003507886987823515,
    -0.06015627780968043,
    0.09032211571888894,
    -0.038835662821615796,
    0.08020209073835154,
    -0.10778754546049032,
    0.05907644580005235,
    0.008798988277569931,
    -0.02189075852084535,
    0.055760814690573625,
    -0.020639515423127898,
    -0.05250237821029889,
    -0.002880687273731065,
    -0.06783006349969752,
    0.03257929353758473,
    0.11714827074522527,
    0.06015997169009897,
    -0.0989956985515228,
    0.06751126868545983,
    0.043452846215868826,
    -0.0746371728965468,
    -0.06818125772278019,
    0.14678459304940356,
    0.006801600109427834,
    -0.08594070466577163,
    0.053260047469959194,
    0.008739750266269743,
    0.07130334745713367,
    0.03794500486352997,
    -0.25645471285964666,
    -0.06818125772278022,
    -0.183819056724088,
    0.17983473163977012,
    -0.08842101893025338,
    -0.08694773629961738,
    -0.026542388392434838,
    0.049838353741794995,
    0.09311209626322789,
    -0.07435541228413176,
    0.04332853547563164,
    -0.02654519350572368,
    -0.12836882038232408,
    0.01999196202353615,
    -0.062251965414832,
    0.08532612744262213,
    0.008047473166856264,
    -0.012968762397324298,
    0.012403842882387432,
    0.10621993503622133,
    0.1157201307519434,
    -0.09843716703589483,
    0.0558851404221544,
    -0.07633067115030329,
    0.08532612744262213,
    -0.025177201602540226,
    -0.10490727385092805,
    0.010941682397379061,
    0.056473464086348006,
    -0.06761371046431525,
    0.05907644580005234,
    0.0022847822257445133,
    -0.019418897082547154,
    0.08396989634802682,
    -0.10643631658772477,
    0.12192809393159902,
    -0.06470267348405585,
    0.0022370890514510212,
    -0.002880687273731064,
    -0.23266494484558684,
    0.05600913479330036,
    0.05846804793922686,
    0.08902546025929998,
    -0.08886697588504838,
    0.003569373314747233,
    -0.19405952031332216,
    -0.0544983397398072,
    0.07968583039418108,
    0.0461213316021877,
    0.05614391194260362,
    -0.10761848949271151,
    0.023744810992911945,
    0.015932460625235408,
    -0.1374071986483273,
    0.07745230511319119,
    0.008265615614606958,
    0.004464757440044222,
    0.06202507132020105,
    0.04703242908140095,
    0.054185916033099746,
    -0.10637187822365482,
    -0.05411071076318591,
    0.03615305965927262,
    -0.009151471553349276,
    -0.009583698031354214,
    -0.09051821672621937,
    0.08788258617119049,
    -0.0034507612281962394,
    0.002341147025873293,
    0.008022474659846311,
    0.03347122776595103,
    0.06105928846582637,
    0.0642204958841888,
    0.08156985791086806,
    0.04071149136535322,
    -0.08232277770469058,
    0.07021792292385565,
    -0.10286464230389873,
    -0.06428941053828413,
    -0.0707916393029803,
    0.04483092751690468,
    -0.021490451685178703,
    -0.08724288625144538,
    0.0450371460316948,
    0.16837420577047071,
    0.055760814690573625,
    0.001340084909025377,
    0.005073840706143845,
    -0.07850348810367128,
    -0.062251965414832,
    0.006263379080942663,
    -0.13613222636470354,
    0.0790078232750481,
    -0.0019440999959228346,
    0.007710644085910849,
    -0.009883850951666858,
    0.10621993503622135,
    -0.1253627531940459,
    -0.05306004345249812,
    0.05162985984065353,
    0.007710644085910846,
    -0.06597057663597698,
    0.026032914547849822,
    0.10299989832243354,
    0.009261369133507287,
    -0.1125513109137382,
    -0.025177201602540226,
    0.17238068310711027,
    -0.06514543884254087,
    0.1225490548729998,
    -0.020612841617798573,
    0.14143162030406783,
    -0.10992755192573674,
    0.054930143364716626,
    0.0938524052385155
  ],
  "n": 272,
  "p": 2,
  "threshold": 0.17149858514250885,
  "influential_observations": [
    46,
    58,
    158,
    160,
    161,
    197,
    203,
    265
  ],
  "description": "Measures influence of each observation on its fitted value."
}