When to use it
Use when you want to distinguish between "no effect" (evidence for null) vs "insufficient data" (inconclusive).
Required Inputs
- Group A numeric values
- Group B numeric values
- Cauchy prior scale r (e.g. 0.707 medium)
Calculate Bayes Factor (BF₁₀ / BF₀₁), Cauchy prior scaling, and posterior distribution estimates for two-sample mean comparisons.
Run this test live in StatLab npm i @statlab/coreUse when you want to distinguish between "no effect" (evidence for null) vs "insufficient data" (inconclusive).
BF₁₀ = p(Data | H₁) / p(Data | H₀), integrated under Cauchy(0, r) prior.
import pingouin as pg
res = pg.bayesfactor_ttest(t=2.85, nx=30, ny=30, r=0.707)
print(f"BF10 = {res:.4f}")
library(BayesFactor)
ttestBF(x = group_a, y = group_b)
import { bayesFactorT } from '@statlab/core';
const bf = bayesFactorT(groupA, groupB, { r: 0.707 });
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.