Analysis of covariance (ANCOVA) is a statistical test that assesses whether the means of a dependent variable are equal across levels of a categorical independent variable while statistically controlling for the effects of other continuous variables known as covariates. ANCOVA works by adjusting the sums of squares for the independent variable to remove the influence of the covariate. This allows ANCOVA to test for differences between groups while controlling for the influence of other continuous variables. The assumptions of ANCOVA include those of ANOVA as well as the assumptions that the relationship between the dependent variable and covariate is linear and the same across all groups.