IV.calc.data: Calculate Information Value for a Given Data

Description Usage Arguments Examples

Description

This function allows the calculation of the IV for a given data.

Usage

1
IV.calc.data(data, default_flag)

Arguments

data

A data set needs to be specified.

default_flag

The default flag need to specified as string.

Examples

1
2
3
4
5
default_f <- c('1','0','0', '1','1','0','0','1','1')
birth_year <- c(1980, 1985, 1971,1971,1985,1971,1980,1980,1985)
job <- c(1,1,2, 2,2,3,3,2,3)
example_data <- data.frame(default_f,birth_year,job)
IV.calc.data(example_data, "default_f")

ayhandis/creditR documentation built on May 9, 2019, 8:41 a.m.