Statistics
AutoCorrelation
compute sample autocorrelations of a real Vector
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
AutoCorrelation(X)
AutoCorrelation(X, lags)
X
-
discrete univariate real time series given as a Vector, list, DataSeries object, Matrix with one column, DataFrame with one column, or TimeSeries object with one dataset.
lags
(optional) maximal lag to return, or a range of lags to return. By default all possible lags are returned.
scaling
One of biased, unbiased, or none. Default is none. scaling=biased computes . scaling=unbiased scales each by .
raw
If this option is given, the output is not normalized so that the first entry is 1 when scaling=unbiased or scaling=none.
For a discrete time series X, the AutoCorrelation command computes the autocorrelations where for and is the mean of X.
For efficiency, all of the lags are computed at once using a numerical discrete Fourier transform. Therefore all data provided must have type realcons and all returned solutions are floating-point, even if the problem is specified with exact values.
Note: AutoCorrelation makes use of DiscreteTransforms[FourierTransform] and thus will work strictly in hardware precision, that is, its accuracy is independent of the setting of Digits.
For more time series related commands, see the TimeSeriesAnalysis package.
Autocorrelation can be used to create correlograms which are useful for detecting periodicity in signals.
Periodicity in a time series can be observed with Autocorrelation.
The Statistics[AutoCorrelation] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
The Statistics[AutoCorrelation] command was updated in Maple 2015.
The X parameter was updated in Maple 2015.
See Also
ColumnGraph
Statistics[Correlogram]
Statistics[CrossCorrelation]
TimeSeriesAnalysis
Download Help Document