1. Home
  2. BRFDISPLAY procedure

BRFDISPLAY procedure

Displays information about a random regression forest (R.W. Payne).

Option

PRINT = string tokens Controls printed output (outofbagerror, youtofbagestimates, importance orderedimportance); default * i.e. none

Parameter

SAVE = pointers Save structure from BRFOREST providing information about the random forest

Description

BRFDISPLAY displays information about a random regression forest, constructed by the BRFOREST procedure. The SAVE parameter can be set to a pointer, saved using the SAVE option of BRFOREST, containing the necessary information about the forest. Alternatively, if you do not set SAVE, information will be printed about the forest most recently constructed by BRFOREST.

The output is controlled by the PRINT option, with settings:

    outofbagerror out-of-bag error rate,
    youtofbagestimates out-of-bag predictions of the y-values,
    importance importance ratings of the X variates and factors, and
    orderedimportance importance ratings of the X variates and factors in decreasing order.

The default is PRINT=* i.e. no printing

Option: PRINT.

Parameter: SAVE.

See also

Procedures: BRFOREST, BRFPREDICT.

Commands for: Regression analysis, Multivariate and cluster analysis.

Example

CAPTION    'BRFDISPLAY example'; STYLE=meta
SPLOAD     [PRINT=*] '%gendir%/data/water.gsh'
BRFOREST   [PRINT=*; Y=Water; NTREES=8; NXTRY=3; NUNITSTRY=10; SEED=185090;\
           SAVE=Forest] Employ,Opdays,Product,Temp
BRFDISPLAY [PRINT=outofbagerror,youtofbagestimates,importance] Forest
Updated on March 8, 2019

Was this article helpful?