DataObject.IncludeInAnalysis

Prototypes

void IncludeInAnalysis( <boolean bInclude> )

void IncludeInAnalysis( Matrix mObsNumbers <, boolean bInclude> )

Parameters

boolean bInclude
If bInclude is true, the specified observations are included in statistical calculations. If bInclude is false, the specified observations are excluded from statistical calculations. Calling this method without specifying the bInclude parameter is equivalent to calling it with bInclude equal to true.

Matrix mObsNumbers
A vector containing the observation numbers (1-based) of the observations to include/exclude. To specify all the observation numbers in the DataObject, use the predefined constant OBS_ALL.

Remarks

This method includes or excludes specific observations from statistical calculations. If you call this method without specifying the mObsNumbers parameter, it operates on the selected observations.

Example
mData = { 20 165,
          30 170, 
          40 175, 
          50 180, 
          60 170, 
          70 160 }; 
mVarNames = { "Age", "Weight" };
declare DataObject dobj;
dobj = DataObject.Create( "Sample Data", mVarNames, mData, false );
DataTable.Create( dobj ).ActivateWindow();
mObs = { 2 3 };
dobj.IncludeInAnalysis( mObs, false );
See Also

DataObject.IncludeInPlots