Description Usage Arguments Value Author(s) Examples
A moving average smoother is a sequence which replaces X_t by a fitted polynomial based on the window of size n = 2m + s around X_t. The simplest smoother is the linear one.
1 | masPred1(x, m, s)
|
x |
a vector of data X_t. |
m |
the m to define the window size. |
s |
the s to define the window size. |
a vector with values form the linear smoother predictor.
Shelemyahu Zacks
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.