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

WARNING and replication parameter in idtxl #100

Closed
peanutnim opened this issue May 27, 2023 · 2 comments
Closed

WARNING and replication parameter in idtxl #100

peanutnim opened this issue May 27, 2023 · 2 comments

Comments

@peanutnim
Copy link

Dear idtxl Team,
Hi,I‘m a student utilizing idtxl for analyzing my research data.I have converted my data into a two-dimensional numpy array, and I am unsure how to incorporate the concept of replication in this context. Therefore, I am uncertain about the appropriate way to add replication.
During my analysis, I encountered the following warning message and would appreciate your assistance in understanding its meaning and addressing related concerns:

WARNING: Number of replications is not sufficient to generate the desired number of surrogates. Permuting samples in time instead.
maximum statistic, n_perm: 200

Could you please provide clarification regarding the meaning and implications of this warning message? What does it indicate when the number of replications is considered insufficient? How does idtxl handle this situation by permuting samples in time?

Additionally, I have been searching for documentation or information pertaining to the replication parameter in idtxl, but have been unable to find any specific details. Could you kindly provide information on how to set and adjust the replication parameter? What is the default value, and how does it impact the analysis?

After encountering the aforementioned warning message, does idtxl automatically adjust any settings or parameters? If so, could you please explain the automatic adjustments that occur after encountering this warning?

I am grateful for your time and support in addressing these concerns. As a student utilizing idtxl, your guidance would greatly contribute to my research analysis. Thank you for your dedication in developing and maintaining the idtxl.

Best regards,
Bernadetta Pitkin

@pwollstadt
Copy link
Owner

Hi Bernadette, The warning is not a problem, it just means IDTxl will generate the necessary surrogates not by permuting replications (the default), but permuting samples in time.

The number of replications is a property of your data. IDTxl accepts 3D data formats, where one dimension are the processes, one dimension are the samples in time, and one dimension are potential replications of your observation. For example, in an experimental setup, you may repeat the same experiment multiple times and each time collect a number of samples from the same sensors. That would give you such a 3D structure. If you don't have replications in your use case, this is not a problem. You just have to take care that you are providing enough samples for estimation (usually a few Thousand is great).

@mwibral
Copy link
Collaborator

mwibral commented Jun 5, 2023 via email

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

3 participants