public class AutoCovariance extends AutoCovarianceFunction
This implementation solves the Yule-Walker equation.
The R equivalent function are ARMAacf and TacvfAR in package FitAR.
Function.EvaluationException| Modifier and Type | Field and Description |
|---|---|
int |
nLags
the number of lags in the result
|
| Constructor and Description |
|---|
AutoCovariance(ARIMAModel model,
int nLags)
Compute the auto-covariance function of a vector ARMA model.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
evaluate(double i)
Get the i-th auto-covariance matrix.
|
Matrix |
evaluate(double x1,
double x2)
Evaluate f(x1, x2) = A.
|
getdimensionOfDomain, dimensionOfRange, evaluatepublic AutoCovariance(ARIMAModel model, int nLags)
To solve Eq. 11.3.15, we "expand" the (p+1) matrix equations into (p+1)*m*m linear equations. m is the dimension of Gamma (ACVF).
model - an ARIMA specificationnLags - the number of lags in the resultpublic Matrix evaluate(double x1, double x2)
R2toMatrixevaluate in class R2toMatrixx1 - x1x2 - x2f(x1, x2)public Matrix evaluate(double i)
i - the lag