Description Usage Arguments Details Value Examples
View source: R/innovation_prediction.R
Description The innovation prediction use the innovation algorithm to predict the n-th Element after.
1 | innovation_prediction(ts, steps = 1, lag.max = NA)
|
steps |
shows which x will be predicted |
lag.na |
Number of recursions to determined prediction. (The first step's-values are needed to detect prediction) |
Details The first step's-values are needed to detect prediction and the next lag.next values are used to detect the prediction.
@param ts A numeric vector containing a time series or an object of class "arma".
Numeric vector containing the prediction determined by the innovation algorithm.
1 | innovation(arma_sim(theta = c(0.8,-0.3),n = 1000,burnin = 1000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.