How this calculation works
Welch one-way ANOVA tests equality of independent population means without requiring equal population variances. Each group contributes its sample size, mean and unbiased variance. Means are weighted by n_i/s_i², then an adjustment accounts for uncertainty in those estimated variances. The output includes the corrected F statistic, numerator degrees of freedom k−1, fractional denominator degrees of freedom and an approximate upper-tail p-value.
w_i=n_i/s_i²; combine weighted mean contrasts with the Welch correction and Satterthwaite-type denominator degrees of freedom.A worked example
The default has groups 1,2,4; 3,7,12; and 4,5,7,8. Their means are approximately 2.3333, 7.3333 and 6. Their variances are approximately 2.3333, 20.3333 and 3.3333. The second group therefore receives much less weight than its size alone would suggest. Inspect the relative-weight table before interpreting the omnibus result; it shows how the unequal uncertainty enters the calculation.
Good to know
Supports 3–8 independent groups with 2–100 values each. Every group needs positive sample variance. The F calibration is approximate and relies on an appropriate within-group sampling model; it is not protected against severe outliers or dependence. This page performs no pairwise post-hoc comparisons, multiplicity adjustment, repeated-measures analysis or automatic data transformation.
Reference: SciPy — one-way ANOVA with equal_var=False (opens in a new tab) ↗
Unequal variance changes more than the denominator
Classical one-way ANOVA pools within-group variation into one common estimate. Welch instead uses separate group variances, so a noisy group contributes less to the weighted mean contrast. The denominator degrees of freedom are calculated from the weights and group sizes rather than assumed to equal the total sample size minus the number of groups. Fractional degrees of freedom are an expected feature of the method.
The displayed relative weights sum to one and are easier to compare than raw inverse-variance weights. They describe influence in this test, not proportions of observations or probabilities that a group mean is correct. A group with little observed variation can dominate the result even if it is small. Review the data collection and measurement precision rather than treating a very large weight as automatic evidence of greater scientific importance.
The Welch two sample t test calculator provides the related two-group comparison. This page extends the omnibus mean comparison to three or more independent groups.
An omnibus p-value does not identify a winning group
The null says all supported population means are equal. Evidence against that joint statement does not tell you which pair differs, whether every pair differs, or whether an observed difference is practically important. Pairwise follow-up needs a stated method and multiplicity policy. Retain the group summaries and substantive measurement units alongside the omnibus statistic so that a small p-value does not become the entire interpretation.
Repeated conditions measured on the same subjects are not independent groups. Their covariance structure must be handled by an appropriate repeated-measures or mixed model. For two independent groups, the existing Welch t-test provides the direct two-group workflow. For a rank-based multi-group question, Kruskal–Wallis targets a different hypothesis and should not be presented as numerically interchangeable with Welch ANOVA.
A few questions, answered
May the groups have different sizes?
Yes. Welch weights explicitly include each group size. Every group still needs at least two observations and a positive variance.
Why reject a constant group?
Its inverse-variance weight is undefined. Substituting an arbitrary tiny variance would silently change the test, so this bounded implementation requests a different analysis.