User Tools

Site Tools


vmp.computeformula

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
vmp.computeformula [2010/06/15 05:38]
jochen created
vmp.computeformula [2010/07/04 17:20]
jochen added an example and reference for the GUI (one-sample t-test)
Line 50: Line 50:
 vmp.ComputeFormula(sprintf( ... vmp.ComputeFormula(sprintf( ...
     '​mean($1:​%d,​ 4)', nummatched),​ struct('​mapsel',​ matched));</​code>​     '​mean($1:​%d,​ 4)', nummatched),​ struct('​mapsel',​ matched));</​code>​
 +  * compute an ordinary-least-squares one-sample t-test on a list of 12 selected maps from [[neuroelf_gui|the GUI]]: use formula ''​sqrt(12) .* mean($1:​$12,​ 4) ./ std($1:$12, [], 4)''​
   * compute a robust two-sample t-test depending on a string in a map: <code matlab vmp_computeformula_robusttst.m>​% find indices of two groups   * compute a robust two-sample t-test depending on a string in a map: <code matlab vmp_computeformula_robusttst.m>​% find indices of two groups
 group1 = find(~isemptycell(regexpi(vmp.MapNames,​ '​group1'​)));​ group1 = find(~isemptycell(regexpi(vmp.MapNames,​ '​group1'​)));​
vmp.computeformula.txt ยท Last modified: 2010/10/09 16:17 by jochen