public class AutoCorrelationFunction extends Object
| Modifier and Type | Method and Description |
|---|---|
static double[] |
correlation(double[] x,
int maxLag)
Autocorrelation function AFC
complexity: O(n^2), could be optimized to n*log(n) using FFT
http://stackoverflow.com/questions/12239096/computing-autocorrelation-with-fft-using-jtransforms-library
http://dsp.stackexchange.com/questions/3337/finding-peaks-in-an-autocorrelation-function
in python
http://stats.stackexchange.com/questions/85686/how-to-test-for-presence-of-trend-in-time-series
|
static double[] |
covariance(double[] x,
int maxLag) |
public static double[] correlation(double[] x,
int maxLag)
public static double[] covariance(double[] x,
int maxLag)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.