> 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
> "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
-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
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