cor.arma | R Documentation |
Computes the correlation matrix for the estimated parameters of an Arima model.
cor.arma(mod)
mod |
an Arima object |
A p x p matrix (p, the number of parameters of the ARIMA model)
Yves Aragon
set.seed(4123)
n2 <- 210
yc <- arima.sim(n = 200, list(ar = -0.8, ma= c(-0.3, 0.6)),
sd = sqrt(1.5))
yc <- yc - 10
if(require("forecast")){
fit <- Arima(yc, order = c(1, 0, 2))
cor.arma(fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.