0% found this document useful (0 votes)
97 views2 pages

Dashboard BI

This document discusses using Benford's Law to detect fraud in financial data. Benford's Law states that in many real-world datasets, the leading digits are not uniformly distributed, but rather follow a specific logarithmic distribution. The example uses an R script to analyze financial data and identify suspicious transactions that deviate from the expected Benford's distribution. It generates metrics and plots showing the expected vs actual observed digit distributions to identify potential fraudulent entries. The analysis is performed using an R package and the results are displayed in Oracle Data Visualization Desktop.

Uploaded by

JOSE GONZALEZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views2 pages

Dashboard BI

This document discusses using Benford's Law to detect fraud in financial data. Benford's Law states that in many real-world datasets, the leading digits are not uniformly distributed, but rather follow a specific logarithmic distribution. The example uses an R script to analyze financial data and identify suspicious transactions that deviate from the expected Benford's distribution. It generates metrics and plots showing the expected vs actual observed digit distributions to identify potential fraudulent entries. The analysis is performed using an R package and the results are displayed in Oracle Data Visualization Desktop.

Uploaded by

JOSE GONZALEZ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

31/7/2019 Oracle Underground BI & Dataviz: Search results for Benford

Más Crear un blog Acced

Oracle Underground BI & Dataviz


About OracleBITECH Demo
Showing posts sorted by relevance for query Benford. Sort by date Show all posts
oraclebitechdemo
Wednesday, January 18, 2017 View my complete profile

Advanced Analytics: Fraud detection Example using Benford's Law Follow us on Twitter

In this post we will talk about an R based example which performs Fraud detection using Benford's law on Oracle DV Follow
Desktop.This example also highlights Oracle DV's capability to consume multiple and distinct tabular results, visual charts
returned from a single invocation of R-Script. This example can be downloaded from Oracle BI Public store.
Search This Blog
What does this script do: This script takes financial data (or any other data that satisfies characteristics of Benford's law.
Benford Search
More about these characteristics are described below) which includes financial amounts along with 1 or 2 identifiers and
applies Benford law and returns suspicious transactions.
Blog Archive
It also returns some metrics and plots which depict the expected distribution of data according to Benford's law vis a vis

▼ 2019 (9)
actual observed distribution. These plots are displayed in DV Desktop using R Viz(base64Image) plugin which can be

▼ July (2)
downloaded from Oracle BI Public Store.
Using Right-Click Add Statistics
with Oracle Analy...
Metrics contain information on the expected probability, actual probability, distribution frequency and difference details
along with data summation details. For more details on these metrics please go through the documentation of Unleash your Database power
within OAC using Evalu...
benford.analysis package. This example uses benford.analysis R package, which can be downloaded from CRAN
repository. ►
► June (1)

► May (1)
Here is how your DV Desktop will look like after deploying this example:

► April (2)

► February (2)

► January (1)


► 2018 (11)

► 2017 (22)

► 2016 (42)

Popular Posts

Embedding Oracle
DV Projects in
BIEE Dashboards
Embedding DV
Projects directly
into BIEE
dashboards can simply be done
by posting the URL of the project
as an 'Embedded Content' o...

Customize look &


feel of Oracle DV
using skin plugins
In this blog post we
will discuss about
customizing the
appearance of your Oracle DV
Desktop by using skin plugins.
What is Benford's Law?
Companies and/or users ...
Benford's law, also called the first-digit law, is an observation about the frequency distribution of leading digits in many
real-life sets of numerical data. The law states that in many naturally occurring collections of numbers, the Advanced Analytics:
leading significant digit is likely to be small. For example, in sets which obey the law, the number 1 appears as the most Perform Sentiment
Analytics on DV using
significant digit about 30% of the time, while 9 appears as the most significant digit less than 5% of the time. By contrast,
Custom R Scripts
if the digits were distributed uniformly, they would each occur about 11.1% of the time. Benford's law also makes In this blog we will
(different) predictions about the distribution of second digits, third digits, digit combinations, and so on.Benford's law discuss how to perform Sentiment
usually hold for data with following characteristics: Analysis on Oracle DV on textual
data like, Product reviews,
Data with values that are formed through a mathematical combination of numbers from several distributions. customer feedback and so...
Data that has a wide variety in the number of figures e.g. data with plenty of values in the hundreds,
Oracle JET
thousands, tens of thousands etc.
Visualizations on
The data set is fairly large. OBIEE
Dashboards!
Non symmetric distribution of data around Mean/Median, with large right skew
OBIEE supports
No predefined Maximum/Minimum except for 0 as minimum Custom
visualizations to tailor fit the
Benford's law is applicable irrespective of the scale of data. More information and experiments on the applicability of requirements of Developers and
Benford's law across multiple scales can be found in Datagenetics blog. end users. Many versions of OBI
SampleApp inclu...
Accounting Fraud detection

