The F-test compares two variances for equality; it is sensitive to non-normality, so prefer Levene's test when the data have heavy tails.
Under H₀: σ₁ = σ₂, the ratio s₁² / s₂² follows F(n₁−1, n₂−1). It's the textbook test for variance equality but inherits a notorious sensitivity to non-normality — heavy-tailed data inflate the type-I rate substantially.
Levene's test (mean-deviation ANOVA) and Brown-Forsythe (median-deviation) are much more robust to non-normality and are the standard pre-tests for choosing classical vs Welch ANOVA. Use the F-test only when normality is solid.
Two numeric columns; optional null variance ratio.
F statistic + num/denom df + p + CI on the variance ratio.
CI on variance ratio not crossing 1 ⇒ variances differ. With non-normal data, Levene or Brown-Forsythe give more reliable p-values.