[R] regression for several responses

About this list Date view Thread view Subject view Author view Attachment view

From: Martin Wegmann (baliola@riseup.net)
Date: Sat 28 Jun 2003 - 06:21:30 EST


Message-id: <200306272021.30047.baliola@riseup.net>

hello,

I only want to get the slope of a linear regression of ca. 100 variables
against time.

I can do for each response (100 times)
var1.lm <- lm(response~predictor)

but I thought that there might be an easier way of doing this. If I am
including more variables it is doing a multiple regression and the output
(slope) differs.
 
any idea?

thanks Martin

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST