BART Procedure
The SAMPSUMMARY statement creates a data table that contains a summary of the sum-of-trees ensemble samples.
You must specify the following option:
-
OUT=libref.data-table
-
names the output data table for PROC BART to use. You must specify this option before any other options. libref.data-table is a two-level name, where
- libref
refers to a collection of information that is defined in the LIBNAME statement and includes the library, which includes a path to where the data table is to be stored. For more information about libref, see the section Using SAS Viya Workbench.
- data-table
specifies the name of the output data table.
You can also specify the following keywords:
-
AVGNODE<=name>
names the variable that contains the average number of nodes per tree in the sample. The default name is AvgNode.
-
PROPACCEPTED<=name>
names the variable that contains the proportion of accepted tree modifications for the sample. The default name is PropAccepted.
-
SAMPSAVED<=name>
names the variable that contains an indicator for whether the sample is saved for prediction. The default name is SampSaved.
-
VARIANCE<=name>
names the variable that contains the sampled variance for the normal response model. The default name is Variance.
Last updated: May 14, 2026