HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulestatistics-0.16.3.0Haskell2010

Statistics.Autocorrelation

Functions for computing autocovariance and autocorrelation of a sample.

  • 2 values
  • Packagestatistics-0.16.3.0
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceAutocorrelation.hs
valueautocorrelation
  1. :: (Vector v Double, Vector v Int)
  2. => v Double
  3. -> (v Double, v Double, v Double)
#

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.