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": "iris",
  "formula": "Sepal.Length ~ Sepal.Width + Petal.Length + Petal.Width + Species",
  "dffits": [
    0.0562980328168721,
    0.0040838447751481875,
    -0.1469625420557974,
    -0.17385147867218892,
    -0.04010370235708896,
    0.18492064822211357,
    -0.21935885145130696,
    0.029618262369975775,
    -0.3203363031882793,
    0.057168206078063194,
    0.2312470223940845,
    -0.06754262955383551,
    -0.01737046002309734,
    -0.40619778847158305,
    0.5207557764500215,
    0.4041087008394007,
    0.12738180431871454,
    0.020528272874418607,
    0.40901430569383307,
    0.003061608940293307,
    0.3272739323821219,
    -0.027579198314910628,
    -0.3953669536512049,
    0.11511351755065527,
    0.12809966049588467,
    0.3037322424865412,
    0.05716820607806318,
    -0.3253636107579615,
    0.0841566940886714,
    -0.0544544976322578,
    -0.40811987161877433,
    -0.3161250104675406,
    -0.0544544976322578,
    -0.027579198314910635,
    0.06529197250982134,
    -0.18631416182568594,
    0.1721701941378799,
    0.024436728355805425,
    0.422783447304624,
    0.1428409411010122,
    0.3221228706444886,
    -0.11526148841314247,
    0.16957999653884145,
    -0.05228872762685582,
    0.10871681095031972,
    -1.5628099458981177,
    0.3092889226651368,
    -0.16282927453161714,
    0.06708456419278389,
    0.1860564294088322,
    0.05955927719874329,
    -0.16282927453161708,
    -0.10238264008733156,
    0.1860564294088321,
    0.0595592771987433,
    -0.16282927453161714,
    -0.07923571290421068,
    0.11181249647118816,
    0.2640680589760326,
    0.235483390409397,
    0.3054313674439275,
    0.20077658067853837,
    0.1430120924538244,
    0.19126429407380713,
    0.28398723753288047,
    -0.1628292745316171,
    -0.27979384475180685,
    -0.12405782509437703,
    0.22471130720928556,
    -0.24203024205733634,
    0.5642493821135347,
    0.43415419115211595,
    0.21770793173693193,
    -0.11649577234777762,
    -0.07923571290421068,
    -0.1359504381764952,
    0.13336284992686542,
    -0.17630612406321786,
    -0.024097562178940518,
    -0.13595043817649516,
    -0.1763061240632178,
    -0.024097562178940518,
    -0.2020898926090379,
    0.10542614735746661,
    -0.004961018051502283,
    -0.025238416895030286,
    -0.025238416895030286,
    -0.1881458776776628,
    0.0011352498272665587,
    -0.025238416895030275,
    -0.06767357912720047,
    -0.025238416895030282,
    -0.006393279773427628,
    -0.025238416895030286,
    -0.06767357912720047,
    -0.0049610180515022835,
    -0.025238416895030286,
    -0.025238416895030286,
    -0.06767357912720046,
    -0.025238416895030275,
    -0.025238416895030275,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.004961018051502283,
    -0.06767357912720047,
    -0.1254365770796807,
    -0.01964858233455622,
    -0.08756598634354186,
    -0.019648582334556224,
    -0.019648582334556224,
    -0.019648582334556224,
    -0.08588493751469906,
    0.11286350897729336,
    -0.12405782509437707,
    -0.004961018051502283,
    -0.14415953389743955,
    -0.06767357912720047,
    -0.22547579674884294,
    -0.08354674617602445,
    -0.1441595338974395,
    -0.22547579674884294,
    -0.08354674617602445,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    -0.006393279773427628,
    0.046181493192328935,
    -0.025238416895030286,
    -0.08354674617602445,
    -0.06749854759854577,
    -0.036920909889012275,
    -0.036920909889012275,
    -0.06749854759854577,
    -0.06749854759854577,
    -0.08354674617602448,
    -0.051569689478266324,
    -0.032974234024887736,
    0.13137596869256132,
    -0.051569689478266345,
    -0.032974234024887736,
    0.108636028531169,
    -0.08354674617602445,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.032974234024887736,
    0.1313759686925613,
    -0.05156968947826635,
    -0.03297423402488776,
    0.108636028531169,
    -0.16282927453161714,
    -0.1449607011256647,
    0.04618149319232893,
    -0.09628853275466945,
    -0.08354674617602448,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.00639327977342763,
    -0.004961018051502283,
    -0.06767357912720047,
    -0.06767357912720047,
    -0.14192690111377712,
    -0.0049610180515022835,
    -0.06767357912720047,
    -0.06767357912720047,
    -0.004961018051502284,
    -0.06767357912720047,
    0.0011352498272665587,
    -0.06767357912720047,
    -0.04061493760598025,
    -0.06767357912720046,
    -0.04061493760598025,
    0.0011352498272665591,
    -0.04061493760598026,
    -0.04061493760598026,
    0.0011352498272665587,
    -0.04061493760598025,
    0.001135249827266559,
    -0.04061493760598025,
    -0.04061493760598025,
    0.5728431483996229,
    0.5828119079149121,
    0.5828119079149119,
    0.6625938584706831,
    0.6625938584706833,
    0.6625938584706833,
    0.5728431483996229
  ],
  "n": 229,
  "p": 5,
  "threshold": 0.2955270622827708,
  "influential_observations": [
    9,
    14,
    15,
    16,
    19,
    21,
    23,
    26,
    28,
    31,
    32,
    39,
    41,
    46,
    47,
    61,
    71,
    72,
    223,
    224,
    225,
    226,
    227,
    228,
    229
  ],
  "description": "Measures influence of each observation on its fitted value."
}