Skip to content

Statistics & graphs

Forecast, summarize, optimize, and analyze relationships.

18 extensions

Statistical timeseries forecasting in DuckDB. Support ARIMA, SARIMA, ETS, TBATS, MFLES, MSTL, and other models.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Combinatorial decision algorithms as SQL — bin packing, knapsack, wave batching, sequencing, scheduling, assortment and portfolio selection

Haybarn 1.5.5Linux · macOS · Windows

Git-like branching for analytical databases. Attach isolated what-if scenarios as catalogs, edit them with ordinary SQL on copy-on-write delta storage, branch, diff, and merge them back.

Haybarn 1.5.5Linux · macOS · WASM · Windows

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.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Bitfilters

Query Farm

Provides high-performance, space-efficient probabilistic data structures—including quotient, XOR, and binary fuse filters—for fast approximate set membership testing with no false negatives and configurable false positive rates.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Provides mathematical clamp functions for numeric types in DuckDB, including general clamping, saturate, and others. Ensures values stay within a specified range and handles NULLs and NaNs correctly.

Haybarn 1.5.5Linux · macOS · WASM · Windows

By utilizing the Apache DataSketches library this extension can efficiently compute approximate distinct item counts and estimations of quantiles, while allowing the sketches to be serialized.

Haybarn 1.5.5Linux · macOS · WASM · Windows

GPU-accelerated aggregates and joins for DuckDB on NVIDIA CUDA and Apple Silicon Metal — upload columns once, then reductions and joins run on the GPU. First SQL execution engine that targets Apple Silicon GPUs.

Haybarn 1.5.5Linux · macOS

Largest-Triangle-Three-Buckets and related time-series downsampling aggregate functions.

Haybarn 1.5.5Linux · macOS · WASM · Windows

A statistical computing toolkit for DuckDB — descriptive statistics, hypothesis tests, R-style distribution functions (d/p/q/r), OLS regression with HC and cluster-robust standard errors, grammar-of-graphics charts (VISUALIZE → Vega-Lite), and first-class readers/writers for SAS, SPSS, and Stata files, all directly in SQL.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Stochastic

Query Farm

Add comprehensive statistical distribution functions to DuckDB, enabling advanced statistical analysis, probability calculations, and random sampling directly within SQL queries.

Haybarn 1.5.5Linux · macOS · WASM · Windows

Availability checked September 9, 2026. WASM availability means a binary is published; individual features may require a native environment.