IMSL C# Numerical Library

CrossCorrelation.GetAutoCovarianceX Method 

Returns the autocovariances of the time series x.

public double[] GetAutoCovarianceX();

Return Value

A double array of length maximumLag + 1 containing the variances and autocovariances of the time series x.

Remarks

The 0-th element of the array contains the variance of the time series x. The k-th elements contains the autocovariance of lag k where k = 1, ..., maximumLag.

Exceptions

Exception Type Condition
NonPosVarianceException is thrown if the problem is ill-conditioned.

See Also

CrossCorrelation Class | Imsl.Stat Namespace