Dear Contributors/community,
I noticed an unwanted behavior (as I would name it) when trying to apply the te_compute function for the following case:
Assume X is some random time series. Then define Y as being np.roll(X,-1), meaning that Y would actually contain information about X one step before, so the function te_compute(X,Y, embedding=1) computes transfer entropy and it’s pretty high which is expected.
Now, of we compute te_compute(X,Y,embedding=2) it still sees that there is a transfer of information from Y to X.
But, if I define Y to be np.roll(X,-2), then te_compute(X,Y,embedding=2) doesn’t see the information transfer which is reflected in the output value being close to 0 or even negative.
Does somebody know where the problem might be?