RE: [R] regression on a matrix

2005-03-04 Thread Liaw, Andy
> From: Martin Maechler > > > "ReidH" == Huntsinger, Reid <[EMAIL PROTECTED]> > > on Thu, 3 Mar 2005 17:24:22 -0500 writes: > > ReidH> You might use lsfit instead and just do the whole Y > ReidH> matrix at once. That saves all the recalculation of > ReidH> things involving

RE: [R] regression on a matrix

2005-03-04 Thread Martin Maechler
> "ReidH" == Huntsinger, Reid <[EMAIL PROTECTED]> > on Thu, 3 Mar 2005 17:24:22 -0500 writes: ReidH> You might use lsfit instead and just do the whole Y ReidH> matrix at once. That saves all the recalculation of ReidH> things involving only X. yes, but in these cases, we

RE: [R] regression on a matrix

2005-03-03 Thread Huntsinger, Reid
-help@stat.math.ethz.ch Subject: [R] regression on a matrix Hi - I am doing a monte carlo experiment that requires to do a linear regression of a matrix of vectors of dependent variables on a fixed set of covariates (one regression per vector). I am wondering if anyone has any idea of how to

[R] regression on a matrix

2005-03-03 Thread Eduardo Leoni
Hi - I am doing a monte carlo experiment that requires to do a linear regression of a matrix of vectors of dependent variables on a fixed set of covariates (one regression per vector). I am wondering if anyone has any idea of how to speed up the computations in R. The code follows: #regression