FASTKNN Procedure
ID Statement
ID variable;
The ID statement lists one variable to be copied from the input data table to the output data tables that are specified in the OUT= option in the OUTPUT statement and in the OUTDIST= option in the PROC FASTKNN statement. You must specify one variable, which must be numeric. The procedure expects each observation to have a unique value for the ID variable.
Last updated: September 23, 2026