Create a matrix of the outcomes, Y, with one column per outcome, and then just use the formula syntax, YX.

Keywords: regression, lm, linear model.

Last modified 12/20/09.