SelectAllPredictors Method


Description

Selects all predictors of a multiple regression (GLM) result for display.

Syntax

objDocument.SelectAllPredictors()

Remarks

Valid only if objDocument is of type FMR or VMR. and a GLM has been run or loaded from disk. Selecting all predictors produces a statistical map which is identical to the overall multiple R value, i.e. the amount of variance explained by the full 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).

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("cg_3DT1_TAL.vmr")
doc.
LoadGLM "cg_objects.glm"
doc.
SelectAllPredictors
doc.
ShowGLM

// JScript
doc = BrainVoyager.
OpenDocument("cg_objects.fmr");
doc.
LoadGLM("cg_objects.glm");
doc.
SelectAllPredictors();
doc.
ShowGLM();

# PerlScript
$doc = $BrainVoyager->
OpenDocument("cg_objects.fmr");
$doc->
LoadGLM("cg_objects.glm");
$doc->
SelectAllPredictors();
$doc->
ShowGLM();