The Box-Pierce test for determining if the data is independently distributed.
Parameters : | x : 1d numpy array
lags : int
|
---|---|
Returns : | Q : float
|
The Ljung-Box test for determining if the data is independently distributed.
Parameters : | x : 1d numpy array
lags : list of ints
alpha : float
method : string
|
---|---|
Returns : | h : np array
pV : np array
Q : np array
cV : np array
|
The Ljung-Box test for determining if the data is independently distributed.
Parameters : | x : 1d numpy array
lags : int
|
---|---|
Returns : | Q : float
|
Sample autocorrelation (As used in statistics with normalization)
http://en.wikipedia.org/wiki/Autocorrelation
Parameters : | x : 1d numpy array
k : int or list of ints
|
---|---|
Returns : | res : scalar or np array
|