IMSL C# Numerical Library

CrossCorrelation.GetAutoCorrelationX Method 

Returns the autocorrelations of the time series x.

public double[] GetAutoCorrelationX();

Return Value

A double array of length maximumLag + 1 containing the autocorrelations of the time series x.

Remarks

The 0-th element of this array is 1. The k-th element of this array contains the autocorrelation 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