View source: R/time_series_model.R
| rw | R Documentation |
time_series_model)Constructs a time_series_model for a random walk with innovation
variance sigma2. The autocovariance returned is the mean of the
diagonal and super-diagonals of the covariance matrix.
The model is
X_t = X_{t-1} + \varepsilon_t, \; \varepsilon_t \stackrel{\text{i.i.d.}}{\sim} N(0, \sigma^2).
rw(sigma2 = NULL)
sigma2 |
Innovation variance (> 0). |
A time_series_model object.
mod <- rw(sigma2 = 1)
mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.