What is missing from this comparison of the two groups?

^{3}

# Comparing Several Groups Using Regression

The connection between the pooled two-sample `t`-test and simple regression hints that we can use multiple regression to compare the means of several groups. Simply add more dummy variables.

For the wheat trials, define dummy variables for the other varieties:

Get *Statistics for Business: Decision Making and Analysis, 3rd Edition* now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.