Recursive Least Squares
Compute recursive least squares estimation
RLS(y, x, ist = 30, xpxi = NULL, xpy0 = NULL)
y
: data of dependent variablex
: data matrix of regressorsist
: initial number of data points used to start the estimationxpxi
: Inverse of the X'X matrixxpy0
: Initial value of X'y.beta: Time-varying regression coefficient estimates
resi: The residual series of recursive least squares estimation
Ruey S. Tsay
This function is used internally, but can also be used as a command.
Useful links