Skip to content

Statistics & graphs extensions

Forecast, summarize, optimize, and analyze relationships.

1–16 of 16 extensions

Haybarn 2.0.0

anofox_forecast

Statistical timeseries forecasting in DuckDB. Supports ARIMA, ETS, Theta, TBATS, MFLES, MSTL, Croston, GARCH, and other models.

Haybarn 2.0.0 Linux · macOS · WASM

anofox_optimize

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

Haybarn 2.0.0 Linux · macOS · Windows

anofox_scenario

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 2.0.0 Linux · macOS · WASM · Windows

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.

Haybarn 2.0.0 Linux · macOS · WASM · Windows

behavioral

Behavioral analytics functions inspired by ClickHouse (sessionize, retention, window_funnel, window_funnel_events, sequence_match, sequence_count, sequence_match_events, sequence_next_node)

Haybarn 2.0.0 Linux · macOS · 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 2.0.0 Linux · macOS · WASM · Windows

Apache DataSketches

Query Farm

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 2.0.0 Linux · macOS · WASM · Windows

duckgql

Adds ISO GQL graph querying and graph algorithms to DuckDB

Haybarn 2.0.0 Linux · macOS · WASM · Windows

duckpgq

Extension that adds support for SQL/PGQ and graph algorithms

Haybarn 2.0.0 Linux · macOS · WASM · Windows

gpudb

GPU-accelerated plain DuckDB SQL on Apple Silicon Metal and NVIDIA CUDA - GROUP BY, joins, filters and top-k run on the GPU when measured faster, with the same answers. First SQL execution engine that targets Apple Silicon GPUs.

Haybarn 2.0.0 Linux · macOS

onager

A DuckDB extension for graph data analytics

Haybarn 2.0.0 Linux · macOS · WASM · Windows

petgraph_ext

Graph algorithms for DuckDB — PageRank, shortest path, SCC, MST, and more via petgraph

Haybarn 2.0.0 Linux · macOS · Windows

rdf

Read and write RDF, query using SPARQL

Haybarn 2.0.0 Linux · macOS · WASM · Windows

stats_duck

A statistical computing toolkit for DuckDB, with descriptive statistics, hypothesis tests, R-style distribution functions (d/p/q/r), linear and generalized linear models with robust and cluster-robust standard errors, linear hypotheses and estimated marginal means, grammar-of-graphics charts (VISUALIZE to Vega-Lite), and readers and writers for SAS, SPSS and Stata files, all in SQL.

Haybarn 2.0.0 Linux · 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 2.0.0 Linux · macOS · WASM · Windows

yardstick

Measure-aware SQL implementing Julian Hyde's 'Measures in SQL' paper

Haybarn 2.0.0 Linux · macOS · Windows

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

Choose an extension for your workflow

Bring statistical methods, forecasting, graph analysis, and optimization into Haybarn. Compare the method an extension implements with your assumptions about the data before building it into a report or model.

  • Check the required input shape, treatment of missing values, and interpretation of results.
  • For graph queries or forecasting, review setup steps and the amount of state the extension holds in memory.

Explore Stochastic, Apache DataSketches, duckpgq or anofox_forecast.