score
Compute credit scores for given dataset for a
compactCreditScorecard
object
Description
Examples
Input Arguments
Output Arguments
Algorithms
The score of an individual i is given by the formula
Score(i) = Shift + Slope*(b0 + b1*WOE1(i) + b2*WOE2(i)+ ... +bp*WOEp(i))
where bj is the coefficient of the j-th
variable in the model, and WOEj(i) is the
Weight of Evidence (WOE) value for the i-th individual
corresponding to the j-th model variable.
Shift
and Slope
are scaling constants that
can be controlled with formatpoints
.
If the data for individual i is in the i-th
row of a given dataset, to compute a score, the
data(i,j) is binned using existing binning
maps, and converted into a corresponding Weight of Evidence value
WOE
j(i). Using the
model coefficients, the unscaled score is computed
as
s = b0 + b1*WOE1(i) + ... +bp*WOEp(i).
For simplicity, assume in the description above that the j-th variable in the model is the j-th column in the data input, although, in general, the order of variables in a given dataset does not have to match the order of variables in the model, and the dataset could have additional variables that are not used in the model.
The formatting options can be controlled using formatpoints
.
References
[1] Anderson, R. The Credit Scoring Toolkit. Oxford University Press, 2007.
[2] Refaat, M. Credit Risk Scorecards: Development and Implementation Using SAS. lulu.com, 2011.
Version History
Introduced in R2019a