risk.validation.kolmogorovSmirnov
Syntax
Description
returns the Kolmogorov-Smirnov (KS) value, where ksValue
= risk.validation.kolmogorovSmirnov(Score
,BinaryResponse
)Score
contains numeric
values that represent quantities such as rankings or predictions, probability of default
(PD), or loss given default (LGD) estimates. For example, in credit scoring models, the
values in Score
can represent individual credit scores or other credit
data. BinaryResponse
specifies the target state of each value in
Score
.
specifies the sorting direction of the unique values in ksValue
= risk.validation.accuracyRatio(Score
,BinaryResponse
,SortDirection=sortdir
)Score
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a