Which statistical test is used to compare group means in a sample?

(A) Correlation
(B) Regression
(C) Covariance
(D) ANOVA

The answer is: (D) ANOVA (Analysis of variance)