FIXME this page is under development. The plan is to move the code of “statistics_stats” to this page and to explain it in more detail.

Using the MATLAB statistics toolbox

Although FieldTrip includes a number of functions for statistical analysis, there are also occasions where it makes a lot of sense to use the MATLAB statistics toolbox. The first part of this example page will explain how to format the FieldTrip data structures into a convenient matrix representation for statistical analysis. The second part will go over some of the statistical tests. The third part will demonstrate how you can reshape the results back into a FieldTrip-compatible format that allows you to easily visualize the statistical results together with the raw data effect.

To check whether you have the statistics toolbox, you can do

ft_hastoolbox('statistics')

This function will return 1 (true) if you have it installed and have a license for it, and 0 (false) if you don't.

Converting FieldTrip data structures for use with the stats toolbox

Timelockanalysis

Freqanalysis

Sourceanalysis

T-test

Paired samples t-test

ANOVA

Kruskal-Wallis

Converting the results of the statistical analysis back into FieldTrip data structures for for visualization

example/statistics_toolbox.txt · Last modified: 2011/05/04 21:49 by robert

You are here: startexamplestatistics_toolbox
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0