When to use it
Use when testing two categorical independent variables simultaneously to check for main and interaction effects.
Required Inputs
- Factor A levels
- Factor B levels
- Outcome numeric values
- Alpha level
Analyze main effects of two independent factors and their interaction effect on a continuous outcome variable, including F-statistics, partial Eta-squared (ηₚ²), and interaction plots.
Run this test live in StatLab npm i @statlab/coreUse when testing two categorical independent variables simultaneously to check for main and interaction effects.
SS_total = SS_A + SS_B + SS_AB + SS_error, F_A = MS_A / MS_error, F_AB = MS_AB / MS_error
import statsmodels.api as sm
from statsmodels.formula.api import ols
model = ols('latency ~ C(cache) * C(region)', data=df).fit()
anova_table = sm.stats.anova_lm(model, typ=2)
res <- aov(latency ~ cache * region, data = df)
summary(res)
import { anovaTwoWay } from '@statlab/core';
const result = anovaTwoWay(data, 'cache', 'region', 'latency');
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.