# Statistics - Levene's test (Homogeneity variance test)

A Levene's test is essentially like a t-test but instead of comparing means it's comparing variances.

If the test is significant, the homogeneity variance assumption is violated but we have a significant difference in variances. It's an effect.

## What if homogeneity variance is violated

### Welch's procedure

ie adjusting the degrees of freedom and the p value.

The goal of this procedure is to protect ourselves against this increased probability of type one error that's often associated with violations of homogeneity variance.

Discover More
R - Anova

To compare the gain scores across all groups, use anova First, check the homogeneity of variance assumption:
R - Levene's test

in R Computes Levene's test for homogeneity of variance across groups.
Statistics - independent t-test

A dependent t-test is appropriate when you want to compare two independent samples. (two completely different groups of entities). For examples: if we want to compare one condition to another as men...