{"action":"created","issue":{"url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/15","labels_url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/15/comments","events_url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/15/events","html_url":"https://github.com/trentool/TRENTOOL3/issues/15","id":104247349,"number":15,"title":"negative transfer entropy?","user":{"login":"brekels","id":14072806,"avatar_url":"https://avatars.githubusercontent.com/u/14072806?v=3","gravatar_id":"","url":"https://api.github.com/users/brekels","html_url":"https://github.com/brekels","followers_url":"https://api.github.com/users/brekels/followers","following_url":"https://api.github.com/users/brekels/following{/other_user}","gists_url":"https://api.github.com/users/brekels/gists{/gist_id}","starred_url":"https://api.github.com/users/brekels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brekels/subscriptions","organizations_url":"https://api.github.com/users/brekels/orgs","repos_url":"https://api.github.com/users/brekels/repos","events_url":"https://api.github.com/users/brekels/events{/privacy}","received_events_url":"https://api.github.com/users/brekels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-01T11:41:40Z","updated_at":"2015-09-01T11:50:43Z","closed_at":null,"body":"Hello, \r\nI am doing a project analysing pairs of EEG and EMG channels to measure flow from brain activity to facial movements.   However, when I run the TRENTOOL pipeline (either in ensemble or regular mode), I get many negative values for transfer entropy, which translate to NaNs for mutual information.  Do you know off-hand how this could be?\r\n\r\nCan post more details as necessary, but I have 384 data points per trial (1.5s @ 256 Hz), EEG filtered 1-30 Hz, EMG 20-40 Hz, so I've set ACT threshold to 8 or 10 with maxlag of 128. Using VW_ds, Ragwitz criterion, and Faes method (mostly just working off the example script).\r\n\r\nAny help would be much appreciated.  Thanks!"},"comment":{"url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/comments/136686057","html_url":"https://github.com/trentool/TRENTOOL3/issues/15#issuecomment-136686057","issue_url":"https://api.github.com/repos/trentool/TRENTOOL3/issues/15","id":136686057,"user":{"login":"trentool","id":11558077,"avatar_url":"https://avatars.githubusercontent.com/u/11558077?v=3","gravatar_id":"","url":"https://api.github.com/users/trentool","html_url":"https://github.com/trentool","followers_url":"https://api.github.com/users/trentool/followers","following_url":"https://api.github.com/users/trentool/following{/other_user}","gists_url":"https://api.github.com/users/trentool/gists{/gist_id}","starred_url":"https://api.github.com/users/trentool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentool/subscriptions","organizations_url":"https://api.github.com/users/trentool/orgs","repos_url":"https://api.github.com/users/trentool/repos","events_url":"https://api.github.com/users/trentool/events{/privacy}","received_events_url":"https://api.github.com/users/trentool/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T11:50:43Z","updated_at":"2015-09-01T11:50:43Z","body":"@brekels Negative TE values are due to the estimator used (See the [paper](http://journals.aps.org/pre/abstract/10.1103/PhysRevE.69.066138) and [dissertation](http://juser.fz-juelich.de/record/43165/files/NIC207601.pdf) by Kraskov). You can't interpret the TE values obtained from this estimator at face value. TRENTOOL therefore implements permutation testing to check if estimated TE values are statistically significant. So the important information returned by the toolbox is, if *is* information transfer between two sources.\r\n\r\nI hope this helps, just let me know if anything is unclear,\r\n\r\nBest, Patricia"}}