Skip to content
Prev 79038 / 398502 Next

run many linear regressions against the same independent variables in batch

This runs a regression of each column (except the first)
of matrix state.x77 against the first:

lm(state.x77[,-1] ~ state.x77[,1])
On 10/14/05, Heng Sun <HSun at dtcc.com> wrote: