Skip to content
DuckDB community extension

anofox_statistics

A DuckDB extension for statistical regression and inference in SQL - OLS, Ridge, Elastic Net, LARS/LassoLars, WLS, recursive least squares, robust estimators (Huber, RANSAC, Theil-Sen), GLMs (Poisson, Negative Binomial, Binomial, Tweedie, Gamma, Logistic) with offset support, mixed-effects/hierarchical GLMs with random slopes and crossed/nested factors, AFT survival regression, explicit priors with Laplace intervals, empirical-Bayes shrinkage, and time-series regression, all with full diagnostics and inference.

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL anofox_statistics FROM community;
LOAD anofox_statistics FROM community;

Try it in a temporary SQL session with anofox_statistics already loaded. Queries run in this tab; examples using files or services need their own setup.

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

Start with the project’s examples

The maintainer’s documentation is the starting point for usage and sample data.

Open usage documentation →

Documentation and resources

Project and build details
Repository
DataZooDE/anofox-statistics
License
BSL 1.1
Maintainers
sipemu
Written in
C++
Build source
828f5762daf1
Build definition
Community descriptor