statistics-0.5.1.0: A library of statistical types, data, and functionsSource codeContentsIndex
Statistics.Autocorrelation
Portabilityportable
Stabilityexperimental
Maintainerbos@serpentine.com
Description
Functions for computing autocovariance and autocorrelation of a sample.
Synopsis
autocovariance :: Sample -> Vector Double
autocorrelation :: Sample -> (Vector Double, Vector Double, Vector Double)
Documentation
autocovariance :: Sample -> Vector DoubleSource
Compute the autocovariance of a sample, i.e. the covariance of the sample against a shifted version of itself.
autocorrelation :: Sample -> (Vector Double, Vector Double, Vector Double)Source

Compute the autocorrelation function of a sample, and the upper and lower bounds of confidence intervals for each element.

Note: The calculation of the 95% confidence interval assumes a stationary Gaussian process.

Produced by Haddock version 2.4.2