PSI.calc.data: Calculate Population Stability Index for a Given Data

Description Usage Arguments Examples

Description

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

Usage

1
PSI.calc.data(main_data, second_data, bin = 10)

Arguments

main_data

The main data set of a measurement, should be a factor or numeric

bin

The desired number of bins should be specified. Default value is 10.

secon_data

The second data set of a measurement, should be a factor or numeric

Examples

1
2
3
4
5
data("iris")
train <- sample(nrow(iris), nrow(iris) * .7)
test <- iris[-train]
p <- PSI.calc(train, test)
p

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