Description Usage Arguments Value Details See Also Examples
View source: R/SM_SARMA_UserFunctions.R
Parametric Estimation of an SARMA(p, q)-process on a lattice.
1 2 3 |
Y |
A numeric matrix that contains the demeaned observations of the random field or functional time-series. |
method |
Method used for estimation of the parameters. One of |
model_order |
A list containing the orders of the SARMA model in the
form |
The function returns an object of class "sarma"
including
Y | The matrix of observations, inherited from input. |
innov The estimated innovations. |
|
model | The estimated model consisting of the coefficient
matrices ar and ma and standard deviation of innovations
sigma . |
stnry | An logical variable indicating whether the estimated model is stationary. |
The MA- and AR-parameters of a top-left quadrant ARMA process are estimated by the specified method. The lag-orders of the SARMA(p, q) are given by p = (p1, p2), q = (q1, q2), where p1, q1 are the lags over the rows and p2, q2 are the lags over the columns. The estimation process is based on the model
φ(B1 B2) X[i,j] = θ(B1 B2)u[i,j]
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # See vignette("DCSmooth") for examples and explanation
## simulation of SARMA process
ma <- matrix(c(1, 0.2, 0.4, 0.1), nrow = 2, ncol = 2)
ar <- matrix(c(1, 0.5, -0.1, 0.1), nrow = 2, ncol = 2)
sigma <- 0.5
sarma_model <- list(ar = ar, ma = ma, sigma = sigma)
sarma_simulated <- sarma.sim(100, 100, model = sarma_model)
sarma_simulated$model
## estimation of SARMA process
sarma.est(sarma_simulated$Y)$model
sarma.est(sarma_simulated$Y,
model_order = list(ar = c(1, 1), ma = c(1, 1)))$model
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.