Payments data set
The dataset expensesCEO
consists of 1,000 payments done by a CEO of a publicly traded financial company.
Most invoices are for goods and services received from vendors or for expenses they had to make for work related activities.
This exercise is part of the course
Fraud Detection in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Validate data against Benford's Law using first digit
bfd.exp <- benford(___, number.of.digits = ___)
plot(bfd.exp, except=c("second order", "summation", "mantissa", "chi squared","abs diff", "ex summation", "Legend"), multiple = F)