Skip to contents

This function performs a Benford's Law analysis on a numeric variable to detect unusual digit patterns that may indicate data quality issues. It returns the Benford's Law distribution and a list of potential suspects with clinical interpretation.

Value

A comprehensive analysis with clinical interpretation and actionable recommendations.

A comprehensive Benford's Law analysis with clinical interpretation.

Details

The Benford's Law analysis is a statistical test to determine if the distribution of the first digits of a numeric variable follows Benford's Law. This is commonly used in clinical research to detect data entry errors, fraud, or other quality issues. The analysis returns structured results with clinical interpretation and actionable guidance.

Super classes

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