-
Notifications
You must be signed in to change notification settings - Fork 715
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
Plotting variability around line in ft_singleplotER #1558
Comments
Following COBIDAS is a good idea in general. Some implementation challenges I see are that
The 2nd is also what ft_timelockgrandaverage can deal with, especially for averaging over subjects or averaging over conditions within a subject with different numbers of trials I wonder whether singleplot/multiplot should do the computations. When averaging over channels and using the across-channels variance that is unavoidable, since the user interactively selects channels. But when using multiplot, or when you would use singleplot for a single channel, then it would also be a possibility that (besides avg, var and dof) the |
See also ft_multiplotER options
|
Agree, and that would solve lots of other issues as well.
This means effectively:
|
Taking this to its extreme (but logical conclusion), we could generalize
where I'm deliberately making the order of aggregation explicit. (I can imagine other APIs like |
something to aim for: two ERPs, in different conditions, both with a band of uncertainty around it, combined with a grey box in the background that shows the time range in which the difference is significant. Or a single condition ERP (versus zero) with uncertainty and significance/highlight mask. |
In both cases, the variability would be computed for one specific condition, not necessarily in relation to a significance statement about the data. I also can imagine situations in which one would want to see the variability regardless of whether there's something significant to be plotted. So I tend to see these as independent from each other (but maybe you mean what one ultimately should be able to achieve in a figure) |
Yes, I meant that the current "mask" handling (for significance) should stay as is and that the variance should be implemented extra, not as another |
Could be nice, but maybe too much that wouldn't be used? I don't know how much harder it is to implement this than a more simple option... |
The new COBIDAS-MEEG best practices suggest 'If any form of averaging is performed, the variability should also be depicted'.
It would be nice if ft_singleplotER enabled that. There are workarounds to get that in a figure, but if ft_singleplotER would have it implemented, I'm sure it would become more common practice than it is now, so we'd actually practise what the best practices suggest :)
The most common situation I can imagine:
That means there are at least two most convenient ways to go about this:
The text was updated successfully, but these errors were encountered: