When to use it
Use to increase statistical power by controlling for baseline covariate variation.
Required Inputs
- Group factor
- Outcome Y
- Continuous Baseline Covariate X
- Alpha level
Evaluate treatment group differences on a continuous outcome while statistically adjusting for a baseline continuous covariate.
Run this test live in StatLab npm i @statlab/coreUse to increase statistical power by controlling for baseline covariate variation.
Y = β₀ + β₁X_covariate + β₂Group + ε
import statsmodels.api as sm
from statsmodels.formula.api import ols
model = ols('post_val ~ baseline_val + C(group)', data=df).fit()
res <- aov(post_val ~ baseline_val + group, data = df)
summary(res)
import { ancova } from '@statlab/core';
const res = ancova(df, 'post_val', 'baseline_val', 'group');
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.