TimeSeriesFunctions.GetAutocorrelationFunctionInfo Method

Returns a data frame containing information about the auto-correlation function of a series, optionally including confidence intervals and Ljung-Box Q statistics and p-values.

Definition

Namespace: Extreme.Statistics.TimeSeriesAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static DataFrame<long, string> GetAutocorrelationFunctionInfo(
	this Vector<double> variable,
	int order = 40,
	bool confidenceIntervals = true,
	double confidenceLevel = 0.95,
	bool ljungBoxQ = false
)

Parameters

variable  Vector<Double>
A vector containing the time series to analyze.
order  Int32  (Optional)
The highest order of the auto-correlation function to return.
confidenceIntervals  Boolean  (Optional)
Specifies whether confidence intervals are returned as the 2nd and 3rd columns.
confidenceLevel  Double  (Optional)
If confidenceIntervals is true, the confidence level.
ljungBoxQ  Boolean  (Optional)
Specifies whether Ljung-Box Q statistics and associated p-values are returned in the last two columns.

Return Value

DataFrame<Int64, String>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

ArgumentNullExceptionvariable is null.
ArgumentOutOfRangeExceptionorder is less than one or greater than the length of variable.

See Also