autocov2MA | R Documentation |
autocov2MA
computes the error variance and the MA polynomial from a
vector of autocovriances.
autocov2MA(x, method = c("roots", "acov"), tol = 1e-05)
x |
a numeric vector with q autocovariances. |
method |
character. Two methods are provided to compute the MA parameters: roots, based on the roots of the autocovariance generating function; acov, based on the non-linear system of equations relating autocovariances and MA parameters. |
tol |
tolerance to check if an autocovariance is null. |
A vector of the form c(s2, 1, -theta1, ..., -thetaq).
ma1 <- um(ma = "1 - 0.8B", sig2 = 0.5)
autocov2MA(autocov(ma1, 1))
autocov2MA(autocov(ma1, 1), "acov")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.