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

Default MADs threshold in scn_session_spike_id #23

Open
teresabertram opened this issue Mar 20, 2018 · 0 comments
Open

Default MADs threshold in scn_session_spike_id #23

teresabertram opened this issue Mar 20, 2018 · 0 comments

Comments

@teresabertram
Copy link

Dear Canlab group, thank you for this great toolbox! I am using your scn_session_spike_id function and it works very nicely.
However, using the default MADs value of 10, quite many of my volumes are identified as containing spikes (up to 10 % from one session). This made me wonder what your rationale was for setting this default threshold? I first thought that I could simply find the correct threshold by determining the critical chi-square value for a desired probability level and the degrees of freedom. Then I saw that in your function the MADs threshold is not applied directly to the calculated mahalanobis distances in d2 (I guess given the degrees of freedom it would also have to be much higher than 10 in this case anyways) but rather as a cutoff for deviation of these d2 values from a moving average. Can you give a recommendation what criteria to use if one wants to change the default MADs value?

Many thanks in advance!

Teresa

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

1 participant