- 1、本文档共10页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CAP and ROC curves_20090602
CAP and ROC curves Cumulative Accuracy Profiles (CAP) We first rank companies by their default probabilities (i.e., credit scores) as predicted by the model, from highest to lowest. Then, out of those companies with a score higher than a value such that altogether they represent x% of the total number of companies, we record the corresponding number of defaulted companies being captured as a percentage (y%) of total number of defaulted companies. CAP The CAP curve can then be traced out by varying x from 0 to 100 and plotting the corresponding values of x and y along and x-axis and y-axis respectively. Using a good model will result in a majority of the defaulters having relatively high default probability estimates and so the percentage of defaulters being captured (the y values in Fig. 1) increases quickly as one moves down the sorted sample of all companies (the x values in Fig. 1). CAP If the model were totally uninformative, for example, by assigning default probabilities randomly, we would expect to capture a proportional fraction (i.e., x% of the defaulters with about x% of the observations), resulting in a CAP curve along the 45-degree line (i.e., the “Random CAP” curve of Fig. 1). CAP Accuracy ratio by CAP curve= (the area under a model’s CAP)/ (the area under the ideal CAP) Operating Characteristic Curves (ROC) The ROC curve is constructed by varying the cutoff probability. In particular, for every cutoff probability, the ROC curve defines the “true positive rate” (percentage of defaults that the model correctly classifies as defaults) on the y-axis as a function of the corresponding “false positive rate” (percentage of non-defaults that are mistakenly classified as defaults) on the x-axis. The ROC curve of a constant or entirely random prediction model corresponds to the 45-degree line, whereas a perfect model will have a ROC curve that goes straight up from (0, 0) to (0, 1) and then across to (1, 1). ROC Accuracy ratio by ROC curve=2× (area
文档评论(0)