Abstract: | Using dummy variables, this note offers a convenient illustration to demonstrate that regression can replace both the one‐factor analysis of variance and the two‐population t test with independent random samples. The exercise also helps to develop students’ intuition regarding regression coefficients. |