Skip to content
Prev 55733 / 398500 Next

adding observations to lm for fast recursive residuals?

In my quantreg package there is a function called lm.fit.recursive() 
that, as the .Rd file
says:

Description:

      This function fits a linear model by recursive least squares.  It
      is a utility routine for the 'khmaladzize' function of the
      quantile regression package.

Usage:

      lm.fit.recursive(X, y, int=TRUE)

Arguments:

        X: Design Matrix

        y: Response Variable

      int: if TRUE then append intercept to X

Value:

      return p by n matrix of fitted parameters, where p. The ith column
      gives the solution up to "time" i.

It is written in fortran so it should be reasonably quick.

HTH

url:	www.econ.uiuc.edu/~roger        	Roger Koenker
email	rkoenker at uiuc.edu			Department of Economics
vox: 	217-333-4558				University of Illinois
fax:   	217-244-6678				Champaign, IL 61820
On Sep 15, 2004, at 9:53 AM, <ivo_welch-rstat8783 at mailblocks.com> wrote: