BayesLab mSPRT

Statistical Architecture

Rigor enforced at the warehouse query layer.

BayesLab compiles metric definitions into auditable SQL, executes sufficient-statistic aggregations inside your cloud warehouse, and computes always-valid confidence sequences without exporting raw user events.

Core Inference Modules

Zero Row Egress
M1

Mixture Sequential Probability Ratio Test (mSPRT)

Unlike fixed-horizon t-tests that break when product teams inspect dashboards daily, BayesLab maintains continuous martingale confidence sequences valid at any stopping time.

M2

Hierarchical Empirical Bayes Shrinkage

Pool variance across historical experiment registries to prevent noisy early winners in low-traffic B2B segments from triggering false rollouts.

M3

Pre-Experiment CUPED Regression

Automatically joins 28-day pre-exposure metric baselines in SQL to remove user-level variance, shrinking experiment runtime by 25% to 45% on repeat retention and revenue metrics.

M4

Deterministic Bucketing SDKs

Stateless MurmurHash3 assignment libraries in TypeScript, Python, Go, and Rust evaluate flags in under 40 microseconds with zero network round trips.

Supported Cloud Warehouses

View SQL Schema Spec →
Engine Execution Path Query Latency Authentication
Snowflake Native SQL + Dynamic Tables 3.2s / 10M rows Key-Pair / OAuth
BigQuery Partitioned Storage API 2.8s / 10M rows Workload Identity
Databricks Photon SQL Warehouse 3.6s / 10M rows Unity Catalog OAuth
ClickHouse Vectorized AggregatingMergeTree 0.9s / 10M rows mTLS + RBAC