SelectPredictorInSet2 Method


Description

Adds a predictor into set2 of two sets available for display of multiple regression (GLM) results.

Syntax

objDocument.SelectPredictorInSet2(intPredictorNumber)

Remarks

Valid only if objDocument is of type FMR or VMR. and a GLM has been run or loaded from disk. You can put more than one predictor into set2 by calling the method repeatedly. Set2 can only be used in addition to set1 in order to show contrasts between two sets of predictors or to show the relative contribution of the combined variance explained by the two sets of predictors. After selecting predictors, call the ShowGLM method to visualize the resulting statistical map.
The generated statistical map is internally stored in a VMP (volume map) data set which you can save to disk (currently only interactively using the Analysis->Overlay maps->Save 3D Map... menu item).

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("cg_3DT1_TAL.vmr")
doc.
LoadGLM "cg_objects.glm"
doc.
SelectPredictorInSet1 1
doc.
ShowGLM
doc.
DeselectAllPredictors
doc.
SelectPredictorInSet1 2
doc.
ShowGLM

// JScript
doc = BrainVoyager.
OpenDocument("cg_objects.fmr");
doc.
LoadGLM("cg_objects.glm");
doc.
SelectPredictorInSet1(1);
doc.
ShowGLM();
doc.
DeselectAllPredictors();
doc.
SelectPredictorInSet1(2);
doc.
ShowGLM();

# PerlScript
$doc = $BrainVoyager->
OpenDocument("cg_objects.fmr");
$doc->
LoadGLM("cg_objects.glm");
$doc->
SelectPredictorInSet1(1);
$doc->
ShowGLM();
$doc->
DeselectAllPredictors();
$doc->
SelectPredictorInSet1(2);
$doc->
ShowGLM();