What Levene's test is checking

Levene's test checks whether several groups have similar variance by comparing how far each observation sits from its group center.

The classic version centers each group with the mean. Brown-Forsythe swaps the mean for the median, which is usually more robust to outliers.

When the resulting p-value is small, the equal-variance assumption is hard to defend.

How to read the workspace

  • The strip plot shows each raw value and its distance from the chosen center.
  • The MAD bars compare the mean absolute deviation group by group.
  • Use median centering when you expect skew or outliers in the samples.
  • The reported test statistic follows an F(df1,df2)F(df_1, df_2) distribution.