When to use it
Use alongside ANOVA F-tests to report variance explained magnitude.
Required Inputs
- Sum of Squares Between (SS_B)
- Sum of Squares Error (SS_E)
- Sum of Squares Total (SS_T)
Calculate Eta-squared (η²), Partial Eta-squared (ηₚ²), and Omega-squared (ω²) effect sizes for one-way and factorial ANOVA models.
Run this test live in StatLab npm i @statlab/coreUse alongside ANOVA F-tests to report variance explained magnitude.
η² = SS_between / SS_total, ηₚ² = SS_between / (SS_between + SS_error), ω² = (SS_B - df_B*MS_E) / (SS_T + MS_E)
def eta_squared(ss_b, ss_t):
return ss_b / ss_t
def partial_eta_squared(ss_b, ss_e):
return ss_b / (ss_b + ss_e)
library(effectsize)
eta_squared(aov_model)
import { etaSquared, partialEtaSquared } from '@statlab/core';
const eta2 = etaSquared(ssB, ssT);
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.