Skip to main content

IDEAScripts

Please see this page for instructions on how to install python scripts. 

Number Duplication Test

Background

This test will drill down into the data table to identify the exact transactions that were causing the spikes in the frist-order test and summation graphs.  The NDT Test is based on Chapter 8 of Nigrini, Mark J., Forensic Analytics: Methods and Techniques for Forensic Accounting Investigations, New Jersey: John Wiley & Sons, Inc., 2011: Print

Last-Two Digits Test

Background

This script is based on Mark J. Nigrini's Forensic Analytics book -  Chapter 8 - The Last-Two Digits Test.  This test is a powerful test for number invention or number creativity.  The test identifies abnormal duplications on the right side, these duplications could indicate errors, invented numbers, or excessive rounding.  To run this test, select the file you wish to perform the test on and the amount field.  The resulting file will have 100 transactions showing the last two digits i.e. 01 to 99 and the difference with the expected rate

Benford's law 1st digit test

Background

This will perform the Benford 1st digit test on each distinct item in a selected column.  So if you have a vendor column this would perform the test for each vendor.  It allows you to exclude low value items.

September 2015 - The interface has been rewritten along with some updates. 

Cross Join - Updated July 2015

Background

The cross join script will take two files that do not have a common key and creates a new file containing all records from both files. - The menu has been updated.

July 2015 - I have rewritten the interface, probably not much of a difference for the user but the backend should work better and the dialog won't close each time you make a selection.  It will also work for time fields.  It currently ignores virtual and boolean fields, they won't be copied over to the new file.

Relative Size Factor Test (RSF) - Updated Oct 24, 2012

Background

The purpose of the Relative Size Factor test (RSF) IDEAScript is to identify anomalies where the largest amount for subsets in a given key is outside the norm for those subsets. This test compares the top two amounts for each subset and calculates the RSF for each. The RSF test is based on Chapter 11 of Mark J. Nigrini’s book, entitled, “Forensic Analytics: Methods and Techniques for Forensic Accounting Investigations”.

GEL - 1

Background

The GEL tests establish possible links between two selected fields over the entire data set. The first field is the key field and the second field is the element factor.

The test was updated in October 2015.