Skip to content

Algorithm doesn’t capture Transfer Entropy when the lag is strictly above 1 #7

@HaskDev0

Description

@HaskDev0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions