Brown-Forsythe Test Calculator

Compare spread across multiple samples with median-based robustness. Review deviations, F statistic, p-value, interpretation, exports, and clear graph outputs instantly.

Calculator

Enter numeric observations using commas, spaces, or new lines.

Example Data Table

Observation Group A Group B Group C
111109
2121110
3121210
4131211
5141211
6151312
7152512

This example shows three groups, with Group B containing an outlier. The test checks whether dispersion differs after centering each group by its median.

Formula Used

The Brown-Forsythe test is a robust variance homogeneity test. It replaces each original observation with its absolute deviation from the group median.

Step 1: For group i and observation j, compute:

Zij = |Xij - Median(Xi)|

Step 2: Run a one-way ANOVA on the transformed values Zij.

Between-group sum of squares:

SSB = Σ ni(Z̄i - Z̄)2

Within-group sum of squares:

SSW = ΣΣ(Zij - Z̄i)2

Mean squares:

MSB = SSB / (k - 1)

MSW = SSW / (N - k)

Test statistic:

F = MSB / MSW

The p-value comes from the F distribution with k - 1 and N - k degrees of freedom.

How to Use This Calculator

  1. Choose how many groups you want to compare.
  2. Enter a group name for each sample.
  3. Paste numeric values into each group box.
  4. Set your significance level, usually 0.05.
  5. Run the test to compute the statistic and p-value.
  6. Review the decision, group summaries, and deviation plot.
  7. Download the CSV file for reporting if needed.
  8. Use the PDF button to print a report view.

Frequently Asked Questions

1. What does the Brown-Forsythe test measure?

It tests whether multiple groups have equal variability. It does this by comparing absolute deviations from each group median, then applying an ANOVA framework.

2. How is it different from Levene’s test?

Levene’s test often uses deviations from the group mean. Brown-Forsythe uses the group median, making it more resistant to outliers and skewed data.

3. When should I use this test?

Use it before comparing group means when you want to assess homogeneity of variance, especially if your samples may contain outliers or non-normal distributions.

4. What is the null hypothesis?

The null hypothesis states that all compared groups have equal variances. A small p-value suggests at least one group differs in spread.

5. How many groups can I analyze here?

This page supports two to six groups in one run. Each group should contain at least two valid numeric observations.

6. Does the test require equal sample sizes?

No. The Brown-Forsythe procedure works with unequal group sizes, although very small groups can reduce statistical reliability and interpretability.

7. What does a significant result mean?

A significant result means the data provide evidence that dispersion is not equal across groups. It does not identify which group differs most by itself.

8. Can I use this with non-normal data?

Yes. That is one reason this method is popular. Median-based centering makes it more robust than mean-based variance tests under skewness and outliers.

Related Calculators