Back to the main page.

Bug 2360 - allow ft_statistics_stats to output t-values for all cases when t-test is used

Reported 2013-11-02 12:26:00 +0100
Modified 2015-07-15 13:30:49 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Jim Herring
Depends on:
See also:

Jim Herring - 2013-11-02 12:26:54 +0100

ft_statistics_stats now only outputs t-values when doing a two-samples t-test. Til asked if we could have the function produce t-statistics also in case other t-tests are used. I will update the function accordingly. Perhaps we can also have the other statistical tests called by this function output their test statistics (e.g. kruskalwallis)

Robert Oostenveld - 2013-11-02 13:47:11 +0100

I think the reason for it being limited as it is, is that other statistics may output multiple fields which are not al easily reshaped into a consistent representation. But where possible, I fully agree in increasing the output of the function. Please pay attention to using the correct dimord.

Jim Herring - 2014-01-29 13:37:52 +0100

Where possible I've allowed ft_statistics_stat to output the test statistic value. I've also removed some instances where the variable ci was preallocated but not used. Sending ft_statistics_stats.m Transmitting file data . Committed revision 9139.