CommencerCommencer gratuitement

Fire insurance claims

Fire Insurance is protection for your property against losses or damage caused by fire and lightning. The dataset fireinsuranceclaims contains the last 40,000 costs paid by an insurance company in Belgium for fire insurance.

The package benford.analysis has been loaded for you. It will output several plots, but you should only focus on the first plot to check the conformity.

Cet exercice fait partie du cours

Fraud Detection in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# 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)
Modifier et exécuter le code