火险理赔
Fire Insurance(火灾保险)是针对火灾和雷击造成的损失或损害,为您的财产提供保障。数据集 fireinsuranceclaims 包含比利时某保险公司最近 40,000 笔火险赔付金额。
已为您加载 benford.analysis 包。它会输出多张图,但您只需关注第一张图来检查是否符合分布。
本练习是课程的一部分
R 中的欺诈检测
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Validate data against Benford's Law using first digit
bfd.ins <- benford(___, number.of.digits = ___)
plot(bfd.ins, except=c("second order", "summation", "mantissa", "chi squared","abs diff", "ex summation", "Legend"), multiple = F)