IMSL C# Numerical Library

CrossCorrelation Constructor 

Constructor to compute the sample cross-correlation function of two stationary time series.

public CrossCorrelation(
   double[] x,
   double[] y,
   int maximumLag
);

Parameters

x
A one-dimensional double array containing the first stationary time series.
y
A one-dimensional double array containing the second stationary time series.
maximumLag
An int containing the maximum lag of the cross-covariance and cross-correlations to be computed.

Remarks

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

See Also

CrossCorrelation Class | Imsl.Stat Namespace