Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub datazoode/anofox-statisticsSQL-native statistical regression and inference skills for the anofox_statistics DuckDB extension — regression (OLS/robust/GLM/ordinal/multinomial/AFT/Cox PH/GLS/P-spline/mixed-effects, splines, Wald chunk tests, effects and nomograms, validate/calibrate/bootcov, multiple imputation, cluster-robust vcov, paths and CV, predictions with standard errors), hypothesis tests (TOST, ANOVA incl. two-way/repeated measures, drift and multivariate two-sample tests), post-hoc, time-series, survival tests and classifier evaluation, diagnostics (influence, residuals, autocorrelation, heteroskedasticity, VIF/GVIF, condition indexes, separation, accuracy indexes, variable clustering and redundancy), AI-ready batch per-group model fitting, and plot-ready long tables for anofox-visualization.
A DuckDB extension for regression, generalized linear models, hypothesis tests and model diagnostics in SQL. Models are fitted inside DuckDB's aggregation engine, so you can fit one model per group, per window frame or per table without moving data out of the database.
[!TIP] The repository includes a Claude Code plugin with five skills that document the SQL API (function signatures, option keys, result fields) for the Claude Code assistant.
[!IMPORTANT] The extension is pre-1.0: minor releases may contain breaking changes (listed in CHANGELOG.md). Please use the issues page to report bugs or request features.
Function names have no prefix (ols_fit_agg, theil_sen_fit, …), and model options are passed as a MAP/STRUCT literal ({'fit_intercept': true, 'compute_inference': true}). Regression aggregates take fn(y, [x1, x2, …][, options]); WLS adds a positional weight (wls_fit_agg(y, x, weight[, options])). Most model families are available in several forms:
| Form | Example | Use |
|---|---|---|
| Scalar fit | ols_fit(y_array, x_columns[, options]) | Fit on literal arrays (x is column-major) |
| Aggregate fit | ols_fit_agg(y, [x1, x2][, options]) | One model per table or per GROUP BY group |
| Window fit-predict | ols_fit_predict(y, [x1, x2][, options]) OVER (ORDER BY t ROWS BETWEEN ... AND CURRENT ROW) | Expanding / rolling in-sample fits; prediction for the last row of each frame |
| Fit-predict aggregate | ols_fit_predict_agg(y, [x1, x2][, options]) | Fit on rows with non-NULL y, predict every row of the group |
| Table macro | ols_fit_predict_by('table', group, y, [x1, x2][, options]) | Per-group fit + predict in one call |
| Method | Functions | Description | Docs |
|---|---|---|---|
| OLS | ols_fit, ols_fit_agg | Ordinary Least Squares; collinear columns are aliased (NaN coefficient) as in R's lm, with the alias_tolerance option as lm's tol | ols |
| Ridge | ridge_fit, ridge_fit_agg | L2 regularization | ridge |
| Elastic Net | elasticnet_fit, elasticnet_fit_agg | Combined L1+L2 regularization | elasticnet |
| LARS / Lasso | lars_fit_agg | Least Angle Regression | lars |
| Bayesian Ridge / ARD | bayesian_ridge_fit_agg, ard_fit_agg, *_fit_predict_agg | Empirical-Bayes ridge and automatic relevance determination (scikit-learn BayesianRidge / ARDRegression): noise and weight precisions from the evidence, posterior SDs, posterior predictive intervals, ARD feature pruning | bayesian |
| WLS | wls_fit, wls_fit_agg | Weighted Least Squares (also takes alias_tolerance) | wls |
| RLS | rls_fit, rls_fit_agg | Recursive Least Squares (online) | rls |
| Huber | huber_fit, huber_fit_agg | Robust M-estimator (reports robust scale and n_outliers) | huber |
| RANSAC | ransac_fit, ransac_fit_agg | Robust consensus regression (reports n_inliers and n_trials) | ransac |
| Theil-Sen | theil_sen_fit, theil_sen_fit_agg | Robust nonparametric regression via spatial median over subsamples | theil_sen |
| BLS / NNLS | bls_fit_agg, nnls_fit_agg | Bounded / non-negative least squares | bls |
| LS states | ls_state_agg, ls_state_combine_agg, ols_fit_from_state, wls_fit_from_state, ridge_fit_from_state | Compact mergeable least-squares states: store per partition, combine, fit without the rows | ls_state |
| PLS | pls_fit_agg, pls_fit_predict_agg | Partial Least Squares | pls |
7-day visitors to each marketplace page
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations