Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP #1

Closed
GLShary opened this issue Mar 30, 2021 · 3 comments
Closed

HELP #1

GLShary opened this issue Mar 30, 2021 · 3 comments

Comments

@GLShary
Copy link

GLShary commented Mar 30, 2021

Hello,
Sorry to bother you. I tried to run your program, but the transfer entropy turned out to be negative. According to the definition of transfer entropy, it is mutual information and should be a positive number. Can you explain it for me? Thank you and it will be really nice of you!

@mlhossen
Copy link

Hi @Shania6201, Were you able to calculate the transfer entropy with this PyIF?

@nicrie
Copy link

nicrie commented Dec 10, 2021

I can confirm, I also get negative TE in some cases.

@fishbacp
Copy link

Same here.

@ikegwukc
Copy link
Collaborator

ikegwukc commented Jan 28, 2022

Hello sorry for the delay in response.

For the example in the README the Transfer Entropy estimate will be 0 or negative since there's no information transfer between X and Y. There are both random noise.

In theory, Transfer Entropy (TE ) should be greater than 0, however, in the code, we implement the Kraskov estimator which is skewed downward. So if you end up with a TE estimate that is negative it is likely that there's no information transfer between the two processes.

For a link to understand the estimator we implement, see this paper: https://arxiv.org/abs/cond-mat/0305641

Currently, this code is not being actively maintained or monitored. There may be plans in the near future to work on this.

@lcdm-uiuc lcdm-uiuc locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants