Learn R Programming

mistat (version 2.0.3)

predARMA: Prediction of an AR 3 process

Description

For isslustration purposes this implements the prediction of an ARMA(3, 0) process.

Usage

predARMA(X, a)

Arguments

X

a vector of data X_t.

a

vector p of parameters.

Value

a vector with values from the quadratic predictor.

See Also

ARMA

Examples

Run this code
# NOT RUN {
set.seed(123)
predARMA(ARMA(100,c(0.1, 0.2, 0.3), c(0.1, 0.2)), c(0.1, 0.2, 0.3))
# }

Run the code above in your browser using DataLab