Discrete_gen_code_sas: Generate SAS code for Discrete object

Description Arguments Value

Description

generate SAS code representing the transformation from input numeric values to the substituted performance values. Also generates code calculating difference from min/max/neutral and adverse action code assignments.

Arguments

pfx

character prefix to prepend to variable names

coef

numeric coefficient to multiply performance values by. Passed in by the Scorecard model object. Defaults to 1.

method

method used for calculating the reference level for adverse action codes. Three possible choices:

  • "min" Calculate difference from minimum of perf values - default

  • "max" Calculate difference from maximum of perf values

  • "neutral" Calculate difference from zero#'

i

numeric value enumerating the variables. Passed in from other code.

Value

a character vector of SAS code


Zelazny7/binnr documentation built on May 10, 2019, 1:55 a.m.