Cross-Validation

Click the Test sample button on the Validation tab to display the Cross-Validation dialog box. This dialog box will also be displayed in the GLM, GRM, GLZ, GDA, PLS, GC&RT and ANOVA modules.

Use this dialog box to specify a variable with a code to identify the observations that are to be included in the parameter estimation computations, i.e., in the fitting of the current model; the Analysis sample is composed of these observations. All observations that do not have the specified code value in the cross-validation variable will be excluded from the computations; however, you can compute predicted values and detailed residual statistics on the Results dialog box. If the excluded observations have valid data values for all predictor variables and dependent variables, the Cross-validation sample is composed of these observations. (Note that the Prediction sample is composed of the observations that have valid data values for all predictor variables but missing data for one or more dependent variables in the current analysis.)

Sample identifier variable
Click this button to display a standard variable selection dialog box. Select the variable containing the code value to determine whether or not an observation belongs to the analysis sample.
Code for analysis sample
Type in the code value (numeric or text) used in the Sample identifier variable to identify observations belonging to the analysis sample in the Code for analysis sample field. Double-click on this field (or press the F2 key on your keyboard) to review all unique code (text) values in the currently selected sample identifier variable.
OK
Click this button to accept the settings in this dialog box.
Cancel
Click this button to close the dialog, ignoring any changes you have made in this dialog box.
Status
Select either On or Off to turn the selection of observations based on the Sample identifier variable on or off.