RLS | R Documentation |
Compute recursive least squares estimation
RLS(y, x, ist = 30, xpxi = NULL, xpy0 = NULL)
y |
data of dependent variable |
x |
data matrix of regressors |
ist |
initial number of data points used to start the estimation |
xpxi |
Inverse of the X'X matrix |
xpy0 |
Initial value of X'y. |
beta |
Time-varying regression coefficient estimates |
resi |
The residual series of recursive least squares estimation |
This function is used internally, but can also be used as a command.
Ruey S. Tsay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.