Returns the variance and autocovariances of the time series x.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public double[] GetAutoCovariances() |
Visual Basic (Declaration) |
---|
Public Function GetAutoCovariances As Double() |
Visual C++ |
---|
public: array<double>^ GetAutoCovariances() |
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 element contains the
autocovariance of lag k where k = 1, ..., maximumLag.
Exceptions
Exception | Condition |
---|---|
Imsl.Stat..::.NonPosVarianceException | is thrown if the problem is ill-conditioned. |