代码详解:准确率惊人!用Credit R创建信用风险评分模型(23)

#Performing the Anchor point test

Anchor.point(master_scale\"PD\"\"Total.Observations\"0.30)

输出:

卡方检验也可以用作校准检验 。 “chi square.test”函数可用于在指定的置信度级别下执行此测试 。

#The Chi-square test is applied on the master scale

chisquare.test(master_scale\"PD\"\"Bad.Count\"\"Total.Observations\"0.90)

输出:

二项式测试也可以用作校准测试 。 单尾二项检验通常用于IRB模型 , 而双尾二项检验用于IFRS 9模型 。 但除了IRB之外 , 双尾二项检验对于一般用途更方便 。

#The Binomial test is applied on the master scale

推荐阅读