oracledataviz.blogspot.com/search?q=Benford 1/2
31/7/2019 Oracle Underground BI & Dataviz: Search results for Benford
Benford's law can be used to analyze financial data and spot possible red flags. If the digit distribution doesn't look Daum Map Plugin
anything like the distribution predicted by Benford's law then it may mean that the data is manipulated. Financial data is now available on
Oracle BI Public
include Accounts receivable, Accounts payable, sales and expenses data. Store
How does the script work on Oracle DV Desktop Daum Map plug-in
Inputs: This script takes payment amount(in dollars) along with one or more idenitfiers/details. In this example we are for Oracle DV is
now available for download on
passing in the Vendor Number(Identifier1), Invoice Number (Identifier2) and the corporate payment amount as inputs to Oracle BI Public Store . Daum
the data. This script can also be used to perform Fraud detection for other statistical data like census and other surveys map provider has detailed maps
which have the characteristics we discussed above. exclusively fo...

Custom Model
Optional Inputs: num_of_digits: We can send in the number first digits which we would like to analyze Scripts for Oracle
TopPercent : Top N percentage of the Suspicious entries you would like to be returned. Analytics
In this blog post we
Output: This R-Script returns 3 sets of results/information. They are: will discuss how to
use custom
1) Columns Identifier1,Identifier2,Suspicious Amounts return the top N % Suspicious transactions . models in OAC. We will walk-
2) image* columns return the R plots in base 64 encoded image format. R Viz(base64image) custom Viz plugin parses through the process of developing
these base64 encoded image strings and displays the image on DV Desktop canvas. python scripts compa...
3) Columns from Digits to Metrics: return metrics like distribution frequency etc for each first digit(s).
Advanced Analytics:
Association Rule
Please note that this R-Script returns all the these 3 sets of results/information in a single dataframe. And Oracle DV Mining on OracleDV
simultaneously displays these distinct tabular results and image results returned by a single R script. using Custom R-
Scripts
Association Rule Mining is a
Steps to deploy this R-Script plugin in your local OracleDV: common technique used to find
1) Install Advanced Analytics feature in Oracle DV by clicking on the below icon. This will install Oracle R deployment. associations between many
Alternatively you can install Advanced Analytics by running install_advanced_analytics.cmd present in variables. It is intended to identify
strong rules e...
<DV_INSTALL_DIRECTORY>
Understand
Performance of
Oracle DV
Machine Learning
models using
Related Datasets
feature
2) If not installed benford.analysis already, please install it using following instructions
In this blog we dicuss Related
Open R console(double click Rgui.exe present in <Advanced_Analytics_Install_Dir>\bin\x64) and datasets produced by Machine
install benford.analysis Package. Learning algorithms in Oracle
Following are the R commands to install: Data Visualization. Related
datasets are genera...
Set Proxy:
$ Sys.setenv(http_proxy="http://<your_proxy_host>:<port>") OracleDV :
set proxy appropriate to your network settings. Geocode Address
Install Package: data with Custom
R-Script
$ install.packages("benford.analysis")
Pre-requisites :
3) Download Fraud_DetectionBenford_V1.zip from OracleBI Public Store and unzip it. Internet connection
4) Copy R.BenfordFraudDetection.xml to In this blog we will discuss about
<DV_INSTALL_DIRECTORY>\OracleBI1\bifoundation\advanced_analytics\script_repository an exciting possibility on
OracleDV: How to Geocode
5) Download R Viz(Base64Image) custom visualization plugin from Oracle BI Public Store. Instructions to deploy this Address data ...
Custom Viz plugin are described in the Public store.
6) Import the .dva project to Oracle DV. Password for the .dva file is Admin123 Upgrade OBIEE in your
SampleApp V607 to 12.2.1.2
Want to have OBIEE 12.2.1.2 in
your SampleApp V607 and enjoy
VA lightweight SSO (no double
logins when opening VA), or dva
projects impor...
Posted by oraclebitechdemo at 2:01 AM 5 comments:

Home

Subscribe to: Posts (Atom)

Simple theme. Powered by Blogger.

oracledataviz.blogspot.com/search?q=Benford 2/2

You might also like