Learn R Programming

quantreg (version 5.98)

lm.fit.recursive: Recursive Least Squares

Description

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

Usage

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

Value

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

Arguments

X

Design Matrix

y

Response Variable

int

if TRUE then append intercept to X

Author

R. Koenker

References

A. Harvey, (1993) Time Series Models, MIT