StatTimeSerAnalysis.ARMAKappa Method

Overload List

#SignatureDescription
1void ARMAKappa(TVec Data, TVec Phi, TVec Theta, TMtx cov, Int32 KappaSize)Calculate necessary covariances for ARMA(p,q) process up to kappa(KappaSize,KappaSize)
2Double ARMAKappa(TVec gamma, TVec maacvf, Int32 i, Int32 j, TVec Phi, TVec Theta)ARMA process covariances.

Overload 1: void ARMAKappa(TVec Data, TVec Phi, TVec Theta, TMtx cov, Int32 KappaSize)

Calculate necessary covariances for ARMA(p,q) process up to kappa(KappaSize,KappaSize)

#NameTypeDescription
1DataTVecsource TVec
2PhiTVecsource TVec
3ThetaTVecsource TVec
4covTMtxsource TMtx
5KappaSizeInt32

Result: stored in self (calling object)

Overload 2: Double ARMAKappa(TVec gamma, TVec maacvf, Int32 i, Int32 j, TVec Phi, TVec Theta)

ARMA process covariances.

#NameDescription
1gammaTime series ACVF.
2maacvfThe ACVF of a MA part of the model.
3PhiStores Phi values for ARMA process.
4ThetaStores Theta values for ARMA process.
5i
6j

Returns: Double

Remarks:

Calculates ARMA (p,q) process covariances. For ARMA process, covariances are defined as:

κ(i,j)={σ2γx(ij),1i,jmσ2[γx(ij)r=1pϕrγx(rij)],min(i,j)m<max(i,j)2mr=0qθrθrij,min(i,j)>m0,otherwise\kappa (i,j) = \begin{cases} \sigma^{-2} \gamma_x (i-j) \quad , & 1\leq i, j\leq m \\ \sigma^{-2} \left[ \gamma_x(i-j)-\sum_{r=1}^{p} \phi_r \gamma_x(r-|i-j|)\right]\quad , & \min (i,j) \leq m < \max (i,j) \leq 2m \\ \sum_{r=0} ^q \theta_r \theta_{r-|i-j|} \quad , & \min (i,j) > m \\ 0 \quad , & \text{otherwise} \end{cases}

where gamma is time series autocovariance function, sigma^2 is estimated white noise, m=max(p,q) and phi, theta are AR and MA coefficients.

See Also: StatTimeSerAnalysis.ARMAAcf