Curve_Data: Auxiliary Function: Create the Appropriate Data Structure for...

Description Usage Arguments Details Value See Also

Description

Auxiliary function: create the appropriate data structure for function myCurves, return a list.

Usage

1
Curve_Data(y, predict_y, gap = 0.05)

Arguments

y

A vector of target, only containing 1 and 0.

predict_y

A vector of p prediction.

gap

A numeric, the gap of two quantile points, default 0.05.

Details

the returned list contains two components: a df 'data.frame(Quant, PropBad, AccumBad, PropGood, AccumGood, BadRate)' and a numeric ks value.

Value

A list

See Also

Other model performance functions: crossValidation, myCurves, myks


xxzcool/scoremodel documentation built on May 4, 2019, 10:56 a.m.