Sxx Variance Formula -

Now, calculate the squared deviations:

Sxx = Σ(xi - x̄)²

First, calculate the mean:

s² = (1/(n-1)) * Σ(xi - x̄)²

s² = Sxx / (n-1)