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

minimum number of trials #28

Open
Fatima-h22 opened this issue Jul 20, 2018 · 4 comments
Open

minimum number of trials #28

Fatima-h22 opened this issue Jul 20, 2018 · 4 comments

Comments

@Fatima-h22
Copy link

Fatima-h22 commented Jul 20, 2018

Hi
I have EEG data of 2 groups in rest condition(16 individual in every group) and I'm going to calculate TE by Trentool for these two. I used GroupAnlysis to have comon dimension for all. There is a problem with trial number:
As my data recorded in rest with no task I set cfgTEGP.minnrtrials=1;
but during running the code following warning is appeared:
The number of trials/subjects (1) is too small to allow for a sufficient number
of permutations given the alpha level (0.05) and necessary corrections for multiple comparisons!
and then by investigating the results of "InteractionDelayReconstruction_calculate" I see that
-TEmat_sur and TEmat are completely equal!
-ALL my TE values in TEmat are Negative!!!

I can not understand what is the problem.
any help would be appreciated.
thanks

@mwibral
Copy link
Collaborator

mwibral commented Jul 25, 2018 via email

@Fatima-h22
Copy link
Author

Fatima-h22 commented Jul 25, 2018 via email

@binbin-liu-git
Copy link

hello,
Have you solved the problem of negative TE values? I calculated Transfer Entropy between EMG and EEG signal of an upper limb movement experiment. There are 50 trials for each dataset, and the length of each trail is 1000ms (sampling rate 1000Hz). And all my TE values are also negative and i have no idea how to solve this problem.
Hope to get a reply.
Thank you!

@pwollstadt
Copy link
Collaborator

Hi all, the negative TE values are usually a result of the bias correction inherent to the Kraskov estimator. Have a look at issue 15 where this is dicussed. The FAQ that comes with the JIDT toolbox also provides a nice explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants