treder / MVPA-Light

Matlab toolbox for classification and regression of multi-dimensional data
MIT License
70 stars 35 forks source link

Wilcoxon in Level-2 Statistics #10

Closed quentinmoreau closed 4 years ago

quentinmoreau commented 4 years ago

Hello and thank for your great toolbox,

I am having issues in running the mv_statistics within subjects using 'wilcoxon' instead of 'ttest' in cfg.statistics. My data is the output of mv_classify_across_time in several subjects

In the function mv_statistics, the line 522 was commented: % case 'wilcoxon', [~,~,sts] = signrank(cperf);

but even when uncommented, there is an error: SIGNRANK requires vector rather than matrix data.

Any help would be gladly appreciated,

Best QM

treder commented 4 years ago

Hi Quentin, thank you for your feedback. Wilcoxon wasn't properly implemented yet ... it should work now, can you update and try again?

quentinmoreau commented 4 years ago

Dear Matthias, it works great now! thank you for your quick answer and updating !

Best, Quentin