GLM, GLZ, GRM, PLS, GDA, and MANOVA Syntax - Keyword Sample

SAMPLE = Variable (Value);

Example
SAMPLE = CROSSVAL(1);

Optional keyword; specify a categorical variable and a (code) value to identify observations that should be included in the computations for fitting the model (the analysis sample); all other observations with valid data for all predictor variables and dependent variables will automatically be classified as belonging to the validation sample (see the GLM Results - Residuals tab for a description of the available residual statistics for observations in the validation sample); note that all observations with valid data for all predictor variables but missing data for the dependent variables will automatically be classified as belonging to the prediction sample (see the GLM Results - Residuals tab for a description of available statistics for the prediction sample).

Applies to. GLM, GLZ, GRM, PLS, GDA and ANOVA/MANOVA