dear R community: i have been looking but failed to find the
following: is there a function in R that updates a plain OLS lm()
model with one additional observation, so that I can write a function
that computes recursive residuals *quickly*?
PS: (I looked at package strucchange, but if I am
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: