Adds a predictor into set1 of two sets available for display of multiple regression (GLM) results.
objDocument.SelectPredictorInSet1(intPredictorNumber)
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 set1
by calling the method repeatedly. Set1 is the standard set for showing
the explained variance of a subset of the full model, i.e. one or more
predictors. If you want to show contrasts
or the relative contribution
of explained variance between two sets of predictors, you must use the
SelectPredictorInSet2
method in addition to the present method. The set of selected predictors
produces a statistical map which represents the amount of variance explained
by the selected partial model. After selecting the 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).
' 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();