Comparing Group Means using Regression

Any two-valued independent variable can be included in a simple or multiple regression analysis. The regression can be used to compare the means of the two groups . yielding the same conclusion as the equal-variances independent groups t-test. Example: Suppose the performance of two groups trained using different methods is being compared. ................
................