PredMacros.sas defines the principal macros used in the predictive modeling processes ( Discriminant Analysis , K Nearest Neighbor , Distance Scoring , Logistic Regression , Partial Least Squares , Partition Trees , and Radial Basis Machine ), including macros for k-fold cross-validation and genetic algorithm variable selection.