Back to the main page.

Bug 2678 - Delete cfg.correcttail from documentation

Status CLOSED FIXED
Reported 2014-08-22 14:58:00 +0200
Modified 2019-08-10 12:28:43 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 minor
Assigned to: Arjen Stolk
URL:
Tags:
Depends on:
Blocks:
See also:

Jens Klinzing - 2014-08-22 14:58:10 +0200

Hello everyone, I just found this site: http://fieldtrip.fcdonders.nl/faq/why_should_i_use_the_cfg.correcttail_option_when_using_statistics_montecarlo which is from 2011. I cannot find the option cfg.correcttail in ft_sourcestatistics or ft_freqstatistics so I guess it is obsolete. If this is the case it should be mentioned in the above site (and all other parts of the docu) or the site should be deleted altogether. All the best, Jens


Robert Oostenveld - 2014-08-22 15:35:29 +0200

it is a specific option for cfg.method=montecarlo, which means that it is implemented in ft_statistics_montecarlo, the actual "work" function that is called by ft_sourcestatistics and ft_freqstatistics etc.


Jens Klinzing - 2014-08-22 15:45:08 +0200

Oh yes, that makes a lot of sense. Sorry for that. However, maybe one should add the line (cfg.correcttail = 'alpha';) in the two source statistics examples at http://fieldtrip.fcdonders.nl/example/source_statistics The statistics there are calculated using cfg.alpha = .05 with cfg.tail = 0 so there is no correction for the two tails done. I can do it, I just don't want to mess around in there without asking.


Arjen Stolk - 2014-11-12 14:27:57 +0100

Thanks for spotting Jens. In order to change the plotting results, I have added a warning/comment to the lines of code. That is: "% note that this only implies single-sided testing"


Arjen Stolk - 2014-11-12 14:28:27 +0100

(In reply to Arjen Stolk from comment #3) ..in order to NOT change..


Robert Oostenveld - 2019-08-10 12:28:43 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.