southern california edison® leading the way in electricity data visualization using r audit...

23
SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th , 2013

Upload: abraham-moore

Post on 27-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Data Visualization using R

Audit Technology GroupMar 22th, 2013

Page 2: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

DV in the News – Gun Owners Put on Map

-2-

Page 3: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

DV in the News – Gun Owners Retaliated

-3-

Page 4: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

DV in the News – Home Ownership

-4-

Page 5: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

What is R?

• From Wikipedia– R is an open source programming language and

software environment for statistical computing and graphics.

– The R language is widely used among statisticians for developing statistical software and data analysis.

– R is an implementation of the S programming language created by John Chambers while at Bell Labs.

– R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand.

-5-

Page 6: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

More about R

• Some interesting facts– R is now developed by the R Development Core Team, of which

Chambers is a member

– R is named partly after the first names of the first two R authors (Robert Gentleman and Ross Ihaka), and partly as a play on the name of S.

– R is part of the GNU project. The source code for the R software environment is written primarily in C, Fortran, and R.

– R is freely available under the GNU General Public License, and pre-compiled binary versions are provided for various operating systems.

-6-

Page 7: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

What should R Concern me as an Auditor?

• Good question!– R uses a command line interface; however, several

graphical user interfaces are available for use with R.

– R provides a wide variety of statistical and graphical techniques, including linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, and others.

– According to Rexer's Annual Data Miner Survey in 2010, R has become the data mining tool used by more data miners (43%) than any other.

-7-

Page 8: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

More Importantly

• Last but not least– Another strength of R is static graphics, which can

produce publication-quality graphs, including mathematical symbols. Dynamic and interactive graphics are available through additional packages.

– In other words, if you are serious about data visualization, using only Excel graphing features is not enough.

– At the end of the day, it is FREE! All you need is filing a deviation form with your supervisor’s approval, and some weekends spent in front of your computer screen.

-8-

Page 9: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

R Heat Map is Perfect for Risk Analysis

• Heat Map is a very useful tool for Risk Analysis

• But Excel does not have built-in Heat Map feature

• You can mimic a Heat Map in Excel using Bubble Chart but it is a labor intensive process with less than satisfactory result

• Or you can learn a little VBA and write your own code to create Heat Maps in Excel, once again, not a completely painless proposition

-9-

Page 10: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Heat Map: Correlation Between Genes

-10-

Page 11: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Heat Map: NBA Top Scorers

-11-

Page 12: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Calendar Heat Map: Stock Close Price

-12-

Page 13: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Heat Map: Pollution Data on Calendar

-13-

Page 14: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Showing Data on US Map by State

-14-

Page 15: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Graphing Rainfall in France

-15-

Page 16: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Topology Graph

-16-

Page 17: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Topography Graph with Height

-17-

Page 18: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Data Visualization in Action 1

-18-

Page 19: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Data Visualization in Action 2

-19-

Page 20: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Interactive Graph – U.S. Data by State

-20-

Page 21: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Interactive Graph – Hurricane Andrew

-21-

Page 22: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Interactive Graph – U.S. City Popularity

-22-

Page 23: SOUTHERN CALIFORNIA EDISON® Leading the Way in Electricity Data Visualization using R Audit Technology Group Mar 22 th, 2013

SOUTHERN CALIFORNIA EDISON®

Leading the Way in Electricity

Audit Services & Audit Technology Group

Q&A

• Question?

• Comments?

-23-