Levene Test Calculator Formula

Understand the math behind the levene test calculator. Each variable explained with a worked example.

Formulas Used

Levene W

w_stat = ((N - k) / (k - 1)) * (ss_between / ss_within)

df1

df1 = k - 1

df2

df2 = N - k

Variables

VariableDescriptionDefault
NTotal N60
kGroups3
ss_betweenBetween SS of deviations15
ss_withinWithin SS of deviations120

How It Works

Levene Test

W = [(N-k)/(k-1)] * [SS_between/SS_within]

Tests equal variances using absolute deviations from group means.

Worked Example

N=60, 3 groups.

N = 60k = 3ss_between = 15ss_within = 120
  1. 01W = (57/2) * (15/120) = 3.56

Ready to run the numbers?

Open Levene Test Calculator