The TREESPLIT Procedure
INPUT and TARGET Statement Syntax
In addition to the syntax that is described in the CLASS and MODEL statement sections, PROC TREESPLIT supports INPUT/TARGET syntax that you might be familiar with from other procedures. The INPUT/TARGET syntax cannot be used together with the CLASS/MODEL syntax.
This syntax requires one TARGET statement and one or more INPUT statements. If you use this syntax, then the PROC TREESPLIT statement, the TARGET statement, and the INPUT statement are required. Depending on the options in those statements, specified variables can be interval or nominal. By default, numeric INPUT variables are treated as interval (or continuous) predictors, and character INPUT variables are treated as nominal (or categorical) predictors.
INPUT Statement
INPUT variables </ option>;
The INPUT statement specifies predictor variables for the decision tree or regression tree. The value of variable can be a range such as "var_1–var_1000" or the special "_ALL_" value to include all variables in the data tables. As with CLASS variables, all nominal INPUT variables are padded or truncated to 32 characters.
You cannot use an INPUT statement with a MODEL or CLASS statement.
You can specify the following option:
TARGET Statement
TARGET variable </ options>;
The TARGET statement names the variable whose values PROC TREESPLIT predicts. Missing values in the target are ignored except during scoring.
You cannot use a TARGET statement with a MODEL or CLASS statement.
You can specify the following option: