The t-test is a type of inference statistic used to determine if there is a significant difference between the means of two groups that may be related to a particular characteristic. The t-test is one of many tests used to test statistical hypotheses.
Inference statistics have two main purposes. Estimates for population groups (for example, the average SAT score for all 11th graders in the United States). Hypothesis testing to draw inferences about the population
One-way ANOVA is a common method for comparing three or more group means. The usual goal is to determine if the mean (or median) of at least one group is different from the other. Subsequent multiple comparison tests are often used to determine where differences occur.