displayWOE: displayWOE

Description Usage Arguments Examples

View source: R/displayWOE.R

Description

This function displays the Weight of Evidence of the levels of an attribute.

Usage

1
displayWOE(dset, col = "xyz", resp = "y", adjFactor = 0.5, bins = 10)

Arguments

dset

The data frame containing the data set

col

A character respresenting the name of the attribute . The attribute can either be numeric or categorical

resp

A character respresenting the name of the binary outcome variable The binary outcome variable may be a factor with two levels or an integer (or numeric ) with two unique values

adjFactor

A number or a decimal denoting what is to be added to the number of responses (binary outcome variable is 1 ) or to the number of non responses (binary outcome variable is 0) if either is zero for any level of the attribute

bins

A number denoting the number of bins.Default value is 10

Examples

1
2
3
4
5
# Load the German_Credit data set supplied with this package

data("German_Credit")

displayWOE(German_Credit,col="Credit_History",resp="Good_Bad")

CollapseLevels documentation built on July 1, 2020, 5:38 p.m.