Constructor to compute the sample autocorrelation function of a stationary time series.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public AutoCorrelation(
	double[] x,
	int maximumLag
)
Visual Basic (Declaration)
Public Sub New ( _
	x As Double(), _
	maximumLag As Integer _
)
Visual C++
public:
AutoCorrelation(
	array<double>^ x, 
	int maximumLag
)

Parameters

x
Type: array< System..::.Double >[]()[]
A one-dimensional double array containing the stationary time series.
maximumLag
Type: System..::.Int32
An int containing the maximum lag of autocovariance, autocorrelations, and standard errors of autocorrelations to be computed.

Remarks

maximumLag must be greater than or equal to 1 and less than the number of observations in x.

See Also