TREESPLIT Procedure

MODEL Statement

  • MODEL response = variable;

The MODEL statement causes PROC TREESPLIT to create a tree model by using response as the response variable and one or more variables as predictors. By default, variables are treated as a continuous predictors if they are numeric variables, or as categorical variables if they also appear in a CLASS statement.

Note: Specifying a character variable in a MODEL statement without previously declaring it in a CLASS statement results in an error.

Last updated: June 22, 2026