Skip to contents

This function performs a Benford's Law analysis on a numeric variable. It returns the Benford's Law distribution and a list of potential suspects.

Value

A list with the Benford's Law distribution and a list of potential suspects.

A list with the Benford's Law distribution and a list of potential suspects.

Details

The Benford's Law analysis is a test to determine if the distribution of the first digits of a numeric variable follows Benford's Law. The Benford's Law distribution is compared to the observed distribution of the first digits of the variable. The analysis returns a list of potential suspects that deviate significantly from Benford's Law.

Super classes

jmvcore::Analysis -> ClinicoPath::benfordBase -> benfordClass