Description Usage Arguments Details Value Author(s)
A very slow version of fitQ
that was coded independently in
order to check fitQ
. It is identical in every respect to
fitQ
except that it uses a slower algorithm that uses lm
for the model fit.
1 2 |
y |
A numeric vector |
x1 |
The linear predictor of a the regression model, whose length must be odd, and it must be monotonic (increasing or decreasing). |
min.window |
The minimum number of non-missing data points in a window that are required to fit the regression model. |
start |
The index of the center of the first window |
skip |
The number of indexes to advance the center of the moving window each time the model is fit. |
linear.only |
|
This function is for testing and validation only and is not exported.
A matrix with the 4 columns that contain the results of the quadratic model fits:
a |
The estimated intercepts |
b |
The estimated linear coefficients |
c |
The estimated quadratic
coefficients. These are |
d |
The root mean squared error (RMSE) |
Landon Sego
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.