How to use this calculator
Compare independent group means without imposing a common within-group variance.
- Enter Observations, Matching integer group labels. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Welch unequal variance ANOVA explained
Enter each measured value with an integer group label; observations with the same label form one independent group. Welch’s correction allows group variances to differ, so the denominator degrees of freedom can be fractional.
A numerical walkthrough
Observations = 1, 2, 3, 4, 5, 6, 7, 8, 10; Matching integer group labels = 1, 1, 1, 2, 2, 2, 3, 3, 3.
- Welch F: 16.32200886
- Numerator df: 2
- Denominator df: 3.89225589
- Approximate p-value: 0.01280401
The last group has a different sample variance, so its contribution differs from the equal-variance one-way ANOVA. The checked Welch F is 16.3220088626.
The model behind the numbers
Inverse-variance weighted ANOVA with Welch df
Each group weight is its sample size divided by sample variance. Use the weighted grand mean, then apply the Welch dispersion correction and Satterthwaite denominator degrees of freedom.
What to enter
x— Observations- Observations. Use comma-separated values in the stated order.
g— Matching integer group labels- Matching integer group labels. Use comma-separated values in the stated order.
Interpreting the result
Each group needs at least two observations and positive sample variance; the reference F distribution is approximate.
Frequently asked questions
Are groups weighted equally?
No, weights are n divided by sample variance.
Does unequal variance mean no assumptions?
No, independence and an appropriate mean model still matter.
Are degrees of freedom integers?
The denominator Welch degrees of freedom are usually fractional.
How do I use the Welch unequal variance ANOVA calculator?
Enter Observations, Matching integer group labels. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Welch unequal variance ANOVA?
Observations = 1, 2, 3, 4, 5, 6, 7, 8, 10; Matching integer group labels = 1, 1, 1, 2, 2, 2, 3, 3, 3. Welch F: 16.32200886 Numerator df: 2 Denominator df: 3.89225589 Approximate p-value: 0.01280401 The last group has a different sample variance, so its contribution differs from the equal-variance one-way ANOVA. The checked Welch F is 16.3220088626.
Method reference: SciPy f_oneway definition.
Read our calculation methodology.