Learn R Programming

benford.analysis (version 0.1.5)

MAD.conformity: MAD conformity to Benford's Law using the MAD

Description

This function checks the MAD agains the confomity criteria proposed by Nigrini (2012).

Usage

MAD.conformity(MAD = NULL, digits.used = c("First Digit",
  "Second Digit", "First-Two Digits", "First-Three Digits"))

Arguments

MAD

The mean absolute deviation, as computed in the function benford

digits.used

How many digits used in the analysis.

Value

A list with the MAD, digits.used and the conformity level.

References

Nigrini, M. J. (2012). Benford's Law: Application for Forensic Accounting, Auditing and Fraud Detection. Wiley and Sons: New Jersey.