OPTBINNING Procedure
PROC OPTBINNING Statement
PROC OPTBINNING <options>;
The PROC OPTBINNING statement invokes the procedure.
You can specify the following options:
- ADJUSTFACTOR=number
specifies the adjustment factor for WOE. Its range is [0, 10]. By default, ADJUSTFACTOR = 0.5.
- DATA=libref.data-table
-
names the input data table for PROC OPTBINNING to use. The default is the most recently created data table. 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 the data, and a session identifier, which defaults to the active session but which can be explicitly defined in the LIBNAME statement. For more information about libref, see the section Using CAS Sessions and CAS Engine Librefs.- data-table
specifies the name of the input data table.
- LOGLEVEL=0|1
-
controls the amount of information for the SAS log to display. You can specify the following values:
- 0
turns of the display.
- 1
displays the log.
LOGLEVEL=0 will turn off all solver-related messages in SAS log. LOGLEVEL=1 will display solver-related messages, including the warnings and errors. By default, LOGLEVEL = 1.
- MAXTIME=number
specifies an upper limit of number of seconds of run time. By default, MAXTIME = 100.
- OUTPUT=libref.data-table
names the output data table. It is optional. When you specify PRINTLEVEL=2, the ODS table Output is displayed. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the output data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs.
- PARAM=libref.data-table
names the parameter input data table. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the input data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs.
- PRINTLEVEL=number
specifies the ODS table display level. Its range is [0, 2]. When the value is positive, it displays the summary of the output tables. When PRINTLEVEL=2, it displays the OUTPUT and STATUS ODS tables. By default, PRINTLEVEL = 1.
- STATUS=libref.data-table
names the status output data table. It is optional. When you specify PRINTLEVEL=2, the ODS table Status is displayed. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the output data table. For more information about this two-level name, see the section Using CAS Sessions and CAS Engine Librefs.