A look at the relationship between the pooled-variance t test and simple linear regression. I illustrate how the pooled-variance t test can be done as a regression, by declaring an appropriate indicator variable.
The Cairo traffic police officer data is simulated data with the same summary statistics as found in:
Kamal, A., Eldamaty, S., and Faris, R. (1991). Blood level of Cairo traffic policemen. Science of the Total Environment, 105:165Ð170.