HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulestatistics-0.16.5.0Haskell2010

Statistics.Autocorrelation

Functions for computing autocovariance and autocorrelation of a sample.

  • 2 values
  • Packagestatistics-0.16.5.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.