User Tools

Site Tools


vmp.computeformula

Differences

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

Link to this comparison view

Next revision
Previous revision
vmp.computeformula [2010/06/15 05:38]
jochen created
vmp.computeformula [2010/10/09 16:17] (current)
jochen changed the help accordingly...
Line 5: Line 5:
  
 ===== Method reference ('​vmp.Help('​ComputeFormula'​)'​) ===== ===== Method reference ('​vmp.Help('​ComputeFormula'​)'​) =====
-<​file>​ VMP::AddConjunctionMap ​ - add a conjunction map to a VMP+<​file>​ VMP::ComputeFormula ​ - add a conjunction map to a VMP
    
  ​FORMAT: ​      [vmp] = vmp.ComputeFormula(formula [, opts])  ​FORMAT: ​      [vmp] = vmp.ComputeFormula(formula [, opts])
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.1276573080.txt.gz ยท Last modified: 2010/06/15 05:38 by jochen