Data Analytics For Accounting, 2nd Edition Vernon Richardson PDF
Data Analytics For Accounting, 2nd Edition Vernon Richardson PDF
Vernon J. Richardson
University of Arkansas,
Baruch College
Ryan A. Teeter
University of Pittsburgh
Katie L. Terrell
University of Arkansas
page ii
1 2 3 4 5 6 7 8 9 LWI 24 23 22 21 20
ISBN 978-1-260-57109-7
MHID 1-260-57109-2
mheducation.com/highered
page iii
Dedications
Preface
Data Analytics is changing the business world—data simply
surrounds us! So much data is available to businesses about each of
us—how we shop, what we read, what we buy, what music we listen
to, where we travel, whom we trust, where we invest our time and
money, etc. Accountants can create value by addressing
fundamental business and accounting questions using data
analytics.
All accountants must develop data analytic skills to address the
needs of the profession in the future. Data Analytics for Accounting,
2e recognizes that accountants don’t need to become data scientists
—they may never need to build a data repository or do the real hard-
core Data Analytics or learn how to program a computer to do
machine learning. However, there are seven skills that analytic-
minded accountants must have to be prepared for a data-filled world,
including:
1. An analytics mindset—recognize when and how Data Analytics can
address accounting questions.
2. Data scrubbing and data preparation—comprehend the process
needed to extract (query), clean and prepare the data before
analysis.
3. Data quality—recognize what is meant by data quality, be it
completeness, reliability, or validity.
4. Descriptive data analysis—perform basic analysis to understand the
quality of the underlying data and their ability to address the
business question.
5. Data analysis through data manipulation—demonstrate ability to
sort, rearrange, merge, and reconfigure data in a manner that
allows enhanced analysis.
6. Problem solving through statistical data analysis—identify and
implement an approach that will use statistical data analysis to draw
conclusions and make recommendations on a timely basis.
7. Data visualization and data reporting—report results of analysis in
an accessible way to each varied decision maker and his or her
specific needs.
Consistent with these skills, it’s important to recognize that Data
Analytics is a process. The process begins by identifying business
questions that can be addressed with data, extracting and testing the
data, refining our testing, and finally, communicating those findings
to management. Data Analytics for Accounting, 2e describes this
process by relying on an established data analytics model called the
IMPACT cycle1
1. Identify the question.
2. Master the data.
3. Perform test plan.
4. Address and refine results.
5. Communicate insights.
6. Track outcomes
page v
Adapted from Win with Advanced Business Analytics: Creating
Business Value from Your Data, by Jean Paul Isson and Jesse S.
Harriott.
The IMPACT cycle is described in the first four chapters and then
the process is illustrated in audit, managerial accounting, financial
accounting and tax in Chapters 5-9, adding an all-new tax chapter to
Data Analytics for Accounting, 2e. In response to instructor
feedback, Data Analytics for Accounting, 2e now also includes two
new project chapters, giving students a chance to practice the full
IMPACT model with multiple labs that build on each other.
Data Analytics for Accounting, 2e emphasizes hands-on practice.
Students are provided with hands-on instruction (e.g., click-by-click
instructions, screenshots, etc.) on datasets within the chapter; within
the end-of-chapter materials; and in the labs at the end of each
chapter. Throughout the text, students identify questions, extract and
download data, perform testing, and then communicate the results of
that testing.
The use of real-world data is highlighted by using data from
LendingClub, College Scorecard, Dillard’s, the State of
Oklahoma, as well as other data from our labs. In particular, we
emphasize the rich data from Dillard’s sales transactions that we
use in more than fifteen of the labs throughout the text (including
Chapter 11).
Data Analytics for Accounting, 2e also emphasizes the various
data analysis tools students will use throughout the rest of their
career—Microsoft Excel, Microsoft Access (including SQL), Tableau
(free student license), IDEA (free student license), and Weka (free
student license). Using multiple tools allows students to learn which
tool is best suited for the necessary data analysis, data visualization,
and communication of the insights gained—for example, which tool
is easiest for internal controls testing, which is best for analysis or
querying (using SQL) big datasets, which is best for data
visualizations, and so on.
1Jean Paul Isson and Jesse S. Harriott, Win with Advanced Business Analytics: Creating
Business Value from Your Data (Hoboken, NJ: Wiley, 2013).
page vi
Vernon J. Richardson
Ryan A. Teeter
Katie L. Terrell
Katie L. Terrell is an instructor in the Sam M. Walton College of
Business at the University of Arkansas. She received her BA
degrees in English literature and in the Spanish language from the
University of Central Arkansas and her MBA from the University of
Arkansas. She expects a doctoral degree by 2020. She has taught
students at the University of Arkansas; Soochow University (Suzhou,
China); the University College Dublin (Ireland); and Duoc UC, a
branch of the Catholic University of Chile (Vina del Mar, Chile).
She is a member of the American Accounting Association and
has published a Statement on Management Accounting for the
Institute of Management Accountants on managing organizational
change in operational change initiatives. Terrell was named the 2019
Business Professional of the Year (Education) by the national Beta
Alpha Psi organization. She has recently been recognized for her
innovative teaching by being the recipient of the Mark Chain/FSA
Teaching Award for innovative graduate-level accounting teaching
practices in 2016. She has worked with Tyson Foods, where she
held various information system roles, focusing on business
analysis, project management for ERP implementations and
upgrades, and organizational change management.
page vii
Acknowledgments
Our sincere thanks to all who helped us on this project.
Our biggest thanks to the awesome team at McGraw-Hill
Education, including Steve Schuetz, Tim Vertovec, Allie Kukla, Fran
Simon, Kevin Moran, and Sarah Wood.
Our thanks also to each of the following:
The Walton College Enterprise Team (Paul Cronan, Ron Freeze,
Michael Gibbs, Michael Martz, Tanya Russell) for their work helping
us get access to the Dillard’s data.
Shane Lunceford from LendingClub for helping gain access to
LendingClub data.
Marcia Watson, University of North Carolina–Charlotte; Ryan
Baxter, Boise State University; Antoinette Smith, Florida International
University; and Lorrie Metzger, University at Buffalo for their
accuracy check and review of the manuscript.
In addition, the following reviewers and classroom testers who
provided ideas and insights for this edition. We appreciate their
contributions.
Vernon Richardson
Ryan Teeter
Katie Terrell
page viii
Key Features
Emphasis on Skills: Working through the IMPACT cycle
framework, students will learn problem assessment, data
preparation, data analysis, data visualization, control contesting,
and more.
Emphasis on Hands-On Practice: Students will be provided
hands-on learning (click-by-click instructions with screenshots) on
datasets within each chapter, within the end-of-chapter materials,
and in the labs and comprehensive cases.
Emphasis on Datasets: To illustrate data analysis techniques and
skills, multiple practice datasets (audit, financial, and managerial
data) will be used in every chapter. Students gain real-world
experience working with data from LendingClub, Dillard’s,
College Scorecard, the State of Oklahoma, as well as financial
statement data (via XBRL) from Fortune 100 companies.
Emphasis on Tools: Students will learn how to conduct data
analysis using Excel Access (including SQL), Tableau (free student
license), IDEA (free student license), and Weka (free student
license). Students will compare and contrast the different tools to
determine which are best suited for basic data analysis and data
visualization, which are easiest for internal controls testing, which
are best for SQL queries, and so on.
©Tableau Software, Inc. All rights reserved.
page ix
Chapter-Opening Vignettes
Because companies are facing the new and exciting opportunities
with their use of Data Analytics to help with accounting and business
decisions, we detail what they’re doing and why in our chapter-
opening vignettes.
Learning Objectives
We feature learning objectives at the beginning of each chapter.
Having these learning objectives provides students with an overview
of the concepts to be taught in the chapter and the labs.
Progress Checks
Periodic progress check questions are posed to the students
throughout each chapter. These checks provoke the student to stop
and consider the concepts presented.
page x
End-of-Chapter Materials
Answers to Progress Checks
Allow students to evaluate if they are on track with their
understanding of the materials presented in the chapter.
page xi
Problems
Challenge the student’s ability to see relationships in the learning
objectives by employing higher-level thinking and analytical skills.
Labs
Give students hands-on experience working with different types of
data and the tools used to analyze them. Students will conduct data
analysis using Excel, Access (including SQL), Tableau, IDEA, XBRL,
and Weka.
Comprehensive Cases
Use a real-life Big Data set based on Dillard’s actual company data.
This dataset allows students to build their skills and test their
conclusions across concepts covered in each chapter. The
Comprehensive Cases can be followed continuously from the first
chapter or picked up at any later point in the book; enough
information is provided to ensure students can get right to work.
page xii
Chapter 1
Updated the opening vignette and statistics on Alibaba sales and
use of e-commerce.
Updated the statistics and screenshots for Lending Club Analysis.
Revised Connect questions for problems and labs.
Chapter 2
Improved and clarified the discussion of relational databases,
including updated figures.
Expanded the discussion of different RDBMS (Access, SQLite, and
SQL Server).
Improved discussion of Excel and SQL. The brief introduction to
how to use SQL now has its own place in a dedicated appendix at
the end of the text, and it has been vastly expanded to teach
beginners how to write queries.
Expanded the discussion on data quality.
Added a brief discussion of ETL v. ELT.
Improved labs for clarity and a better learning experience,
particularly Labs 2-1, 2-2, and 2-4.
Chapter 3
Reorganized chapter structure to follow the descriptive, diagnostic,
predictive, and prescriptive approaches to Data Analytics.
New exhibits and examples to illustrate analytics approaches.
Removed previous edition flowchart for model selection.
Additional explanation and examples of each of the methods and
approaches.
Improved labs for clarity.
Chapter 4
Updated the opening vignette.
Improved the discussion on the differences between qualitative and
quantitative data and the discussion of the normal distribution.
Improved and clarified how to select a visualization based on the
four chart types (qualitative vs. quantitative and declarative vs.
exploratory).
page xiii
Updated the discussion on the Gartner Quadrant to take
into account Gartner’s January 2019 analysis of BI tools (focusing
on Excel and Tableau).
Extended the discussion on written and spoken communication.
Added a lab to work with visualizing data and creating dashboards
in Power BI to interactively compare the tool with Tableau.
Chapter 5
Expanded discussion on the modern data environment.
Included additional examples of the Audit Data Standard.
Improved and clarified content to match the focus on descriptive,
diagnostic, predictive, and prescriptive analytics.
New labs (5-1 and 5-2) that have students transform data using a
common data model.
Improved existing labs.
Chapter 6
Clarified chapter content to match the focus on descriptive,
diagnostic, predictive, and prescriptive analytics.
Improved labs.
Chapter 7
Clarified chapter content and provided additional new exhibits and
examples, such as variance analysis.
Improved labs.
Chapter 8
Reorganized chapter content to focus on financial statement
analysis using descriptive, diagnostic, predictive, and prescriptive
approaches.
Added new content on common size and ratio analysis.
Improved discussion of XBRL data.
Improved XBRL dataset (in Lab 8-4), accessible via Microsoft
Access and included options to do analysis in Excel.
Chapter 9
All-new chapter on tax analytics, including examples of tax data, tax
analysis, tax planning, and tax visualizations.
Chapter 10
All-new basic project chapter that explores the order-to-cash and
procure-to-pay cycles from different user perspectives.
Chapter 11
All-new advanced project chapter, estimating sales returns at
Dillard’s with three question sets highlighting descriptive and
exploratory analysis, hypothesis testing, and predictive analytics.
page xiv
Appendixes
Several all-new appendixes have been added to ease the lab
experience and introduce tools used or mentioned throughout the
text:
Appendix A: Basic Statistics Tutorial.
Appendix B: Accessing the Excel Data Analysis Toolpak.
Appendix C: Excel (Formatting, Sorting, Filtering, and PivotTables).
Appendix D: SQL Part 1. This tutorial introduces the SQL language
for extracting data and explains the following SQL syntax: SELECT,
FROM, INNER JOIN, ON, WHERE, GROUP BY, HAVING, ORDER
BY.
Appendix E: SQLite. We have added SQLite files as an option for
each lab that uses Microsoft Access. This lab explains how to
download SQLite and how to use the tool.
Appendix F: Power Query. This appendix contains a short tutorial
on transforming data using Power Query. How to access data files
on the University of Arkansas’ remote desktop is also discussed.
Appendix G: Tableau.
Appendix H: SQL Part 2: On the heels of learning Tableau, students
learn about more complex joins—LEFT and RIGHT.
Appendix I: Power BI.
Appendix J: Dillard’s ER Diagram.
Appendix K: Data Dictionaries.
page xv
page xvi
page xvii
Lab Walkthrough Videos: Get the help you need, when you
need it. These author-led videos will explain how to access
and use the tools needed to complete processes essential to
the labs.
Author Lecture Videos: Lecture Videos teach each
chapter’s core learning objectives and concepts through an
author-developed, hands-on presentation, bringing the text
content to life. The videos have the touch and feel of a live
lecture, rather than a canned presentation, so you can learn
at your own pace.
FOR INSTRUCTORS
page xix
FOR STUDENTS
No surprises.
The Connect Calendar and Reports tools keep you on track with the
work you need to get done and your assignment scores. Life gets
busy; Connect tools help you keep learning through it all.
GLOSSARY 500
INDEX 504
page xxi
Detailed TOC
Chapter 1
Data Analytics for Accounting and Identifying the
Questions 2
Data Analytics 4
How Data Analytics Affects Business 4
How Data Analytics Affects Accounting 5
Auditing 5
Financial Reporting 6
Taxes 7
The Data Analytics Process Using the Impact Cycle 8
Step 1: Identify the Questions (Chapter 1) 8
Step 2: Master the Data (Chapter 2) 8
Step 3: Perform Test Plan (Chapter 3) 9
Step 4: Address and Refine Results (Chapter 3) 11
Steps 5 and 6: Communicate Insights and Track
Outcomes (Chapter 4 and each chapter thereafter) 11
Back to Step 1 12
Data Analytic Skills Needed by Analytic-Minded
Accountants 12
Hands-on Example of the Impact Model 13
Identify the Questions 13
Master the Data 13
Perform Test Plan 15
Address and Refine Results 17
Communicate Insights 19
Track Outcomes 19
Summary 20
Key Words 20
Answers to Progress Checks 21
Multiple Choice Questions 23
Discussion Questions 24
Problems 24
Lab 1-0 How to Complete Labs in This Text 27
Lab 1-1 Data Analytics in Financial Accounting 28
Lab 1-2 Data Analytics in Managerial Accounting 31
Lab 1-3 Data Analytics in Auditing 33
Lab 1-4 Comprehensive Case: Dillard’s Store Data 34
Chapter 2
Mastering the Data 38
How Data are Used and Stored in the Accounting Cycle 40
Data and Relationships in a Relational Database 42
Columns in a Table: Primary Keys, Foreign Keys, and
Descriptive Attributes 42
Data Dictionaries 44
Extract, Transform, and Load (ETL) the Data 45
Extract 46
Transform 49
Load 52
Summary 52
Key Words 53
Answers to Progress Checks 54
Multiple Choice Questions 55
Discussion Questions 56
Problems 57
Lab 2-1 Create a Request for Data Extraction 58
Lab 2-2 Use PivotTables to Denormalize and Analyze the
Data 60
Lab 2-3 Resolve Common Data Problems in Excel and
Access 67
Lab 2-4 Generate Summary Statistics in Excel 71
Lab 2-5 College Scorecard Extraction and Data
Preparation 73
Lab 2-6 Comprehensive Case: Dillard’s Store Data: How to
Create an Entity-Relationship Diagram 75
Lab 2-7 Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables in a Query 78
Lab 2-8 Comprehensive Case: Dillard’s Store Data:
Connecting Excel to a SQL Database 80
Lab 2-9 Comprehensive Case: Dillard’s Store Data: Joining
Tables 90
Chapter 3
Performing the Test Plan and Analyzing the Results 92
Performing the Test Plan 94
Descriptive Analytics 97
Example of Data Reduction in Internal and External
Auditing 98
Examples of Data Reduction in Other Accounting
Areas 99
Diagnostic Analytics 100
Example of Profiling in Management Accounting 102
Example of Profiling in an Internal Audit 103
Example of Profiling in Auditing 103
Example of the Clustering Approach in Auditing 105
Predictive Analytics 106
page xxii
Chapter 4
Communicating Results and Visualizations 138
Determine the Purpose of Your Data Visualization 141
Quadrants 1 and 3 versus Quadrants 2 and 4:
Qualitative versus Quantitative 142
A Special Case of Quantitative Data: The Normal
Distribution 143
Quadrants 1 and 2 versus Quadrants 3 and 4:
Declarative versus Exploratory 144
Choosing the Right Chart 145
Charts Appropriate for Qualitative Data 145
Charts Appropriate for Quantitative Data 147
Tools to Help When Picking a Visual 149
Learning to Create a Good Chart by (Bad) Example
151
Further Refining Your Chart to Communicate Better 156
Data Scale and Increments 157
Color 157
Communication: More than Visuals—Using Words to Provide
Insights 158
Content and Organization 158
Audience and Tone 159
Revising 160
Summary 160
Key Words 161
Answers to Progress Checks 162
Multiple Choice Questions 163
Discussion Questions 164
Problems 164
Lab 4-1 Use PivotCharts to Visualize Declarative Data
166
Lab 4-2 Use Tableau to Perform Exploratory Analysis and
Create Dashboards 168
Lab 4-3 Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in
Power BI 177
Lab 4-4 Comprehensive Case: Dillard’s Store Data:
Visualizing Regression in Tableau 196
Chapter 5
The Modern Accounting Environment 200
The Modern Data Environment 202
The Increasing Importance of the Internal Audit 203
Enterprise Data 203
Common Data Models 204
Automating Data Analytics 206
Continuous Monitoring Techniques 208
Alarms and Exceptions 208
Working Papers And Audit Workflow 209
Electronic Working Papers and Remote Audit Work
209
Summary 210
Key Words 210
Answers to Progress Checks 211
Multiple Choice Questions 212
Discussion Questions 213
Problems 213
Lab 5-1 Create a Common Data Model 215
Lab 5-2 Create a Dashboard Based on a Common Data
Model 217
Lab 5-3 Set Up a Cloud Folder 219
Lab 5-4 Review Changes to Working Papers 220
Lab 5-5 Identify Audit Data Requirements 221
Lab 5-6 Prepare Audit Plan 222
Chapter 6
Audit Data Analytics 224
When to Use Audit Data Analytics 226
Identify the Problem 226
Master the Data 226
Perform the Test Plan 228
page xxiii
Chapter 7
Managerial Analytics 268
Identifying Management Accounting Questions 270
Relevant Costs 270
Key Performance Indicators and Variance Analysis 270
Cost Behavior 271
Balanced Scorecard and Key Performance Indicators 272
Master the Data and Perform the Test Plan 276
Address and Refine Results 277
Summary 278
Key Words 279
Answers to Progress Checks 279
Multiple Choice Questions 280
Discussion Questions 281
Problems 282
Lab 7-1 Evaluate Management Requirements and Identify
Useful KPIs from a List 284
Lab 7-2 Create a Balanced Scorecard Dashboard in
Tableau 286
Lab 7-3 Comprehensive Case: Dillard’s Store Data:
Creating KPIs in Excel (Part I) 295
Lab 7-4 Comprehensive Case: Dillard’s Store Data:
Creating KPIs in Excel (Part II) 302
Lab 7-5 Comprehensive Case: Dillard’s Store Data:
Creating KPIs in Excel (Part III) 309
Lab 7-6 Comprehensive Case: Dillard’s Store Data:
Creating KPIs in Excel (Part IV—Putting It All
Together) 316
Lab 7-7 Comprehensive Case: Dillard’s Store Data:
Advanced Models in Tableau 321
Chapter 8
Financial Statement Analytics 326
Financial Statement Analysis 328
Descriptive Financial Analytics 328
Vertical and Horizontal Analysis 328
Other Classes of Ratios 329
Diagnostic Financial Analytics 331
Predictive Financial Analytics 331
Visualizing Financial Data 333
Showing Trends 333
Relative Size of Accounts 333
Text Mining and Sentiment Analysis 334
XBRL and Financial Data Quality 336
XBRL Data Quality 338
XBRL, XBRL-GL, and Real-Time Financial Reporting
340
Examples of Financial Statement Analytics Using
XBRL 340
Summary 341
Key Words 341
Answers to Progress Checks 342
Multiple Choice Questions 343
Discussion Questions 344
Problems 344
Lab 8-1 Create a Horizontal and Vertical Analysis Using
XBRL Data 346
page xxiv
Chapter 9
Tax Analytics 360
Introduction to Tax Analytics 362
Mastering the Data through Tax Data Management 363
Tax Data Analytics Visualizations 364
Tax Data Analytics Visualizations and Tax Compliance
364
Evaluating Sales Tax Liability 365
Evaluating Income Tax Liability 365
Tax Data Analytics for Tax Planning 367
What-If Scenarios 368
What-If Scenarios for Potential Legislation, Deductions,
and Credits 369
Summary 370
Key Words 370
Answers to Progress Checks 371
Multiple Choice Questions 371
Discussion Questions 373
Problems 373
Lab 9-1 State Sales Taxes and Create a Data
Visualization 375
Lab 9-2 Comprehensive Case 1: Dillard’s Store Data:
Calculate Sales Tax for Dillard’s States 379
Lab 9-3 Comprehensive Case 2: Dillard’s Store Data:
Calculate Sales Tax for Dillard’s States Part 2—
Compare Year over Year 381
Lab 9-4 Comprehensive Case 3: Dillard’s Store Data:
Calculate Sales Tax for Dillard’s States Part 3—
Calculate City Tax and Compare Tax Owed Year
over Year 386
Lab 9-5 Comprehensive Case 4: Dillard’s Store Data: Does
a State’s Tax Rate Affect Dillard’s Decision to
Open Stores There? 387
Chapter 10
Project Chapter (Basic) 390
Evaluating Business Processes 392
Question Set 1: Order-to-Cash 392
Question 1.1: How Efficiently Are We Collecting Our
Cash? 392
Question 1.2: Is the Delivery Process Following the
Expected Procedure? 396
Question 1.3: What Is the Total Revenue and Balance in
Accounts Receivable? 398
Question 1.4: What Else Can You Determine about the
O2C Process? 400
Question Set 2: Procure-to-Pay 400
Question 2.1: How Long Are We Taking to Pay Our
Invoices? 400
Question 2.2: Are There Any Erroneous Payments?
404
Question 2.3: Are We Missing Out on Discounts by
Paying Late? 405
Question 2.4: What Else Can You Determine about the
P2P Process? 406
Chapter 11
Project Chapter (Advanced): Analyzing Dillard’s Data to
Predict Sales Returns 408
Estimating Sales Returns 410
Question Set 1: Descriptive and Exploratory Analysis 410
Question 1.1: Which Attributes Could Help Predict
Percentage of Returned Sales? 410
Question 1.2: How Can We Explore the Product
Hierarchy Through Data Visualization? 412
Question Set 2: Diagnostic Analytics—Hypothesis Testing
422
Question 2.1: Is the Percentage of Sales Returned
Significantly Higher in January After the Holiday
Season? 422
Question 2.2: Is the Percentage of Sales Returned
Significantly Different in Arkansas Than the Rest of the
Country? 426
Question Set 3: Predictive Analytics 427
Question 3.1: By Looking at Line Charts for 2014 and
2015, Does the Average Percentage of Sales Returned
in 2014 Seem to Be Predictive of Returns in 2015? 427
Question 3.2: Using Regression, What Can We Predict
for Returns as a Percentage of Sales Based on
Historical Transactions? 429
Appendix A
Basic Statistics Tutorial 434
Appendix B
Accessing the Excel Data Analysis Toolpak 440
Appendix C
Excel (Formatting, Sorting, Filtering, and PivotTables)
442
page xxv
Appendix D
SQL Part 1 453
Appendix E
SQLite 466
Appendix F
Power Query 470
Appendix G
Tableau 476
Appendix H
SQL Part 2 480
Appendix I
Power BI 483
Appendix J
Dillard’s ER Diagram 491
Appendix K
Data Dictionaries 492
GLOSSARY 500
INDEX 504
page 2
Chapter 1
Data Analytics for Accounting and
Identifying the Questions
A Look Ahead
Chapter 2 provides a description of how data are prepared and
scrubbed to be ready for analysis to answer business questions. We
explain how to extract, transform, and load data and then how to
validate and normalize the data. In addition, we explain how data
standards are used to facilitate the exchange of data between
senders and receivers.
page 3
Shutterstock
Sources: J. Chen, Y. Tao, H. Wang, and T. Chen, “Big Data Based Fraud Risk
Management at Alibaba,” Journal of Finance and Data Science 1, no. 1 (2015), pp.
1–10; and K. Pal, “How to Combat Financial Fraud by Using Big Data,” 2016,
http://www.kdnuggets.com/2016/03/combat-financial-fraud-using-big-data.html.
OBJECTIVES
After reading this chapter, you should be able to:
page 4
DATA ANALYTICS
LO 1-
1
Define
Data
Analytics
.
Data surrounds us! By the year 2020, about 1.7 megabytes of new
information will be created every second for every human being on
the planet. In fact, more data have been created in the last 2 years
than in the entire previous history of the human race.1 With so much
data available about each of us (i.e., how we shop, what we read,
what we’ve bought, what music we listen to, where we travel, whom
we trust, etc.), arguably, there is the potential for analyzing those
data in a way that can answer fundamental business questions and
create value.
We define Data Analytics as the process of evaluating data with
the purpose of drawing conclusions to address business questions.
Indeed, effective Data Analytics provides a way to search through
large structured and unstructured data to discover unknown patterns
or relationships.2 In other words, Data Analytics often involves the
technologies, systems, practices, methodologies, databases,
statistics, and applications used to analyze diverse business data to
give organizations the information they need to make sound and
timely business decisions.3 That is, the process of Data Analytics
aims to transform raw data into knowledge to create value.
Big Data refers to datasets that are too large and complex for
businesses’ existing systems to handle utilizing their traditional
capabilities to capture, store, manage, and analyze these datasets.
Another way to describe Big Data is by use of 3 Vs: its volume (the
sheer size of the dataset), velocity (the speed of data processing),
and variety (the number of types of data). While sometimes Data
Analytics and Big Data are terms used interchangeably, we will use
the term Data Analytics throughout and focus on the ability to turn
data into knowledge and knowledge into value.
PROGRESS CHECK
1. How does having more data around us translate into value
for a company?
2. Banks know a lot about us, but they have traditionally used
externally generated credit scores to assess
creditworthiness when deciding whether to extend a loan.
How would you suggest a bank use Data Analytics to get a
more complete view of its customers’ creditworthiness?
Assume the bank has access to a customer’s loan history,
credit card transactions, deposit history, and direct deposit
registration. How could it assess whether a loan might be
repaid?
PROGRESS CHECK
3. Let’s assume a brand manager at Samsung identifies that
an older demographic might be concerned with the use of a
Samsung Galaxy smartphone and the radiation impact it
might have on the brain. How might Samsung use Data
Analytics to assess if this is a problem?
4. How might Data Analytics assess the higher cost of paying
employees to work overtime? Consider how Data Analytics
might be helpful in reducing a company’s overtime direct
labor costs in a manufacturing setting.
Auditing
Data Analytics plays an increasingly critical role in the future of audit.
In a recent Forbes Insights/KPMG report, “Audit 2020: A Focus on
Change,” the vast majority of survey respondents believe both that:
1. Audit must better embrace technology.
2. Technology will enhance the quality, transparency, and accuracy of
the audit.
Indeed, “As the business landscape for most organizations
becomes increasingly complex and fast-paced, there is a movement
toward leveraging advanced business analytic techniques to refine
the focus on risk and derive deeper insights into an page 6
7
organization.” Many auditors believe that auditor data
analytics will, in fact, lead to deeper insights that will enhance audit
quality. This sentiment of the impact of Data Analytics on the audit
has been growing for several years now and has given many public
accounting firms incentives to invest in technology and personnel to
capture, organize, and analyze financial statement data to provide
enhanced audits, expanded services, and added value to their
clients. As a result, Data Analytics is expected to be the next
innovation in the evolution of the audit and professional accounting
industry.
Given the fact that operational data abound and are easier to
collect and manage, combined with CEOs’ desires to utilize these
data, the accounting firms may now approach their engagements
with a different mindset. No longer will they be simply checking for
errors, material misstatements, fraud, and risk in financial statements
or merely be reporting their findings at the end of the engagement.
Instead, audit professionals will now be collecting and analyzing the
company’s data similar to the way a business analyst would to help
management make better business decisions. This means that, in
many cases, external auditors will stay engaged with clients beyond
the audit. This is a significant paradigm shift. The audit process will
be changed from a traditional process toward a more automated
one, which will allow audit professionals to focus more on the logic
and rationale behind data queries and less on the gathering of the
actual data.8 As a result, audits will not only yield important findings
from a financial perspective, but also information that can help
companies refine processes, improve efficiency, and anticipate future
problems.
“It’s a massive leap to go from traditional audit approaches to one that fully integrates
big data and analytics in a seamless manner.”9
Financial Reporting
Data Analytics also potentially has an impact on financial reporting.
With the use of so many estimates and valuations in financial
accounting, some believe that employing Data Analytics may
substantially improve the quality of the estimates and valuations.
Data from within an enterprise system and external to the company
and system might be used to address many of the questions that
face financial reporting. Many financial statement accounts are just
estimates and so accountants often ask themselves questions like
this to evaluate those estimates:
1. How much of the accounts receivable balance will ultimately be
collected? What should the allowance for loan losses look like?
2. Is any of our inventory obsolete? Should our inventory be valued at
market or cost (applying the lower-of-cost-or-market rule)? When
will it be out of date? Do we need to offer a discount on it now to get
it sold?
page 7
3. Has our goodwill been impaired due to the reduction in
profitability from a recent merger? Will it regain value in the near
future?
4. How should we value contingent liabilities like warranty claims or
litigation? Do we have the right amount?
Data Analytics may also allow an accountant or auditor to assess
the probability of a goodwill write-down, warranty claims or the
collectability of bad debts based on what customers, investors, and
other stakeholders are saying about the company in blogs and in
social media (like Facebook and Twitter). This information might help
the firm determine both its optimal response to the situation and
appropriate adjustment to its financial reporting.
It may be possible to use Data Analytics to scan the environment
—that is, scan Google searches and social media (such as
Instagram and Facebook) to identify potential risks and opportunities
to the firm. For example, in a data analytics sense, it may allow a
firm to monitor its competitors and its customers to better understand
opportunities and threats around it. For example, are its competitors,
customers, or suppliers facing financial difficulty, etc., that might
affect the company’s interactions with them and/or open up new
opportunities that otherwise it wouldn’t have considered?
Tax
Traditionally, tax work dealt with compliance issues based on data
from transactions that have already taken place. Now, however, tax
executives must develop sophisticated tax planning capabilities that
assist the company with minimizing its taxes in such a way to avoid
or prepare for a potential audit. This shift in focus makes tax data
analytics valuable for its ability to help tax staffs to predict what will
happen rather than reacting to what just did happen. Arguably, one
of the things that Data Analytics does best is predictive analytics—
predicting the future! An example of how tax data analytics might be
used is the capability to predict the potential tax consequences of a
potential international transaction, R&D investment, or proposed
merger or acquisition.
One of the issues of performing predictive Data Analytics is the
efficient organization and use of data stored across multiple systems
on varying platforms that were not originally designed for the tax
department. Organizing tax data into a data warehouse to be able to
consistently model and query the data is an important step toward
developing the capability to perform tax data analytics. This issue is
exemplified by the 29 percent of tax departments that find the
biggest challenge in executing an analytics strategy is integration
with the IT department and available technology tools.10
PROGRESS CHECK
5. How could the use of internal audit data analytics find the
pattern that one accountant enters the majority of the
journal entries each quarter? How might this data be used
to check if segregation of duties was appropriately
maintained? Why might this be an issue that would need
addressing?
6. How specifically will Data Analytics change the way a tax
staff does its taxes?
page 8
Source: Isson, J. P., and J. S. Harriott. Win with Advanced Business Analytics: Creating
Business Value from Your Data. Hoboken, NJ: Wiley, 2013.
We explain the full IMPACT cycle briefly here, but in more detail
in later in Chapters 2, 3, and 4. We use its approach throughout this
textbook.
Step 1: Identify the Questions (Chapter 1)
It all begins with understanding a business problem that needs
addressing. Questions can arise from many sources, including how
to better attract customers, how to price a product, or how to find
errors or fraud. Having a concrete, specific question that is
potentially answerable by Data Analytics is an important first step.
Accountants and auditors might be interested in questions like
the following:
Are employees circumventing internal controls over payments?
Are there any suspicious travel and entertainment expenses?
How can we increase the amount of add-on sales of additional
goods to our customers?
Are our customers paying us in a timely manner?
How can we predict the allowance for loan losses for our bank
loans?
How can we find transactions that are risky in terms of accounting
issues?
Who authorizes checks above $100,000?
How can errors be identified?
Step 2: Master the Data (Chapter 2)
Mastering the data requires one to know what data are available and
whether those data might be able to help address the business
problem. We need to know everything about the data, including how
to access, availability, reliability (if there are errors), and what time
periods are covered to make sure the data coincide with the timing of
our business problem, etc.
page 9
EXHIBIT 1-2
Example of Co-occurrence Grouping on Amazon.com
Source: Amazon Inc.
Profiling—An attempt to characterize the “typical” behavior of an
individual, group, or population by generating summary statistics
about the data (including mean, standard deviations, etc.). By
understanding the typical behavior, we’ll be able to more easily
identify abnormal behavior. When behavior departs from that typical
behavior—which we’ll call an anomaly—then further investigation is
warranted. Profiling might be used in accounting to identify fraud or
just those transactions that might warrant some additional
investigation (e.g., travel expenses that are three standard
deviations above the norm).
Link prediction—An attempt to predict a relationship between two
data items. This might be used in social media. For example,
because an individual might have 22 mutual Facebook friends with
me and we both attended Brigham Young University, is there a
chance we would like to be Facebook friends as well? Exhibit 1-3
provides an example of this used in Facebook. Link prediction in an
accounting setting might work to use social media to look for
relationships between related parties that are not otherwise
disclosed.
EXHIBIT 1-3
Example of Link Prediction on Facebook
Source: Facebook Inc.; Exactostock/SuperStock (Ana); Michael
DeLeon/Getty Images (Diego); Daniel Ernst/Getty Images (Leslie);
Sam Edwards/Glow Images (Daniel)
page 12
Back to Step 1
Of course, the IMPACT cycle is iterative, so once insights are gained
and outcomes are tracked, new questions emerge and the IMPACT
cycle begins anew.
PROGRESS CHECK
7. Let’s say we are trying to predict how much money college
students spend on fast food each week. What would be the
response, or dependent, variable? What would be
examples of independent variables?
8. How might a data reduction approach be used in auditing to
spend time and effort on the most important items?
DATA ANALYTIC SKILLS NEEDED BY
ANALYTIC-MINDED ACCOUNTANTS
LO 1-
5
Describe
the skills
needed
by
accounta
nts.
page 13
EXHIBIT 1-4
LendingClub Statistics
page 14
EXHIBIT 1-5
LendingClub Statistics by Reported Loan Purpose
68.18% of LendingClub borrowers report using their loans to
refinance existing loans or pay off their credit cards as of 12/31/18.
Source: Accessed March, 2019. https://www.lendingclub.com/info/statistics.action.
LendingClub actually provides datasets: data on the loans they
approved and funded as well as data for the loans that were
declined. In this chapter, we will emphasize the rejected loans and
the reasons why they were rejected.
As we learn about the data, it is important to know what is
available to us. To that end, there is a data dictionary that provides
descriptions for all of the data attributes of the dataset. A cut-out of
the data dictionary for the rejected stats file (i.e., the statistics about
those loans rejected) is shown in Exhibit 1-6.
EXHIBIT 1-6
2007–2012 LendingClub Data Dictionary for Declined Loan Data
RejectStats
Description
File
We could also take a look at the data files available for the
funded loan data. However, for our analysis in the rest of this
chapter, we use the Excel file “RejectStatsA Ready,” page 15
which has rejected loan statistics from 2007 to 2012.
It is a cleaned-up, transformed file ready for analysis. We’ll learn
more about data scrubbing in Chapter 2.
Exhibit 1-7 provides a cut-out of the 2007–2012 “Approved Loan”
dataset provided.
EXHIBIT 1-7
2007–2012 Declined Loan Applications (RejectStatsA) Dataset
Source: Microsoft Excel, 2016.
EXHIBIT 1-8
LendingClub Declined Loan Applications by DTI (Debt-to-Income)
DTI bucket includes high (debt > 20 percent of income), medium
(“mid”) (debt between 10 and 20 percent of income), and low (debt <
10 percent of income). (PivotTable shown here required manually
sorting rows to get in proper order.)
Source: Microsoft Excel, 2016.
EXHIBIT 1-9
LendingClub Declined Loan Applications by Employment Length (Years of
Experience)
EXHIBIT 1-10
Breakdown of Customer Credit Scores (or Risk Scores)
Source: Cafecredit.com.
Another predictor of loan repayment is the credit score that the
borrower has. We classify the sample according to this breakdown
into excellent, very good, good, fair, poor, and very bad credit
according to their credit score noted in Exhibit 1-10.
page 18
EXHIBIT 1-11
The Count of LendingClub Rejected Loan Applications by Credit or Risk Score
(PivotTable shown here required
Classification Using PivotTable Analysis
manually sorting rows to get in proper order.)
Source: Microsoft Excel, 2016.
So, if these are the applications that were all rejected, the
question is how many of these that might apply for a loan not only
had excellent credit, but also had worked more than 10 years and
had asked for a loan that was less than 10 percent of their income
(in the low DTI bucket)? Use of a PivotTable (as shown in Exhibit 1-
12) allows us to consider this three-way interaction and provides an
answer of 365 out of 645,414 (0.057 percent of the total). This might
suggest that the use of these three metrics is reasonable at
predicting loan rejection because the number who have excellent
credit, worked more than 10 years, and requested a loan that was
less than 10 percent of their income was such a small percentage of
the total.
EXHIBIT 1-12
The Count of LendingClub Declined Loan Applications by Credit Score, Debt-to-
Income, and Employment Length Using PivotTable Analysis (highlighting added)
page 19
Perhaps those with excellent credit just asked for too big of a
loan given their existing debt and that is why they were rejected.
Exhibit 1-13 shows the PivotTable analysis. The analysis shows
those with excellent credit asked for a larger loan (16.2 percent of
income) given the debt they already had as compared to any of the
others, suggesting a reason even those potential borrowers with
excellent credit were rejected.
EXHIBIT 1-13
The Average Debt-to-Income Ratio (shown as a percentage) by Credit (Risk) Score for
LendingClub Declined Loan Applications Using PivotTable Analysis
Source: Microsoft Excel, 2016.
Communicate Insights
Certainly further and more sophisticated analysis could be
performed, but at this point we have a pretty good idea of what
LendingClub uses to decide whether to extend a loan. We can
communicate these insights either by showing the PivotTables or
stating what three of the determinants are.
Track Outcomes
There are a wide variety of outcomes that could be tracked. But in
this case, it might be best to see if we could predict future outcomes.
For example, the data we analyzed was from 2007–2012. We could
make our predictions for subsequent years based on what we had
found in the past and then test and see how accurate we are with
those predictions. We could also change our prediction model when
we learn new insights and additional data become available.
In this chapter, we discussed how businesses and accountants
derive value from Data Analytics. We gave some specific examples
of how Data Analytics is used in business, auditing, managerial
accounting, financial accounting, and tax accounting.
We introduced the IMPACT model and explained how it is used.
And then we talked specifically about the importance of identifying
the question. We walked through the first few steps of the IMPACT
model and introduced eight data approaches. We also discussed the
data analytic skills needed by analytic-minded accountants.
We followed this up by looking at the case of why LendingClub
rejected loans for a set of its customers using the IMPACT model.
We performed this analysis using various filtering and PivotTable
tasks.
page 20
PROGRESS CHECK
9. Doing your own analysis, download the rejected loans
dataset titled “RejectStatsA Ready” and perform an Excel
PivotTable analysis by state and figure out the number of
rejected applications for the state of California. That is,
count the loans by state and see what percentage of the
rejected loans came from California. How close is that to
the relative proportion of the population of California as
compared to that of the United States?
10. Doing your own analysis, download the rejected loans
dataset titled “RejectStatsA Ready” and run an Excel
PivotTable by risk (or credit) score classification and DTI
bucket to determine the number of rejected loans requested
by those rated as having an excellent credit score.
Summary
With data all around us, businesses and accountants
are looking at Data Analytics to extract the value that the
data might possess.
Data Analytics is changing the audit and the way that
accountants look for risk. Now, auditors can consider
100 percent of the transactions in their audit testing. It is
also helpful in finding anomalous or unusual
transactions. Data Analytics is also changing the way
financial accounting, managerial accounting, and taxes
are done at a company.
The IMPACT cycle is a means of doing Data Analytics
that goes all the way from identifying the question, to
mastering the data, to performing data analyses and
communicating results. It is recursive in nature,
suggesting that as questions are addressed, new
important questions may emerge that can be addressed
in a similar way.
Eight data approaches address different ways of testing
the data: classification, regression, similarity matching,
clustering, co-occurrence grouping, profiling, link
prediction, and data reduction. These are explained in
more detail in Chapter 3.
Data analytic skills needed by analytic-minded
accountants are specified and are consistent with the
IMPACT cycle, including the following:
Key Words
Big Data (4) Datasets that are too large and complex
for businesses’ existing systems to handle utilizing their
traditional capabilities to capture, store, manage, and
analyze these datasets.
page 21
ANSWERS TO PROGRESS
CHECKS
1. The plethora of data alone does not necessarily
translate into value. However, if we carefully use the
data to help address critical business problems and
questions, the data may create value.
2. Banks could certainly use credit scores from companies
like Experian, TransUnion, and Equifax, but if they
have access to all of the banking information of their
clients, arguably they could make more informed
decisions. Banks would know how much money they
have and how they spend it. Banks would know if they
had prior loans and if they were paid in a timely
manner. Banks would know where they work and their
monthly income via the direct deposits. All of these
combined, in addition to a credit score, might be used
to assess creditworthiness to gain a better evaluation of
customers’ creditworthiness when they would like a
loan. It might also give us needed information for a
marketing campaign to target potential creditworthy
customers.
3. The brand manager at Samsung might use Data
Analytics to see what is being said about Samsung’s
phones on social media websites (e.g., Snapchat,
Instagram, and Facebook), particularly those that
attract an older demographic. This will help the
manager assess if there is a problem with the
perceptions of its phones.
4. Data Analytics might be used to collect information on
the amount of overtime. Who worked overtime? What
were they working on? Do we actually need more full-
time employees to reduce the level of overtime (and its
related costs to the company and to the employees)?
All of these questions could be addressed by looking at
recent records explaining the use of overtime records.
5. Data Analytics could tabulate the number of journal
entries by an accountant to see who entered the most
journal entries. This might be an issue if there was a
perception of a problem in risk, such as segregation of
duties in having one person enter so many journal
entries or just how the accounting workload is
distributed across accounting staff.
page 22
6. The tax staff would become much more
adept at efficiently organizing data from multiple
systems across an organization and performing Data
Analytics to help with tax planning to structure
transactions in a way that might minimize taxes.
7. The dependent variable could be the amount of money
spent on fast food. Independent variables could be
proximity of the fast food, ability to cook own food,
discretionary income, socioeconomic status, etc.
8. The data reduction approach might help auditors spend
more time and effort on the riskiest transactions or on
those that might be anomalous in nature. This will help
them more efficiently spend their time on items that may
well be of highest importance.
9. An analysis of the rejected loans suggests that 85,793
of the total 645,414 rejected loans were from the state
of California. That represents 13.29 percent of the total
rejected loans. This is greater than the relative
population of California to the United States as of the
2010 census, of 12.1 percent
(37,253,956/308,745,538).
Source: Microsoft Excel, 2016.
page 23
Multiple Choice Questions
1. Big Data is often described by the three Vs, or
a. volume, velocity, and variability.
b. volume, velocity, and variety.
c. volume, volatility, and variability.
d. variability, velocity, and variety.
2. Which approach to Data Analytics attempts to assign
each unit in a population into a small set of classes (or
groups) where the unit best fits?
a. Regression
b. Similarity matching
c. Co-occurrence grouping
d. Classification
3. Which approach to Data Analytics attempts to identify
similar individuals based on data known about them?
a. Classification
b. Regression
c. Similarity matching
d. Data reduction
4. Which approach to Data Analytics attempts to predict
relationship between two data items?
a. Profiling
b. Classification
c. Link prediction
d. Regression
5. Which of these terms is defined as being a central
repository of descriptions for all of the data attributes of
the dataset?
a. Big Data
b. Data warehouse
c. Data dictionary
d. Data Analytics
6. Which skills were not emphasized that analytic-minded
accountants should have?
a. Develop an analytics mindset
b. Data scrubbing and data preparation
c. Classification of test approaches
d. Define and address problems through statistical data
analysis
7. Which skills were not emphasized that analytic-minded
accountants should have?
a. Data quality
b. Descriptive data analysis
c. Data visualization
d. Data and systems analysis and design
8. The IMPACT cycle includes all except the following
process:
a. perform test plan.
b. visualize the data.
c. master the data.
d. track outcomes.
page 24
9. The IMPACT cycle includes all except the
following process:
a. data preparation.
b. communicate insights.
c. address and refine results.
d. perform test plan.
10. By the year 2020, about 1.7 megabytes of new
information will be created every:
a. week.
b. second.
c. minute.
d. day.
Discussion Questions
1. Define Data Analytics and explain how a university
might use its techniques to recruit and attract potential
students.
2. Give an example of how Data Analytics creates value
for businesses.
3. Give an example of how Data Analytics creates value
for accounting.
4. How might Data Analytics be used in financial
reporting? And how might it be used in doing tax
planning?
5. Describe the IMPACT cycle. Why does its order of the
processes and its recursive nature make sense?
6. Why is identifying the question such a critical first step
in the IMPACT process cycle?
7. What is included in mastering the data as part of the
IMPACT cycle described in the chapter?
8. In the chapter, we mentioned eight different data
approaches. Which data approach was used by
Alibaba, as mentioned in the chapter-opening vignette?
9. What data approach mentioned in the chapter might be
used by Facebook to find friends?
10. Auditors will frequently use the data reduction approach
when considering potentially risky transactions. Provide
an example of why focusing on a portion of the total
number of transactions might be important for auditors
to assess risk.
11. Which data approach might be used to assess the
appropriate level of the allowance for doubtful
accounts?
12. Why might the debt-to-income attribute included in the
declined loans dataset considered in the chapter be a
predictor of declined loans? How about the credit (risk)
score?
13. To address the question “Will I receive a loan from
LendingClub?” we had available data to assess the
relationship among (1) the debt-to-income ratios and
number of rejected loans, (2) the length of employment
and number of rejected loans, and (3) the credit (or risk)
score and number of rejected loans. What additional
data would you recommend to further assess whether a
loan would be offered? Why would it be helpful?
Problems
1. Navigate to the Additional Student Resources page on
Connect. Under Chapter 1 Data Files, download and
consider the LendingClub data dictionary file
“LCDataDictionary” specifically the LoanStats tab. This
represents the data dictionary for the loans that were
funded. Choosing some of the data attributes listed
there, which attributes do you think might predict which
loans will go delinquent and which will ultimately be fully
repaid? How could we test that?
page 25
2. Download and consider the rejected loans
dataset of LendingClub data titled “RejectStatsA
Ready.” Given the analysis performed in the chapter,
what three items do you believe would be most useful
in predicting loan acceptance or rejection? What
additional data do you think could be solicited either
internally or externally that would help you predict loan
acceptance or rejection?
3. Download the rejected loans dataset of LendingClub
data titled “RejectStatsA Ready” from the Connect
website and do an Excel PivotTable by state; then
figure out the number of rejected applications for the
state of Arkansas. That is, count the loans by state and
compute the percentage of the total rejected loans in
the USA that came from Arkansas. How close is that to
the relative proportion of the population of Arkansas as
compared to the overall U.S. population (per 2010
census)?
4. Download the rejected loans dataset of LendingClub
data titled “RejectStatsA Ready” from the Connect
website and do an Excel PivotTable by state; then
figure out the number of rejected applications for each
state. Reorder these and make a graph ordering the
states and the number of rejected loans from highest to
lowest. Is there a lot of variability among states?
For Problems 5, 6, and 7, we will be cleaning a data
file in preparation for subsequent analysis.
The analysis performed on LendingClub data in the
chapter was for the years 2007–2012. For this and
subsequent problems, please download the declined
loans table for 2013–2014 from the Connect website.
5. Consider the 2013 declined loan data from
LendingClub titled “RejectStatsB2013” from the
Connect website. Similar to the analysis done in the
chapter, let’s scrub the risk score data. First, because
our analysis requires risk scores, debt-to-income data,
and employment length, we need to make sure each of
them has valid data.
a. Open the file in Excel.
b. Sort the file based on risk score and remove those
observations (the complete row or record) that have a
missing score or a score of zero, if needed.
c. Assign each risk score to a risk score bucket similar to
the chapter. That is, classify the sample according to
this breakdown into excellent, very good, good, fair,
poor, and very bad credit according to their credit
score noted in Exhibit 1-10. Classify those with a
score greater than 850 as “Excellent.” Consider using
nested if–then statements to complete this. Or sort by
risk score and manually input into appropriate risk
score buckets.
d. Run a PivotTable analysis that shows the number of
loans in each risk score bucket. Which group had the
most rejected loans (biggest count)? Which group had
the least rejected loans (smallest count)? This is the
deliverable. Is it similar to Exhibit 1-11 performed on
years 2007–2012?
6. Consider the 2013 declined loan data from
LendingClub titled “RejectStatsB2013.” Similar to the
analysis done in the chapter, let’s scrub the debt-to-
income data. Because our analysis requires risk scores,
debt-to-income data, and employment length, we need
to make sure each of them has valid data.
a. Sort the file based on debt-to-income and remove
those observations (the complete row or record) that
have a missing score, a score of zero, or a negative
score.
b. Assign each valid debt-to-income ratio into three
buckets (labeled DTI bucket) by classifying each debt-
to-income ratio into high (>20.0 percent), medium
(10.0–20.0 percent), and low (<10.0 percent) buckets.
Consider using nested if-then statements to complete
this. Or sort the row and manually input.
c. Run a PivotTable analysis that shows the number of
loans in each DTI bucket. Any interpretation of why
these loans were declined based on debt-to-income
ratios?
7. Consider the 2013 declined loan data from
LendingClub titled “RejectStatsB2013.” Similar to the
analysis done in the chapter, let’s scrub the
employment length. Because our analysis requires risk
scores, debt-to-income data, and employment length,
we need to make sure each of them has valid data.
page 26
a. Sort the file based on employment length
and remove those observations (the complete row or
record) that have a missing score (“NA”). Note that we
are including the employment lengths of zero, different
than the analysis in the chapter text.
b. Sort the file based on debt-to-income and remove
those observations (the complete row or record) that
have a missing score, a score of zero, or a negative
score, similar to that done in Problem 1-6.
c. Sort the file based on risk score and remove those
observations (the complete row or record) that have a
missing score or a score of zero, similar to that done
in Problem 1-5.
d. There should now be 669,993 observations. Any
thoughts on what biases are imposed when we
remove observations? Is there another way to do this?
e. Run a PivotTable analysis to show the number of
Excellent Risk Scores but High DTI Bucket loans in
each Employment year bucket. Any interpretation of
why these loans were declined?
page 27
On a Mac
1. Press Cmd + Shift + 4 and draw a rectangle across
your screen that includes your entire window.
2. Your screenshot will be saved in your Desktop folder.
3. Drag the screenshot file into your Word document.
4. Keep your document open and go the next part of the
lab.
page 28
End of Lab
Company summary
You were just hired as an analyst for a credit rating
agency that evaluates publicly listed companies in the
United States. The company already has some Data
Analytics tools that it uses to evaluate financial
statements and determine which companies have higher
risk and which companies are growing quickly. The
company uses these analytics to provide ratings that will
allow lenders to set interest rates and determine whether
to lend money in the first place. As a new analyst, you’re
determined to make a good first impression.
Technique
Some experience with spreadsheets and basic formulas
is helpful here.
Software needed
Word processor
Web browser
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
End of Lab
Lab 1-2 Data Analytics in Managerial
Accounting
Let’s see how we might use customer data to understand
some simple data analytics. The purpose of this lab is to
help you identify relevant questions that may be answered
using data analytics.
Company summary
LendingClub is a U.S.-based, peer-to-peer lending
company, headquartered in San Francisco, California.
LendingClub facilitates both borrowing and lending by
providing a platform for unsecured personal loans
between $1,000 and $35,000. The loan period is for either
3 or 5 years. You have been brought in to help managers
improve their loan application process.
Technique
Some critical and creative thinking is helpful here.
Software needed
Word processor
page 32
Attribute Description
id Loan identification number
member_id Membership id
loan_amnt Requested loan amount
emp_length Employment length
issue_d Date of loan issue
loan_status Fully paid or charged off
pymnt_plan Payment plan: yes or no
purpose Loan purpose: e.g., wedding, medical,
debt_consolidation, car
zip_code Zip code
addr_state State
dti Debt-to-income ratio
delinq_2y Late payments within the past two
years
earliest_cr_line Oldest credit account
inq_last_6mnths Credit inquiries in the past 6 months
open_acc Number of open credit accounts
revol_bal Total balance of all credit accounts
Attribute Description
revol_util Percentage of available credit in use
total_acc Total number of credit accounts
application_type Individual or joint application
page 33
End of Lab
Company summary
ABC Company is a large retailer that collects its order-to-
cash data in a large ERP system that was recently
updated to comply with the AICPA’s audit data standards.
ABC Company currently collects all relevant data in the
ERP system and digitizes any contracts, orders, or
receipts that are completed on paper. The credit
department reviews customers who request credit. Sales
orders are approved by managers before being sent to
the warehouse for preparation and shipment. Cash
receipts are collected by a cashier and applied to a
customer’s outstanding balance by an accounts
receivable clerk.
You have been assigned to the audit team that will
perform the internal controls audit of ABC Company.
Technique
Familiarity with database structure and primary-foreign
key relationships may be helpful.
Software needed
Word processor
Web browser
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
page 34
End of Lab
Company summary
Dillard’sis a department store with approximately 330
stores in 29 states. Its headquarters is in Little Rock,
Arkansas. You can learn more about Dillard’s by looking
at finance.yahoo.com (ticker symbol = DDS) and the
Wikipedia site for DDS. You’ll quickly note that William T.
Dillard II is an accounting grad of the University of
Arkansas and the Walton College of Business, which may
be why he shared transaction data with us to make
available for this lab and labs throughout this text.
page 35
Technique
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials. From the Walton
College website, we note the following:
Software needed
Word processor
Web browser
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
Access to the dataset is available at
http://walton.uark.edu/enterprise/dillardshome.php. If you
plan on doing additional labs on Dillard’s data, you must
receive permission from the Walton College to access
the data before use. Additional access instructions are
available from your instructor or on the Connect website.
Metadata
Attribute Description Values
AMT Total amount of the 26.25, 44.00, . . .
transaction charge to
the customer
BRAND The brand name of TOMMY HI, MARK
the stock item ECK, . . .
CITY City where the store ST. LOUIS,
is located TAMPA, . . .
CLASSID Stock Item 5305, 4505, 8306, .
Classification ..
COLOR The color of the stock BLACK, KHAKI, . .
item .
COST The cost of the stock 9.00, 15.00, . . .
item
DEPT Department where 800, 801, 1100, . . .
the stock item belong
DEPTDESC Description of the CLINIQUE,
department LESLIE, . . .
INTERID Internal ID 265005802,
671901998, . . .
MIC Master Item Code 862, 689, . . .
ORGPRICE Original price of the 75.00, 44.00, . . .
item stock
PACKSIZE The quantity of item 1, 3, . . .
per pack
Metadata
Attribute Description Values
QUANTITY Item quantity of the 1, 2, 3, . . .
transaction
REGISTER Register Number of 580, 30, 460, . . .
the current
transaction
RETAIL The retail price of the 19.75, 34.00, . . .
stock item
SALEDATE Sale price of the item 2005-01-20, 2005-
stock 06-02, . . .
SEQ Sequence number 298100028,
213500030, . . .
SIZE The size of the stock L, 070N, 22, . . .
item
SKU Stock Keeping Unit 4757355, 2128748,
number of the stock . . .
item
SPRICE Sale price of the item 26.25, 65.00, . . .
stock
STATE State where the store FL, MO, AR, . . .
is located
STORE Store Number 2, 3, 4, 100, . . .
STYLE The specific style of 51 MERU08, 9
the stock item 126NAO, . . .
STYPE Type of the P, R
transaction (Return
or Purchase)
TRANNUM Transaction Code 09700, 01800, . . .
Metadata
Attribute Description Values
UPC Universal Product 000400004087945,
Code for the stock . . .
item
VENDOR The vendor number 5511283, 2726341,
of the stock item ...
ZIP ZIP Code 33710, 63126, . . .
End of Lab
1 http://www.forbes.com/sites/bernardmarr/2015/09/30/big-data-20-mind-boggling-facts-
everyone-must-read/#2a3289006c1d (accessed March 2019).
2 Roger S. Debreceny and Glen L. Gray, “IT Governance and Process Maturity: A
Multinational Field Study,” Journal of Information Systems 27, no. 1 (Spring 2013), pp.
157–88.
3 H. Chen, R. H. L. Chiang, and V. C. Storey, “Business Intelligence Research,” MIS
Quarterly 34, no. 1 (2010), pp. 201–3.
4 “Data Driven: What Students Need to Succeed in a Rapidly Changing Business World,”
PwC, https://www.pwc.com/us/en/faculty-resource/assets/pwc-data-driven-paper-
feb2015.pdf, February 2015 (accessed March 20, 2019).
5 “Open Data: Unlocking Innovation and Performance with Liquid Information,” McKinsey
Global Institute,
http://www.mckinsey.com/insights/business_technology/open_data_unlocking_innovation_
and_performance_with_liquid_information, October 2013 (accessed September 7, 2015).
6 Joseph Kennedy, “Big Data’s Economic Impact,” https://www.ced.org/blog/entry/big-datas-
economic-impact, December 3, 2014 (accessed January 9, 2016).
7 Deloitte, “Adding Insight to Audit: Transforming Internal Audit Through Data Analytics.”
Accessed January 10, 2016.
http://www2.deloitte.com/content/dam/Deloitte/ca/Documents/audit/ca-en-audit-adding-
insight-to-audit.pdf.
8 PwC, “Data Driven: What Students Need to Succeed in a Rapidly Changing Business
World,” http://www.pwc.com/us/en/faculty-resource/assets/PwC-Data-driven-paper-
Feb2015.pdf, February 2015 (accessed January 9, 2016).
9 EY, “How Big Data and Analytics Are Transforming the Audit.” Accessed January 27,
2016. https://eyo-iis-pd.ey.com/ARC/documents/EY-reporting-ssue-9.pdf,posted April
2015.
10 Deloitte, “The Power of Tax Data Analytics,”
http://www2.deloitte.com/us/en/pages/tax/articles/top-ten-things-about-tax-data-
analytics.html (accessed October 12, 2016).
11 “One-Third of BI Pros Spend Up to 90% of Time Cleaning Data,”
http://www.eweek.com/database/one-third-of-bi-pros-spend-up-to-90-of-time-cleaning-
data.html, posted June 2015 (accessed March 15, 2016).
12 Foster Provost and Tom Fawcett, Data Science for Business: What You Need to Know
about Data Mining and Data-Analytic Thinking (Sebastopol, CA: O’Reilly Media, 2013).
13 https://www.lendingclub.com/ (accessed September 29, 2016).
page 38
Chapter 2
Mastering the Data
A Look Back
Chapter 1 defined Data Analytics and explained that the value of
Data Analytics is in the insights it provides. We described the Data
Analytics Process using the IMPACT cycle model and explained how
this process is used to address both business and accounting
questions. We specifically emphasized the importance of identifying
appropriate questions that data analytics might be able to address.
A Look Ahead
Chapter 3 describes how to go from defining business problems to
analyzing data, answering questions, and addressing business
problems. We identify four types of data analytics and describe
various approaches and techniques that are most relevant to
analyzing accounting data.
page 39
Wichy/Shutterstock
We are lucky to live in a world in which data are abundant. However, even with rich
sources of data, when it comes to being able to analyze data and turn them into
useful information and insights, very rarely can an analyst hop right into a dataset
and begin analyzing. Datasets almost always need to be cleaned and validated
before they can be used. Not knowing how to clean and validate data can, at best,
lead to frustration and poor insights and, at worst, lead to horrible security violations.
While this text takes advantage of open source datasets, these datasets have all
been scrubbed not only for accuracy, but also to protect the security and privacy of
any individual or company whose details were in the original dataset.
In 2015, a pair of researchers named Emil Kirkegaard and Julius Daugbejerg
Bjerrekaer scraped data from OkCupid, a free dating website, and provided the data
onto the “Open Science Framework,” a platform researchers use to obtain and share
raw data. While the aim of the Open Science Framework is to increase transparency,
the researchers in this instance took that a step too far—and a step into illegal
territory. Kirkegaard and Bjerrekaer did not obtain permission from OkCupid or from
the 70,000 OkCupid users whose identities, ages, genders, religions, personality
traits, and other personal details maintained by the dating site were provided to the
public without any work being done to anonymize or sanitize the data. If the
researchers had taken the time to not just validate that the data were complete, but
also to sanitize them to protect the individuals’ identities, this would not have been a
threat or a news story. On May 13, 2015, the Open Science Framework removed the
OkCupid data from the platform, but the damage of the privacy breach had already
been done.1
OBJECTIVES
After reading this chapter, you should be able to:
page 40
This chapter will provide details for each of these five steps.
Before you can identify and obtain the data, you must have a
comfortable grasp on what data are available to you and where such
data are stored. A basic understanding of accounting processes and
its associated data, how those data are organized, and why the data
was captured, can help you request the right data and facilitate that
request so that you know exactly where each piece of data is held.
Accounting data can be presented in many formats. When you
think of accounting data, you might think of financial statements,
budgets, and managerial reports regarding point-of-sale, cost, supply
chain, or customer relationship management data. All of these
reports are the result of compiling data into a structured format that
is ready for consumption. Financial statements get placed online or
mailed out to investors, budgets get approved and managed, and
managerial reports are sent to decision-makers to monitor progress.
However, each of these documents originated with data in its rawest
form. Sometimes you will be required to make decisions or perform
analysis based on these formalized documents, but when you are
performing data analysis, it is always preferable to receive data in its
rawest form (not aggregated or organized with subheadings) so that
you have more flexibility with your analysis and so there is no
question about what the data represents. Because of that
preference, in this chapter, we will focus on how raw data is stored
so that you can learn how to access that data for your data analysis
projects.
Even with the focus on raw data and where it is stored, there is
variety in how data can be stored. Most commonly, data is stored in
either flat files or a database. For many of our examples and hands-
on activities in this text, we will transform our data that is stored in a
database into a flat file. The most common example of a flat file that
you are likely used to is a range of data in an Excel page 41
spreadsheet. Put simply, a flat file is a means of
maintaining all of the data you need in one place. We can do a lot of
incredible data analysis and number crunching in flat files in Excel,
but as far as storing our data, it is generally inefficient to store all of
the data that you need for a given business process all in one place.
Instead, a relational database is frequently used for data storage
because it is more capable of ensuring data integrity and maintaining
“one version of the truth” across multiple processes. There are a
variety of applications that support relational databases (these are
referred to as Relational Database Management Systems or
RDBMS). We cover three different RDBMS in this textbook:
Microsoft Access, SQLite, and Microsoft SQL Server.
Microsoft Access: for any user of Microsoft products (Word, Excel,
PowerPoint, etc.) the navigation of Microsoft Access is familiar, so it
is a relatively easy entry point for working with relational databases.
It is a great entry tool to learn how tables are related via primary
and foreign keys because entire databases can be built via a
graphical user interface instead of having to use SQL statements to
create tables and relationships. The usage of Microsoft Access
throughout the textbook is meant to provide an entry-level view into
data management and the structure of a relational database, as well
as a good starting point for writing SQL queries to extract data.
SQLite: SQLite is an open-source solution to data management.
For a user that is at least somewhat familiar with relational database
management, it is a friendly tool, and presents an intuitive interface
for writing SQL statements. The usage of SQLite throughout the
textbook is meant to provide an open-source alternative to Microsoft
Access. It also provides a good starting point for writing SQL
queries to extract data.
Microsoft SQL Server: Microsoft SQL Server can support
enterprise-level data in ways that smaller RDBMS programs, such
as Access and SQLite, cannot. While both Microsoft Access and
SQLite can be (and are) used in professional settings, the usage of
SQL Server throughout the textbook is meant to provide experience
that replicates working with much larger and more complex datasets
that you will likely experience in the professional world.
There are many other examples of relational database
management systems, including Teradata, MySql, Oracle RDBMS,
IBM DB2, Amazon RDS, and PostGreSQL.
Regardless of the DBMS, relational databases have principles
that guide how they are modeled.
Exhibit 2-1, a simplified version of a Unified Modeling Language
(UML) class diagram, is an illustration or a drawing of the tables and
their relationships to each other (i.e., a database schema). Relational
databases are discussed in greater depth in Learning Objective 2-2.
EXHIBIT 2-1
Procure-to-Pay Database Schema (Simplified)
page 42
TABLE 2-1
Line Items Table: Purchase Order Detail Table
TABLE 2-2
Purchase Order Table
page 44
PROGRESS CHECK
1. Referring to Exhibit 2-1, locate the relationship between the
Supplier and Purchase Order tables. What is the unique
identifier of each table? (The unique identifier attribute is
called the primary key—more on how it’s determined in the
next learning objective.) Which table contains the attribute
that creates the relationship? (This attribute is called the
foreign key—more on how it’s determined in the next
learning objective.)
2. Referring to Exhibit 2-1, review the attributes in the
Purchase Order table. There are two foreign keys listed in
this table that do not relate to any of the tables in the
diagram. Which tables do you think they are? What type of
data would be stored in those two tables?
3. Refer to the two tables that you identified in Progress
Check 2 above that would relate to the Purchase Order
table, but are not pictured in this diagram. Draw a sketch of
what the UML Class Diagram would look like if those tables
were included. Draw the two classes to represent the two
tables (i.e., rectangles), the relationships that should exist,
and identify the Primary Keys for the two new tables.
DATA DICTIONARIES
In the previous section, you learned about how data are stored by
focusing on the procure-to-pay database schema. Viewing schemas
and processes in isolation clarifies each individual process, but it can
also distort reality—these schemas typically do not represent their
own separate databases. Rather, each process-specific database
schema is a piece of a greater whole, all combining to form one
integrated database.
As you can imagine, once these processes come together to be
supported in one database, the amount of data can be massive.
Understanding the processes and the basics of how data are stored
is critical, but even with a sound foundation, it would be nearly
impossible for an individual to remember where each piece of data is
stored, or what each piece of data represents.
Creating and using a data dictionary is paramount in helping
database administrators maintain databases and analysts identify
the data they need to use. In Chapter 1, you were introduced to the
data dictionary for the LendingClub. The same cut-out of the
LendingClub data dictionary is provided in Exhibit 2-2 as a
reminder.
EXHIBIT 2-2
2007–2012 LendingClub Data Dictionary for Declined Load Data
RejectStats
Description
File
Amount Total requested loan amount
Requested
Application Date of borrower application
Date
Loan Title Loan title
Risk_Score Borrower risk (FICO) score
Dept-To- Ratio of borrower total monthly debt payments
Income Ratio divided by monthly income.
Zip Code The first 3 numbers of the borrower zip code
provided from loan application.
State Two digit State Abbreviation provided from loan
application.
Employment Employment length in years, where 0 is less than
Length 1 and 10 is greater than 10.
RejectStats
Description
File
Policy Code policy_code=1 if publicly available.
policy_code=2 if not publicly available
page 45
TABLE 2-3
Supplier Data Dictionary
PROGRESS CHECK
4. What is the purpose of the primary key? A foreign key? A
nonkey (descriptive) attribute?
5. How do data dictionaries help you understand the data from
a database or flat file?
Once you have familiarized yourself with the data via data
dictionaries and schemas, you are prepared to request the data from
the database manager or extract the data yourself. The ETL process
begins with identifying which data you need and is complete when
the clean data are loaded in the appropriate format into the tool to be
used for analysis.
This process involves:
1. Determining the purpose and scope of the data request.
2. Obtaining the data.
3. Validating the data for completeness and integrity. page 46
4. Cleaning the data.
5. Loading the data for analysis.
Extract
Determine exactly what data you need in order to answer your
business questions. Requesting data is often an iterative practice,
but the more prepared you are when requesting data, the more time
you will save for yourself and the database team in the long run.
Requesting the data involves the first two steps of the ETL
extraction process. Each step has questions associated with it that
you should try to answer.
page 47
In a later chapter, you will be provided a deep dive into the Audit
Data Standards (ADS) developed by the American Institute of
Certified Public Accountants (AICPA).5 The aim of the ADS is to
alleviate some of the headaches associated with requesting data for
audits by providing a guide to standardize audit data requests and
the format in which the data are provided from the company being
audited to the auditor. These include the following:
1. Order-to-Cash subledger standards
2. Procure-to-Pay subledger standards
3. Inventory subledger standards
4. General Ledger standards
While the ADSs provide an opportunity for standardization, they
are voluntary. Regardless of whether your request for data will
conform to the standards, a data request form template can make
communication easier between data requester and provider.
Requester Name:
Requester Contact Number:
Requester Email Address:
Please provide a description of the information needed
(indicate which tables and which fields you require):
Once the data are received, you can move on to the transformation
phase of the ETL process. The next step is to ensure that the data
that have been extracted are complete and correct.
page 48
page 49
Transform
Step 3: Validating the Data for Completeness and
Integrity
Any time data is moved from one location to another, it is possible
that some of the data could have been lost during the extraction. It is
critical to ensure that the extracted data are complete (that the data
you wish to analyze were extracted fully) and that the integrity of the
data remains (that none of the data have been manipulated or
tampered with during the extraction). Being able to validate the data
successfully requires you to not only have the technical skills to
perform the task, but also to know your data well. If you know what
to reasonably expect from the data in the extraction (How many
records should have been extracted? What are some checksums
you can rely on to ensure the data is complete and hasn’t been
tampered with?), then you have a higher likelihood of identifying
errors or issues from the extraction. The following four steps should
be completed to validate the data after extraction:
1. Compare the number of records that were extracted to the number
of records in the source database. This will give you a quick
snapshot into whether any data were skipped or didn’t extract
properly due to an error or datatype mismatch. This is a critical first
step, but it will not provide information about the data themselves
other than ensuring that the record counts match.
2. Compare descriptive statistics for numeric fields: Calculating the
minimums, maximums, averages, and medians will help ensure that
the numeric data were extracted completely.
3. Validate Date/Time fields in the same way as numeric fields by
converting the datatype to numeric and running descriptive statistic
comparisons.
4. Compare string limits for text fields: Text fields are unlikely to cause
an issue if you extracted your data into Excel because Excel allows
a generous maximum character number (for example, Excel 2016
allows 32,767 characters per cell). However, if you extracted your
data into a tool that does limit the number of characters in a string,
you will want to compare these limits to the source database’s limits
per field to ensure that you haven’t cut off any characters.
If an error is found, depending on the size of the dataset, you
may be able to easily find the missing or erroneous data by scanning
the information with your eyes. However, if the page 50
dataset is large, or if the error is difficult to find, it may
be easiest to go back to the extraction and examine how the data
were extracted, fix any errors in the SQL code, and re-run the
extraction.
Load
Step 5: Loading the Data for Data Analysis
If the extraction and transformation steps have been done well by
the time you reach this step, the loading part of the ETL process
should be the simplest step. It is so simple, in fact, that if your goal is
to do your analysis in Excel and you have already transformed and
cleaned your data in Excel, you are finished. There should be no
additional loading necessary.
However, it is possible that Excel is not the last step for analysis.
The data analysis technique you plan to implement, the subject
matter of the business questions you intend to answer, and the way
in which you wish to communicate results will all drive the choice of
which tool you use to perform your analysis.
Throughout the text, you will be introduced to a variety of different
tools to use for analyzing data beyond Access and Excel. These will
include Tableau, Weka, and IDEA. As these tools are introduced to
you, you will learn how to load data into them.
ETL or ELT?
If loading the data into Excel is indeed the last step, are you actually
“extracting, transforming, and loading,” or is it “extracting, loading,
and transforming?”
The term ETL has been in popular use since the 1970s, and even
though methods for extracting and transforming data have gotten
easier to use, more accessible, as well as more robust, the term has
stuck. Increasingly, however, the procedure is shifting toward ELT.
Particularly with tools such as Microsoft’s Power BI suite, all of the
loading and transforming can be done within Excel, with data directly
loaded into Excel from the database, and then transformed (also
within Excel). The most common method for mastering the data that
we use throughout this textbook is more in line with ELT than ETL;
however, even when the order changes from ETL to ELT, it is still
more common to refer to the procedure as ETL.
PROGRESS CHECK
6. Describe two different methods for obtaining data for
analysis.
7. What are five common data quality issues that must be
fixed before analysis can take place?
Summary
The first step in the IMPACT cycle is to identify the
questions that you intend to answer through your data
analysis project. Once a data analysis problem or
question has been identified, the next step in the
IMPACT cycle is mastering the data, which can be
broken down to mean obtaining the data needed and
preparing it for analysis.
page 53
In order to obtain the right data, it is
important to have a firm grasp of what data are available
to you and how that information is stored.
Key Words
composite primary key (43) A special case of a
primary key that exists in linking tables. The composite
primary key is made up of the two primary keys in the
table that it is linking.
page 54
ANSWERS TO PROGRESS
CHECKS
1. The unique identifier of the Supplier table is [Supplier
ID], and the unique identifier of the Purchase Order
table is [PO No.]. The Purchase Order table contains
the foreign key.
2. The foreign key attributes in the Purchase Order table
that do not relate to any tables in the view are
EmployeeID and CashDisbursementID. These
attributes probably relate to the Employee table (so that
we can tell which employee was responsible for each
Purchase Order) and the Cash Disbursement table (so
that we can tell if the Purchase Orders have been paid
for yet, and if so, on which check). The Employee table
would be a complete listing of each Employee, as well
containing the details about each employee (for
example, phone number, address, etc.). The Cash
Disbursement table would be a listing of the payments
the company has made.
3.
page 55
Discussion Questions
1. The advantages of a relational database include limiting
the amount of redundant data that are stored in a
database. Why is this an important advantage? What
can go wrong when redundant data are stored?
2. The advantages of a relational database include
integrating business processes. Why is it preferable to
integrate business processes in one information
system, rather than store different business process
data in separate, isolated databases?
3. Even though it is preferable to store data in a relational
database, storing data across separate tables can
make data analysis cumbersome. Describe three
reasons it is worth the trouble to store data in a
relational database.
4. Among the advantages of using a relational database is
enforcing business rules. Based on your understanding
of how the structure of a relational database helps
prevent data redundancy and other advantages, how
does the primary key/foreign key relationship structure
help enforce a business rule that indicates that a
company shouldn’t process any purchase orders from
suppliers who don’t exist in the database?
5. What is the purpose of a data dictionary? Identify four
different attributes that could be stored in a data
dictionary, and describe the purpose of each.
6. In the ETL process, the first step is extracting the data.
When you are obtaining the data yourself, what are the
steps to identifying the data that you need to extract?
7. In the ETL process, if the analyst does not have the
security permissions to access the data directly, then he
or she will need to fill out a data request form. While
this doesn’t necessarily require the analyst to know
extraction techniques, why does the analyst still need to
understand the raw data very well in order to complete
the data request?
8. In the ETL process, when an analyst is completing the
data request form, there are a number of fields that the
analyst is required to complete. Why do you think it is
important for the analyst to indicate the page 57
frequency of the report? How do you think
that would affect what the database administrator does
in the extraction?
9. Regarding the data request form, why do you think it is
important to the database administrator to know the
purpose of the request? What would be the importance
of the “To be used in” and “intended audience” fields?
10. In the ETL process, one important step to process
when transforming the data is to work with NULL, N/A,
and zero values in the dataset. If you have a field of
quantitative data (e.g., number of years each individual
in the table has held a full-time job), what would be the
effect of the following?
a. Transforming NULL and N/A values into blanks
b. Transforming NULL and N/A values into zeroes
c. Deleting records that have NULL and N/A values from
your dataset
(Hint: Think about the impact on different aggregate
functions, such as COUNT and AVERAGE.)
Problems
The following problems correspond to the College
Scorecard data. You should be able to answer each
question by just looking at the data dictionary included in
Appendix K, but if you would like to use the raw data, feel
free to do so (CollegeScorecard_RawData.txt).
1. Which attributes from the College Scorecard data would
you need to compare cost of attendance across types
of institutions (public, private nonprofit, or private for-
profit)?
2. Which attributes from the College Scorecard data would
you need to compare SAT scores across types of
institutions (public, private nonprofit, or private for-
profit)?
3. Which attributes from the College Scorecard data would
you need to compare levels of diversity across types of
institutions (public, private nonprofit, or private for-
profit)?
4. If you were conducting a data analysis in order to
compare the percentage of students who receive
federal loans at universities above and below the
median cost of attendance across all institutions, your
analysis would require several steps. One of the steps
is to know what question needs to be answered first in
order to complete the analysis. Come up with a set of
questions that need to be answered.
5. If you were analyzing the levels of diversity across
public and private institutions using the College
Scorecard data, how would you define diversity in terms
of the data provided? Would it be beneficial to combine
attributes?
6. Which attributes from the College Scorecard data would
you need to compare completion rate across types of
institutions (public, private nonprofit, or private for-
profit)?
7. Which attributes from the College Scorecard data would
you need to compare the percentage of students who
receive federal loans at universities above and below
the median cost of attendance across all institutions
(public, private nonprofit, or private for-profit)?
8. Which attributes from the College Scorecard data would
you need to determine if different regions of the country
have significantly different costs of attendance?
9. Use the College Scorecard data to determine if different
regions of the country have significantly different costs
of attendance (same as Problem 8) and fill out a data
request form in order to extract the appropriate data.
Use the template from the chapter as a guide.
page 58
Company summary
Sláinte is a fictional brewery that has recently gone
through big changes. Sláinte sells six different products.
The brewery has only recently expanded its business to
distributing from one state to nine states, and now its
business has begun stabilizing after the expansion. With
that stability comes a need for better analysis. You have
been hired by Sláinte to help management better
understand the company’s sales data and provide input
for its strategic decisions.
Data
Data request form
Technique
No technical experience is necessary for this lab.
Software needed
Word processor
page 59
FGI_Product Table
Attribute Description of Attribute
Product_Code (PK) Unique identifier for each
product
Product_Description Product description (plain
English) to indicate the name
or other identifying
characteristics of the product
Product_Sale_Price Price per unit of the associated
product
page 60
End of Lab
Company summary
Sláinte is a fictional brewery that has recently gone
through big changes. Sláinte sells six different products.
The brewery has only recently expanded its business to
distributing from one state to nine states, and now its
business has begun stabilizing after the expansion. With
that stability comes a need for better analysis. One of
Sláinte’s first priorities is to identify its areas of success,
as well as areas of potential improvement.
Data
Sláinte dataset
Technique
Some experience with relational databases,
spreadsheets, and PivotTables is useful for this lab.
Relying on Appendix C about PivotTables might be
helpful.
Some experience with SQL is useful for this lab. Relying
on Appendix D on SQL might be helpful.
Software needed
Excel
Access or SQLite
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
page 61
page 62
page 66
10. From here you can either click External
Data menu to export your data or you can close your
file without exporting. For practice, export to Excel.
Then, open Excel and choose Data > Get Data > From
Database > From Microsoft Access Database, then
navigate to your database and import the query.
End of Lab
Company summary
LendingClub is a peer-to-peer marketplace where
borrowers and investors are matched together. The goal
of LendingClub is to reduce the costs associated with
these banking transactions and make borrowing less
expensive and investment more engaging. LendingClub
provides data on loans that have been approved and
rejected since 2007, including the assigned interest rate
and type of loan. This provides several opportunities for
data analysis.
Data
Download the LendingClub datasets: ApproveStats
from the Connect website
page 68
Technique
Some experience with Excel is useful for this lab.
Software needed
Excel
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
Attribute Description
id Loan identification number
member_id Membership ID
loan_amnt Requested loan amount
emp_length Employment length
issue_d Date of loan issue
loan_status Fully paid or charged off
pymnt_plan Payment plan: yes or no
purpose Loan purpose: e.g., wedding,
medical, debt_consolidation, car
zip_code The first three digits of the
applicant’s zip code
addr_state State
dti Debt-to-income ratio
delinq_2y Late payments within the past 2
years
earliest_cr_line Oldest credit account
inq_last_6mnths Credit inquiries in the past 6 months
open_acc Number of open credit accounts
revol_bal Total balance of all credit accounts
revol_util Percentage of available credit in use
total_acc Total number of credit accounts
application_type Individual or joint application
Source: LoanStatsXXXX.csv
Q2. Given this list of attributes, what types of
questions do you think you could answer
regarding approved loans? (If you worked
through Lab 1-2, what concerns do you have
with the data’s ability to predict answers to the
questions you identified in Chapter 1)?
page 69
page 70
ifile.close()
ofile.close()
End of Lab
Lab 2-4 Generate Summary
Statistics in Excel
When you’re working with a new or unknown set of data,
validating the data is very important. When you make a
data request, the IT manager who fills the request should
also provide some summary statistics that include the
total number of records and mathematical sums to ensure
nothing has been lost in the transmission. This lab will
help you calculate summary statistics in Excel.
Company summary
LendingClub is a peer-to-peer marketplace where
borrowers and investors are matched together. The goal
of LendingClub is to reduce the costs associated with
these banking transactions and make borrowing less
expensive and investment more engaging. LendingClub
provides data on loans that have been approved and
rejected since 2007, including the assigned interest rate
and type of loan. This provides several opportunities for
data analysis.
Data
Download the LendingClub dataset: Lab_2-
4_ApproveStats.xlsx from the Connect website
Technique
Some experience with Excel is useful for this lab.
Software needed
Excel
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
In this lab, you will:
Calculate summary statistics using Excel.
page 72
End of Lab
page 74
Data summary
The data used are a subset of the College Scorecard
dataset that is provided by the U.S. Department of
Education. These data provide federal financial aid and
earnings information, insights into the performance of
schools eligible to receive federal financial aid, and the
outcomes of students at those schools. You can learn
more about how the data are used and view the raw data
yourself at https://collegescorecard.ed.gov/data/.
However, for this lab, you should use the text file provided
to you.
Data
CollegeScorecard Datasets: CollegeScorecard_RawData
Technique
Some experience with Excel is useful for this lab.
Software needed
Text Editor (Windows: Notepad; Mac: TextEdit)
Excel
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials.
page 76
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
page 77
4. Leave the default for authentication to
Windows Authentication, and click Connect.
5. Expand the Databases folder in the Object Explorer
window.
Source: Microsoft Excel, 2016.
page 78
10. Select the tables you would like to view. For
this lab, highlight all of the tables and select Add.
11. Take a screenshot (label it 2-6A). To ensure you can
see all of the tables in your screenshot, you can select
View < Zoom and select To Fit.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
page 79
page 80
7. Because this dataset is massive, it can take
a very long time for the system to return the complete
set of data for some of the bigger tables (such as
TRANSACT). If you would like to view just the top few
rows of a dataset to get the feel for what type of data is
in the table, you can do so with a query.
In the SELECT line, you can type TOP # before the
columns you would like to see. Any type of filtering,
aggregating, and ordering will still work through the rest
of the query, but selecting the top few will help the
query run faster by returning a subset of the result.
8. To view the top 10 rows in the TRANSACT table, type
the following query into the query window:
SELECT TOP 10 *
FROM TRANSACT
9. To see the result of the query, click Execute. F5 also
works to run queries as a PC shortcut.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
page 82
4. In the Microsoft SQL database pop-up window, input
the server name that you were provided through the
Walton.uark.edu/enterprise website. The database
name is WCOB_DILLARDS.
5. Click OK.
6. If presented an option to change credentials, keep the
default to use your current credentials, and then click
Connect.
page 84
11. We can quickly view a count of how many
stores are in each state. Drag and drop STATE into the
ROWS section of the PivotTable Fields window and
STORE into the VALUES section.
Source: Microsoft Excel, 2016.
page 85
12. It is likely that the PivotTable assumed you
wanted to SUM the Store ID, which provides nonsense
data. We need to change that aggregate to a COUNT
instead.
Click the drop-down next to Sum of STORE in the
VALUES section of the PivotTable Fields window and
select Value Field Settings.
13. Select Count to change the way the data for number of
stores per state are summarized, and then click OK.
14. You have now created a summarized view of the data
that shows the number of stores in each state. To make
this even easier to interpret, you can sort the data so
that you see the states that have the highest number of
stores first. To do so, have your active cell anywhere in
the Count of Store column, right-click the cell, select
Sort, then select Sort Largest to Smallest.
Source: Microsoft Excel, 2016.
page 86
page 87
page 88
6. Click OK to continue.
7. If presented with a box questing your credentials, click
Connect using your current credentials in the next
window.
Source: Microsoft Excel, 2016.
page 90
Q10. Is 5 days of data sufficient to
capture the statistical relationship among and
between different variables? What will Excel
do if you have more than 1 million rows?
Note: There are statistical programs such as SAS and
SPSS that allow for transformation and statistical analysis
of bigger datasets. You can also store your data in the
Data Model in Excel and create a PivotTable from the
data model. This will allow you to analyze massive
datasets in Excel, as long as your PivotTable doesn’t
exceed the row limit.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials.
Technique
This lab is most easily performed if Labs 2-6 and 2-7
have already been completed.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
End of Lab
1B. Resnick, “Researchers Just Released Profile Data on 70,000 OkCupid Users without
Permission,” 2016, http://www.vox.com/2016/5/12/11666116/70000-okcupid-users-data-
release (accessed October 31, 2016).
2J. P. Isson and J. S. Harriott, Win with Advanced Business Analytics: Creating Business
Value from Your Data (Hoboken, NJ: Wiley, 2013).
3G. C. Simsion and G. C. Witt, Data Modeling Essentials (Amsterdam: Morgan Kaufmann,
2005).
4T. Singleton, “What Every IT Auditor Should Know about Data Analytics,” n.d., from
http://www.isaca.org/Journal/archives/2013/Volume-6/Pages/What-Every-IT-Auditor-
Should-Know-About-Data-Analytics.aspx#2.
5For a description of the audit data standards, please see this website:
https://www.aicpa.org/interestareas/frc/assuranceadvisoryservices/pages/assuranceandad
visory.aspx.
page 92
Chapter 3
Performing the Test Plan and
Analyzing the Results
A Look Back
Chapter 2 provided a description of how data are prepared and scrubbed
to be ready to use to answer business questions. We explained how to
extract, transform, and load data and then how to validate and normalize
the data. In addition, we explained how data standards are used to
facilitate the exchange of data between both senders and receivers.
A Look Ahead
Chapter 4 will demonstrate various techniques that can be used to
effectively communicate the results of your analyses. Additionally, we
discuss how to refine your results and translate your findings into useful
information for decision makers.
page 93
jaruek/123RF
Liang Zhao Zhang, a San Francisco–based janitor, made more than $275,000 in 2015. The
average janitor in the area earns just $26,180 a year. Zhang, a Bay Area Rapid Transit
(BART) janitor, has a base pay of $57,945 and $162,050 in overtime pay. With benefits, the
total was $276,121. While some call his compensation “outrageous and irresponsible,” Zhang
signed up for every available overtime slot that became available. To be sure, Zhang worked
more than 4,000 hours last year and received overtime pay. Can BART predict who might
take advantage of overtime pay? Should it set a policy restricting overtime pay? Would it be
better for BART to hire more regular, full-time employees instead of offering so much
overtime? Can Data Analytics help with these questions?
Using a profiling data analytics approach detailed in this chapter, BART could generate
summary statistics of its workers and their overtime pay to see the extent that overtime is
required and taken advantage of.
Using regression and classification approaches to Data Analytics would help to classify
which employees are most likely to exceed normal bounds and why. BART, for example, has
a policy of offering overtime by seniority. So do the most senior employees sign up first and
leave little overtime to others? Will a senior employee get paid more for overtime than more
junior-level employees? If so, is that the best policy for the company and its employees?
Source: http://www.cnbc.com/2016/11/04/how-one-bay-area-janitor-made-276000-last-
year.html.
OBJECTIVES
After reading this chapter, you should be able to:
page 94
The third step of the IMPACT cycle model, or the “P,” is “performing test
plan.” In this step, different Data Analytics approaches help us understand
what happened, why it happened, what we can expect to happen in the
future, and what we should do. These Data Analytics approaches or
techniques help to address our business questions and provide information
to support accounting and management decisions.
Data Analytics approaches rely on a series of tasks and models that are
used to understand data and gain insight into the underlying cause and
effect of business decisions. Many accounting courses introduce students
to basic models that describe the results of periodic transactions (e.g.
ratios, trends, and variance analysis). These simple calculations help
accountants fulfill their traditional role as historians summarizing the results
from the past to inform stakeholders of the status of the business.
While these simple techniques provide important information, their
value is limited to providing information in hindsight. The contributing value
of Data Analytics increases as the focus shifts from hindsight to foresight
and from summarizing information to optimizing business outcomes as we
go from descriptive analytics to prescriptive analytics (as illustrated in
Exhibit 3-1). For example, lean accounting relies more heavily on data
analysis to accurately predict changes in budgets and forecasts to
minimize disruption to the business. These models that more accurately
predict the future and prescribe a course of action come at a cost of
increasing complexity in terms of manipulating and calculating appropriate
data, and the implications of the results.
EXHIBIT 3-1
Four Main Categories of Data Analytics
There are four main categories of data analytics, shown in Exhibit 3-1:
Descriptive analytics are procedures that summarize existing data to
determine what has happened in the past. Some examples of descriptive
analytics include summary statistics (e.g. Count, Min, Max, Average,
Median), distributions, and proportions.
Diagnostic analytics are procedures that explore the current data to
determine why something has happened the way it has, typically
comparing the data to a benchmark. As an example, diagnostic analytics
allow users to drill-down in the data and see how it compares to a budget,
a competitor, or trend.
Predictive analytics are procedures used to generate a model that can
be used to determine what is likely to happen in the future. Examples of
predictive analytics include regression analysis, forecasting, classification,
and other predictive modeling.
page 95
Prescriptive analytics are procedures that model data to
enable recommendations for what should be done in the future. These
typically include developing more advanced machine learning and artificial
intelligence models to recommend a course of action based on a current
problem.
The choice of Data Analytics model depends largely on the type of
question that you’re trying to answer and your access to the data needed
to answer the question. Descriptive and diagnostic analytics are typically
paired when you would want to describe the past data and then compare it
to a benchmark to determine why the results are the way they are, similar
to the accounting concepts of planning and controlling. Likewise, predictive
and prescriptive analytics make good partners when you would want to
predict an outcome and then make a recommendation on how to follow up,
similar to an auditor flagging a transaction as high risk and then following a
decision flowchart to determine whether to request additional evidence or
include it in audit findings.
As you move from one Data Analytics approach to the next, you trade
hindsight and information, which are traditionally accounting domain areas
for foresight and optimization.
Ultimately, the model you use comes down to the questions you are
trying to answer. We highlighted the Data Analytics approaches in Chapter
1. Here we categorize them into the four main analytics categories,
summarized in Table 3-1:
TABLE 3-1
Summary of Data Analytics Approaches
Type of
Example in accounting
analytic
1. Descriptive analytics:
Summary statistics describe a set of data in terms of their location
(mean, median), range (standard deviation, minimum, maximum), shape
(quartile), and size (count).
Data reduction or filtering is used to reduce the amount of observations
to focus on relevant items (i.e., highest cost, highest risk, largest impact,
etc.). It does this by taking a large set of data (perhaps the population)
and reducing it to a smaller set that has the vast majority of the critical
information of the larger set. For example, auditing may use data
reduction to narrow transactions based on relevance or size. While
auditing has employed various random and stratified sampling over the
years, Data Analytics suggests new ways to highlight which transactions
do not need the same level of vetting as other transactions.
page 96
2. Diagnostic analytics:
Profiling identifies the “typical” behavior of an individual, group, or
population by compiling summary statistics about the data (including
mean, standard deviations, etc.) and comparing individuals to the
population. By understanding the typical behavior, we’ll be able to identify
abnormal behavior more easily. Profiling might be used in accounting to
identify transactions that might warrant some additional investigation
(e.g., outlier travel expenses or potential fraud).
Clustering helps identify groups (or clusters) of individuals (such as
customers) that share common underlying characteristics—in other
words, identifying groups of similar data elements and the underlying
drivers of those groups. For example, clustering might be used to
segment a customer into a small number of groups for additional analysis
and risk assessment. Likewise, transactions might also be put into
clusters to understand underlying relationships.
Similarity matching is a grouping technique used to identify similar
individuals based on data known about them. The opening vignette in
Chapter 1 mentioned Alibaba and its attempt to identify seller and
customer fraud based on various characteristics known about them to
see if they were similar to known fraud cases.
Co-occurrence grouping discovers associations between individuals
based on common events, such as transactions they are involved in.
Amazon might use this to sell another item to you by knowing what items
are “frequently bought together” or “Customers who bought this item also
bought . . .” as shown in Chapter 1.
3. Predictive analytics:
Regression estimates or predicts the numerical value of a dependent
variable based on the slope and intersect of a line and the value of an
independent variable. An R2 value indicates how closely the line fits to
the data used to calculate the regression. An example of regression
analysis might be, given a balance of total accounts receivable held by a
firm, what is the appropriate level of allowance for doubtful accounts for
bad debts?
Classification predicts a class or category for a new observation based
on the manual identification of classes from previous observations.
Membership of a class may be binary in the case of decision trees or
indicate the distance from a decision boundary. Some examples of
classification include predicting which loans are likely to default, credit
applications that are expected to be approved, the classification of an
operating or financing lease, or identification of suspicious transactions.
In each of these cases, prior data must be manually identified as
belonging to each class to build the predictive model.
Link prediction predicts a relationship between two data items, such as
members of a social media platform. For example, if two individuals have
mutual friends on social media and both attended the same university, it
is likely that they know each other and the site may make a
recommendation for them to connect. Chapter 1 provides an example of
this used in Facebook. Link prediction in an accounting setting might
work to use social media to look for relationships between related parties
that are not otherwise disclosed to identify related party transactions.
4. Prescriptive analytics:
Decision support systems are rule-based systems that gather data and
recommend actions based on the input. Tax preparation software,
investment advice tools, and auditing tools recommend courses of
actions based on data that are input as part of an interview or
interrogation process.
Machine learning and artificial intelligence are learning models or
intelligent agents that adapt to new external data to recommend a course
of action. For example, an artificial intelligence model may observe
opinions given by an audit partner and adjust the model to reflect
changing levels of risk appetite and regulation.
While these are all important and applicable data approaches, in the
rest of the chapter we limit our discussion to the more common models,
including summary statistics, data reduction, profiling, clustering,
regression, classification, and artificial intelligence. You’ll find that these
data approaches are not mutually exclusive and that actual analysis may
involve parts of several approaches to arrive at the intended test of the
data and result.
page 97
PROGRESS CHECK
1. Using Table 3-1, identify the appropriate approach for the
following questions:
a. Will a customer purchase item X if given incentive A?
DESCRIPTIVE ANALYTICS
LO 3-
2
Describe
some
descriptiv
e
analytics
approach
es,
including
summary
statistics
and data
reduction.
Descriptive analytics help summarize what has happened in the past. For
example, a financial accountant would sum all of the sales transactions
within a period to calculate the value for Sales Revenue that appears on
the income statement. An analyst would count the number of records in a
data extract to ensure the data are complete before running a more
complexanalysis. An auditor would filter data to limit the scope to
transactions that represent the highest risk. In all these cases, basic
analysis provides an understanding of what has happened in the past to
help decision makers achieve good results and correct poor results.
Here we look at two main approaches that are used by accountants
today: summary statistics and data reduction.
Summary Statistics
Summary statistics describe the location, spread, shape, and
dependence of a set of observations. These commonly include the count,
sum, minimum, maximum, mean or average, standard deviation, median,
quartiles, correlation covariance, and frequency that describe a specific
measurable value, shown in Table 3-2.
TABLE 3-2
Description of Summary Statistics
Median =MEDIAN() The middle value that divides the top half
of the data from the bottom half
The use of summary statistics helps the user understand what the data
look like. For example, the sum function can be used to determine account
balances. The mean and median can be used to aggregate transactions by
employee, location, or division. The standard deviation and frequency help
to identify normal behavior and trends in the data.
Data Reduction
As you recall, the data reduction approach attempts to reduce the amount
of detailed information considered to focus on the most critical, interesting,
or abnormal items (i.e., highest cost, highest risk, largest impact, etc.). It
does this by filtering through a large set of data (perhaps the total
population) and reducing it to a smaller set that has the vast majority of the
critical information of the larger set. The data reduction approach is done
primarily using structured data—that is, data that are stored in a database
or spreadsheet and are readily searchable.
Data reduction involves the following steps (using an example of an
employee creating a fictitious vendor and submitting fake invoices):
1. Identify the attribute you would like to reduce or focus on. For example, an
employee may commit fraud by creating a fictitious vendor and submitting
fake invoices. Rather than evaluate every employee, an auditor may be
interested only in employee records that have addresses that match
vendor addresses.
2. Filter the results. This could be as simple as using filters in Excel, or using
the WHERE phrase in a SQL query. It may also involve a more
complicated calculation. For example, employees who create fictitious
vendors will often use addresses that are similar, but not exactly the
same, as their own address to foil basic SQL queries. Here the auditor
should use a tool that allows fuzzy matching, which uses probability to
identify likely similar addresses.
3. Interpret the results. Once you have eliminated irrelevant data, take a
moment to see if the results make sense. Calculate the summary
statistics. Have you eliminated any obvious entries? Looking at the list of
matching employees, the auditor might tweak the probability in the fuzzy
match to be more or less precise to narrow or broaden the number of
employees who appear.
4. Follow up on results. At this point, you will continue to build a model or
use the results as a targeted sample for follow-up. The auditor should
review company policy and follow up with each employee who appears in
the reduced list as it represents risk.
EXHIBIT 3-2
Use filters to reduce data
Auditors may filter data to consider only those transactions being paid
to specific vendors, such as mobile payment processors. Because anyone
can create a payment account using processors such as Square
Payments, there is a higher potential for the existence of a fictitious or
employee-created vendor. The data reduction approach allows us to focus
more time and effort on those vendors and transactions that might require
additional analysis to make sure they are legitimate.
page 99
EXHIBIT 3-3
A fuzzy matching shows a likely match of an employees and vendor
PROGRESS CHECK
3. Describe how the data reduction approach could be used to
evaluate employee travel and entertainment expenses.
4. Explain how XBRL might be used by lenders to focus on specific
areas of interest.
DIAGNOSTIC ANALYTICS
LO 3-
3
Explain
the
diagnosti
c
approach
to Data
Analytics,
including
profiling
and
clustering
Profiling
As you recall, profiling involves gaining an understanding of a typical
behavior of an individual, group, or population (or sample). Profiling is done
primarily using structured data—data that are stored in a database or
spreadsheet and are readily searchable. Using these data, analysts can
use common summary statistics to describe the individual, group, or
population, including knowing its mean, standard deviation, sum, etc.
Profiling is generally performed on data that are readily available, so the
data have already been gathered and are ready for further analysis.
Profiling is used to discover patterns of behavior. In Exhibit 3-4, for
example, the higher the Z-score (farther away from the mean), the more
likely a customer will have a delayed shipment (blue circle). As shown in
the Exhibit, a Z-score of three represents three standard deviations away
from the mean. We use profiling to explore the attributes of that vendor that
we may want to avoid in the future.
EXHIBIT 3-4
Z-Scores Provide an Example of Profiling That Helps Identify Outliers (in this case,
customers with unusually high average days to ship)
page 101
page 102
EXHIBIT 3-5
Variance Analysis Is an Example of Data Profiling
page 103
EXHIBIT 3-6
Benford’s Law Applied to Large Numerical Data Sets (including employee transactions)
page 104
Cluster Analysis
The clustering data approach works to identify groups of similar data
elements and the underlying relationships of those groups. More
specifically, clustering techniques are used to group data/observations into
a specific number of clusters or groups so that all the data within any
cluster are similar, while data across clusters are different. Cluster analysis
works by calculating the minimum distance between each observation and
the center of each cluster, shown in Exhibit 3-7.
EXHIBIT 3-7
Clustering Is Used to Find Three Natural Groupings of Vendors Based on Purchase Activity
When you are exploring the data for these patterns and don’t have a
specific question, you would use an unsupervised approach. For
example, consider the question: “Do our vendors form natural groups
based on similar attributes?” In this case, there isn’t a specific target
because you don’t yet know what similarities our vendors have. You may
use clustering to evaluate the vendor attributes and see which ones are
closely related. You could also use co-occurrence grouping to match
vendors by geographic region; data reduction to simplify vendors into
obvious categories, such as wholesale or retail or based on overall volume
of orders; or profiling to evaluate vendors with similar on-time delivery
behavior, shown in Exhibit 3-4. In any of these cases, the data drive the
analysis, and you evaluate the output to see if it matches our intuition.
These exploratory exercises may help to define better questions, but are
generally less useful for making decisions.
As an example, Walmart may want to understand the types of
customers who shop at its stores. Because Walmart has good reason to
believe there are different market segments of people, it may consider
changing the design of the store or the types of products to accommodate
the different types of customers, emphasizing the ones that are most
profitable to Walmart. To learn about the different types of customers,
managers may ask whether customers agree with the following statements
using a scale of 1–7 (on a Likert scale):
Enjoy: I enjoy shopping.
Budget: I try to avoid shopping because it is bad for the budget.
Eating: I like to combine my shopping with eating out.
Coupons: I use coupons when I shop.
Quality: I care more about the quality of the products than I do about the
price.
Apathy: I don’t care about shopping.
Comparing: You can save a lot of money by comparing prices between
various stores.
Additionally, they would ask about numerical customer behavior:
Income: The household income of the respondent (in dollars).
Shopping at Walmart: How many times a month do you visit Walmart?
Accountants may analyze the data and plot the responses to see if
there are correlations within the data on a scatterplot. The visual plot of the
relationship between responses to the various questions page 105
may help cluster the various customers into different
clusters and help Walmart cater to specific customer clusters better
through superior insights.
EXHIBIT 3-8
Cluster Analysis of Insurance Payments
1. Payment amount: The value of the transaction payment.
2. Days to Pay: The number of days from the original recorded transaction to
the payment date.
page 106
The data are normalized to reduce the distortion of the data and other
outliers are removed. They are then plotted with the number of days to pay
on the x axis and the payment amount on the y-axis. Of the eight clusters
identified, three clusters highlight potential anomalies that may require
further investigation as part of an internal or external audit.
Cluster 6 payments (purple) have a long duration between the processing
to payment dates.
Cluster 7 payments (pink) have high payment amounts.
Cluster 8 payments (brown) have high payment amounts and a long
duration between the processing date and the payment date.
With this insight auditors may assess the risk associated with these
payments and understand transaction behavior relative to acceptable
behavior defined in internal controls.
PROGRESS CHECK
5. Profiling is also used in law enforcement, such as offender or
criminal profiling. Offender profiling is a tool used by law
enforcement to identify likely suspects, analyze data patterns to
help predict future offenses by criminals, and identify potential
victims. Compare and contrast this type of profiling with the
profiling data approach used in accounting (mentioned earlier in
this section).
6. Identify a reason the sales amount of any single product may or
may not follow Benford’s law.
7. Name three clusters of customers who might shop at Walmart.
8. In Exhibit 3-8, Cluster 1 of the group insurance highlighted claims
have a long period from death to payment dates. Why would that
cluster be of interest to internal auditors?
PREDICTIVE ANALYTICS
LO 3-
4
Understa
nd
predictive
analytics,
including
regressio
n and
classificat
ion.
Before we discuss predictive analytics, we need to bring you up to speed
on some data-specific terms:
A target is an expected attribute or value that we want to evaluate. For
example, if we are trying to predict whether a transaction is fraudulent, the
target might be a specific “fraud score.” If we’re trying to predict an interest
rate, the target would be “interest rate.”
A class is a manually assigned category applied to a record based on an
event. For example, if the credit department has rejected a credit line for a
customer, the credit department assigns the class “Rejected” to the
customer’s master record. Likewise, if the internal auditors have confirmed
that fraud has occurred, they would assign the class “fraud” to that
transaction.
On the other hand, we may ask questions with specific outcomes, such
as: “Will a new vendor ship a large order on time?” When you are
performing analysis that uses historical data to predict a future outcome,
you will use a supervised approach. You might use regression to predict
a specific value to answer a question such as, “How many days do we
predict it will take a new vendor to ship an order?” Again, the prediction is
based on the activity we have observed from other vendors, shown in
Exhibit 3-9. We use historical data to create the new model. Using a
classification model, you can predict whether a new vendor belongs to
one class or another based on the behavior of the others, shown in Exhibit
3-10. Causal modeling,similarity matching, and link prediction are
additional supervised approaches where you attempt to identify causation
(which can be expensive), identify a series of characteristics that predict a
model, or attempt to identify other relationships, respectively.
page 107
Regression
Regressions allow the accountant to develop models to predict expected
outcomes. These expected outcomes might be to predict the number of
days to ship products relative to the volume of orders placed by the
customer, shown in Exhibit 3-9.
Regression is a supervised method used to predict specific values. In
this case, the number of days to ship is dependent on the number of items
in the order. Therefore, we can use regression to predict the number of
days it takes Vendor A to ship based on the volume in the order. (Vendor A
is represented by the gold star in Exhibits 3-9 and 3-10).
EXHIBIT 3-9
Regression
EXHIBIT 3-10
Classification
page 108
Allowance for loan loses amount = f (Current aged loans, Loan type,
Customer loan history, Collections success)
page 109
Classification
The goal of classification is to predict whether an individual we know very
little about will belong to one class or another. For example, will a customer
have his or her balance written off? The key here is that we are predicting
whether the write-off will occur or not (in other words, there are two
classes: “Write-Off” and “Good”).
Classification is a supervised method that can be used to predict the
class of a new observation. In this case, blue circles represent “on-time”
vendors. Green squares represent “delayed” vendors. The gold star
represents a new vendor with no history.
Classification is a little more involved as we are now dealing with
machine learning and complex probabilistic models. Here are the general
steps:
1. Identify the classes you wish to predict.
2. Manually classify an existing set of records.
3. Select a set of classification models.
4. Divide your data into training and testing sets.
5. Generate your model.
6. Interpret the results and select the “best” model.
Classification Terminology
First, a bit of terminology to prepare us for our discussion.
Training data are existing data that have been manually evaluated and
assigned a class. We know that some customer accounts have been
written off, so those accounts are assigned the class “Write-Off.” We will
train our model to learn what it is that those customers have in common so
we can predict whether a new customer will default or not.
Test data are existing data used to evaluate the model. The
classification algorithm will try to predict the class of the test data and then
compare its prediction to the previously assigned class. This comparison is
used to evaluate the accuracy of the model or the probability that the
model will assign the correct class.
Decision trees are used to divide data into smaller groups, and
decision boundaries mark the split between one class and another.
Exhibit 3-11 provides an illustration of both decision trees and decision
boundaries. Decision trees split the data at each branch into two or more
groups. In this example, the first branch divides the vendor data by
geographic distance and inserts a decision boundary through the middle of
the data. Branches 2 and 3 split each of the two new groups by vendor
volume. Note that the decision boundaries in the graph on the right are
different for each grouping.
EXHIBIT 3-11
Example of Decision Trees and Decision Boundaries
page 110
EXHIBIT 3-12
Illustration of Pruning a Decision Tree
Linear classifiers are useful for ranking items rather than simply
predicting class probability. These classifiers are used to identify a decision
boundary. Exhibit 3-13 shows an illustration of linear classifiers segregating
the two classes.
EXHIBIT 3-13
Illustration of Linear Classifiers
EXHIBIT 3-14
Support Vector Machines With support vector machines, first find the widest margin (biggest
pipe); then find the middle line.
EXHIBIT 3-15
Support Vector Machine Decision Boundaries SVMs have two decision boundaries at the
edges of the pipes.
Evaluating Classifiers
When classifiers wrongly classify an observation, they are penalized. The
larger the penalty (error), the less accurate the model is at predicting a
future value, or classification.
Overfitting
Rarely will datasets be so clean that you have a clear decision boundary.
You should always be wary of classifiers that are too accurate. Exhibit 3-16
provides an illustration of overfitting and underfitting. You want a good
amount of accuracy without being too perfect. Notice how the error rate
declines from 6 to 3 to 0. You want to be able to generalize your results,
and complete accuracy creates a complex model with little predictive value.
EXHIBIT 3-16
Illustration of Underfitting and Overfitting the Data with a Predictive Model
EXHIBIT 3-17
Illustration of the Trade-Off between the Complexity of the Model and the Accuracy of the
Classification
PROGRESS CHECK
9. If we are trying to predict the extent of employee turnover, do you
believe the health of the economy, as measured using GDP, will
be positively or negatively associated with employee turnover?
10. If we are trying to predict whether a loan will be rejected, would
you expect credit score to be positively or negatively associated
with loan rejection by a bank such as LendingClub?
PRESCRIPTIVE ANALYTICS
LO 3-
5
Describe
the use of
prescripti
ve
analytics,
including
decision
support
systems,
machine
learning
and
artificial
intelligen
ce.
EXHIBIT 3-18
Lease Classification Flowchart
page 113
Under a previous version of the FAB lease standard, there would have
been bright lines to indicate hard rules to determine the lease (for example,
“The lease term is greater than or equal to 75 percent of the estimated
economic life of the leased asset.”). Decision support systems are easier to
use when you have clear rules. Under the newer standard, more judgment
is needed to reach the most appropriate conclusion for the business. More
on this later.
Auditors use decision support systems as part of their audit procedures.
For example, they indicate a series of parameters such as tolerable and
expected error rates. A tool like IDEA will calculate the appropriate sample
size for evaluating source documents. Once the procedure has been
performed, i.e., source documents are evaluated, the auditor will then input
the number or extent of exceptional items and the decision support system
might classify the audit risk as low, medium, or high for that area.
PROGRESS CHECK
11. How might you expect managers to use decision support systems
when evaluating employee bonuses?
12. How do machine learning and artificial intelligence models
improve their recommendations over time?
Summary
In this chapter, we addressed the third step of the IMPACT
cycle model: the “P” for “performing test plan.” That is, how are
we going to test or analyze the data to address a problem we
are facing?
We identified descriptive analytics that help describe what
happened with the data, including summary statistics, and
data reduction and filtering.
We provided examples of diagnostic analytics that help users
identify relationships in the data that uncover why certain
events happen through profiling, clustering, similarity
matching, and co-occurrence grouping.
We explained examples of predictive analytics and introduced
some data mining concepts related to regression,
classification, and link prediction that can help predict future
events or values.
We discussed predictive analytics, including decision support
systems and artificial intelligence and provided some example
of how these systems can make recommendations for future
actions.
We introduced some specific models and terminology related
to these tools, including Benford's law, test and training data,
decision trees and boundaries, linear classifiers, and support
vector machines. We identified cases where creating models
that overfit existing data are not very accurate at predicting the
future.
We presented some classification terminology—including test
and training data, decision trees and boundaries, linear
classifiers, and support vector machines—and talked about
the perils of under- and overfitting the training data and their
consequences in predictions using the test data.
page 115
Key Words
Benford’s law (103) An observation about the frequency of
leading digits in many real-life sets of numerical data. The law
states that in many naturally occurring collections of numbers,
the significant leading digit is likely to be small.
decision tree (109) Tool used to divide data into smaller groups.
page 116
training data (109) Existing data that have been manually
evaluated and assigned a class, which assists in classifying the
test data.
test data (109) A set of data used to assess the degree and
strength of a predicted relationship established by the analysis
of training data.
Discussion Questions
1. What is the difference between a target and a class?
2. What is the difference between a supervised and an
unsupervised approach?
3. What is the difference between training datasets and test (or
testing) datasets?
4. Using TABLE 3-1 as a guide, what are three data approaches
associated with the descriptive approach?
5. Using TABLE 3-1 as a guide, what are three data approaches
associated with the diagnostic approach?
6. How might the data reduction approach be used in auditing?
7. How might classification be used in approving or denying a
potential fraudulent credit card transaction?
8. How is similarity matching different from clustering?
9. How does fuzzy match work? Give an accounting situation
where it might be most useful.
10. Compare and contrast the profiling data approach and the
development of standard cost for a unit of production at a
manufacturing company. Are they substantially the same, or
do they have differences?
11. Exhibits 3-9, 3-10, and 3-13 suggest that volume and distance
are the best predictors of “days to ship” for a wholesale
company. Any other variables that would also be useful in
predicting the number of “days to ship”?
page 119
Problems
1. How could the fuzzy match be used to find undisclosed
related party transactions?
2. An auditor is trying to figure out if the inventory at an
electronics store chain is obsolete. What characteristics (e.g.,
data elements about the store, customers, employees, and
inventory) might be used to help establish a model predicting
inventory obsolescence?
3. An auditor is trying to figure out if the goodwill its client
recognized when it purchased a factory has become impaired.
What characteristics might be used to help establish a model
predicting goodwill impairment?
4. How might clustering be used to describe customers who owe
money (accounts receivable)?
5. Why would the use of data reduction be useful to highlight
related party transactions (e.g., CEO has her own separate
company that the main company does business with)?
6. How could an investor use XBRL to do an analysis of the
industry’s inventory turnover?
7. Name three accounts that would be appropriate and
interesting to apply Benford’s law in auditing those accounts.
Why would an auditor choose those three accounts? When
would a departure from Benford’s law encourage the auditor
to investigate further?
page 120
Distance Formula
You can use a distance formula in Excel to calculate the
distance in miles or kilometers between the warehouse and the
vendor. First, you determine the latitude and longitude based on
the address, then use the following formula. Note: Use first
number 3959 for miles or 6371 for kilometers.
3959 * ACOS(SIN(RADIANS([Lat])) * SIN(RADIANS([Lat2])) + COS(RADIANS([Lat])) *
COS(RADIANS([Lat2])) * COS(RADIANS([Long2]) – RADIANS([Long])))
Assign Classes
Take a moment to define your classes. You are trying to predict
whether a given order shipment will either be “On-time” or
“Delayed” based on the number of days it takes from the order
date to the shipping date. What does “on-time” mean? Let’s
define “on-time” as an order that ships in 5 days or less and a
“delayed” order as one that ships later than 5 days. You’ll use
this rule to add the class as a new attribute to each of your
historical records (see Table 3-A2).
Table 3-A2
Shipment Class
page 121
Company summary
These data are for a generic manufacturing company. You have
been asked to see if there are any potentially fictitious vendors
or employees who may have created fake companies in an
effort to commit fraud.
Data
Fuzzy.xlsx—contains employee and vendor data
Technique
Some Excel experience is handy here. You will use tables,
filters, and the Fuzzy Lookup add-in.
Software needed
Excel
Fuzzy Lookup add-in: https://www.microsoft.com/en-
us/download/details.aspx?id=15011 Note: this add-in requires
the Windows version of Excel. For Excel 2019 or later, see
Software Instructions on Connect.
Employees
EmployeeID
EmployeeFirstName
EmployeeLastName
page 122
EmployeeGender
EmployeeHireDate
EmployeeStreetAddress
EmployeeCity
EmployeeState
EmployeeZip
EmployeePhone
Vendors
VendorID
VendorName
VendorType
VendorSince
VendorContact
VendorBillingAddress
VendorBillingCity
VendorBillingState
VendorBillingZip
VendorBillingPhone
Tool: Filtering
Excel Filters allow you to quickly find data with common
attributes and help to limit the scope of your analysis. Assume
that the auditors have analyzed all vendors prior to 2019 and
have resolved any outstanding issues. By analyzing only the
vendors from 2019, you avoid unnecessary analysis and reduce
the time it will take for the computer to run the analysis.
11. Open Fuzzy-Tables.xlsx and click the Vendors worksheet.
12. Click the drop-down arrow next to VendorSince to show
filtering options, shown below.
page 123
13. To select only 2019 records, uncheck Select All
and then check the box next to 2019 and click OK.
Source: Microsoft Excel 2016.
14. Select the table and headers (Ctrl + A twice) and copy the
values (Ctrl + C).
15. Create a new worksheet tab called Vendors2019 and paste
the filtered values there (Ctrl + V).
16. Select your new table and format it as a table called
“Vendors2019.”
17. Take a screenshot (label it 3-1B).
18. Save your file as Fuzzy-Tables-2019.xlsx.
Company summary
The data used are a subset of the College Scorecard dataset
that is provided by the U.S. Department of Education. These
data provide federal financial aid and earnings information,
insights into the performance of schools eligible to receive
federal financial aid, and the outcomes of students at those
schools. You can learn more about how the data are used and
view the raw data yourself at
https://collegescorecard.ed.gov/data/. However, for this lab, you
should use the text file provided to you.
Data
CollegeScorecard Datasets: CollegeScorecard_CleanedData
from Lab 2-5
Technique
Some experience with Excel is useful for this lab.
Software needed
Excel
Screen capture tool (Windows: Snipping Tool; Mac: Cmd + Shift
+ 4)
page 126
End of Lab
page 127
Company summary
LendingClub is a peer-to-peer marketplace where borrowers
and investors are matched together. The goal of LendingClub
is to reduce the costs associated with these banking
transactions and make borrowing less expensive and
investment more engaging. LendingClub provides data on
loans that have been approved and rejected since 2007,
including the assigned interest rate and type of loan. This
provides several opportunities for data analysis.
Data
Download the LendingClub datasets: LoanStats3a.csv,
RejectStatsA.csv, LCClass.csv from the Connect website
Software needed
Excel
Weka—available at www.cs.waikato.ac.nz/ml/weka
Screen capture tool (Windows: Snipping Tool; Mac: Cmd + Shift
+ 4)
Note: You have the choice to manually clean and combine the
data here from LoanStats3a.csv and RejectStatsA.csv or use
the cleaned data in LCClass.csv file. If you run into any issues
cleaning the data, skip to the completed file and continue to Part
3.
Attribute Description
id Loan identification number
member_id Membership id
loan_amount Requested loan amount
emp_length Employment length
issue_d Date of loan issue
loan_status Fully paid or charged off
pymnt_plan Payment plan: yes or no
purpose Loan purpose: e.g., wedding, medical,
debt_consolidation, car
zip_code The first three digits of the applicant’s zip
code
addr_state State
dti Ratio of monthly debt payments to monthly
income
delinq_2y Late payments within the past two years
earliest_cr_line Oldest credit account
inq_last_6mnths Credit inquiries in the past 6 months
open_acc Number of open credit accounts
revol_bal Total balance of all credit accounts
revol_util Percentage of available credit in use
total_acc Total number of credit accounts
application_type Individual or joint application
Attribute Description
Attribute Description
Amount Requested loan amount
Requested
Application Date Date of loan application
Loan Title Brief description of loan purpose
Risk_Score LendingClub’s calculated value
Debt-To-Income Ratio of monthly debt payments to monthly
Ratio income
Zip Code The first three digits of the applicant’s zip
code
State State
Employment Employment length
Length
Policy Code Internal number
page 128
page 129
Issues
Approved and rejected loans contain different data attributes.
Date data values are recorded in different formats (1/9/2011 vs.
Jan-2011).
Years of employment contain text values and should be
numbers.
In Excel
1. Create a new spreadsheet.
2. Type the common attributes from Table 3-3C into the first row.
3. Open the LoanStats3a.csv and RejectStatsA.csv files in
Excel.
4. Delete all columns that don’t match those listed in Table 3-3C
and remove the summary data at the bottom of the file and
the link reference in the first row of the file.
5. Use the =MONTH formula to extract the month from the date.
6. Copy the Month column and Paste Special > Values into the
Month column.
7. Use find and replace to remove any % signs from the
DebtToIncome values.
8. Add a new Class column and enter REJECT to the rejected
loans and APPROVE to the approved loans.
9. Copy and paste the values from each .csv file into your new
spreadsheet. Note: The order of the columns may be different
in the source files, so make sure you could either reorganize
the columns in the source files or copy and paste each
column at a time into the correct column in the new sheet.
10. Find and replace the employment values using Lab Table 3-
3D.
LAB TABLE 3-3D
End of Lab
Company summary
Dillard’s is a department store with approximately 330 stores in
29 states. Its headquarters is in Little Rock, Arkansas. You can
learn more about Dillard’s by looking at finance.yahoo.com
(Ticker symbol = DDS) and the Wikipedia site for DDS. You’ll
quickly note that William T. Dillard II is an accounting grad of the
University of Arkansas and the Walton College of Business,
which may be why he shared transaction data with us to make
available for this lab and labs throughout this text.
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote Desktop.
Directions for accessing the Remote Desktop can be found at
www.mhhe.com/richardsondaa2e. See your instructor for login
credentials.
Software needed
Microsoft SQL Server Management Studio (available on the
Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the University
of Arkansas)
page 131
End of Lab
Company summary
Dillard’s is a department store with approximately 330 stores in
29 states. Its headquarters is in Little Rock, Arkansas. You can
learn more about Dillard’s by looking at finance.yahoo.com
(Ticker symbol = DDS) and the Wikipedia site for DDS. You’ll
quickly note that William T. Dillard II is an accounting grad of the
University of Arkansas and the Walton College of Business,
which may be why he shared transaction data with us to make
available for this lab and labs throughout this text.
page 136
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote Desktop.
Directions for accessing the Remote Desktop can be found at
www.mhhe.com/richardsondaa2e. See your instructor for login
credentials.
Software needed
Microsoft SQL Server Management Studio (available on the
Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the University
of Arkansas)
page 137
4. Once this is complete, we are ready for statistical
analysis. Given the results of Lab 3-4 that transaction amount
is positively associated with the state of Arkansas and online
sales, we will include them in our multivariate analysis. Click
the Data Analysis button and select Regression as pictured
below.
End of Lab
1 http://www.washingtonpost.com/wp-dyn/content/article/2005/07/14/AR2005071402055.html
(accessed August 2, 2017).
2 http://www.cpafma.org/articles/inside-public-accounting-releases-2015-national-benchmarking-
report/ (accessed November 9, 2016).
3 A. S. Ahmed, C. Takeda, and S. Thomas, “Bank Loan Loss Provisions: A Reexamination of
Capital Management, Earnings Management and Signaling Effects,” Journal of Accounting and
Economics 28, no. 1 (1999), pp. 1–25.
4 http://www.pwc.com/us/en/cfodirect/publications/in-brief/fasb-new-impairment-guidance-financial-
instruments.html (accessed November 9, 2016).
page 138
Chapter 4
Communicating Results and
Visualizations
A Look Back
In Chapter 3, we considered various models and techniques used for
data analytics and discussed when to use them and how to interpret
the results. We also provided specific accounting-related examples
of when each of these specific data approaches and models is
appropriate to address our particular question.
A Look Ahead
The next chapter looks at one application of DA in accounting—
auditing. Chapter 5 considers how both internal and external auditors
are using technology in general—and audit analytics specifically—to
evaluate firm data and generate support for management assertions.
We emphasize audit working papers, audit planning, continuous
monitoring, and continuous data assurance.
page 139
One of the first uses of a heat map as a form of data visualization is also one of
history’s most impactful. In the mid-1800s, there was a worldwide cholera pandemic.
Scientists were desperate to determine the cause to put a stop to the pandemic, and
one of those scientists, John Snow, studied a particular London neighborhood that
was suffering from a large number of cholera cases in 1854. Snow created a map of
the outbreak that included small bar charts on the streets indicating the number of
people affected by the disease across different locations in the neighborhood. He
suspected that the outbreak was linked to water, so he also drew small crosses on
the map to indicate water sources. Through this visualization, Snow was able to
identify that the people who were dying nearly all had one thing in common—they
were drinking out of the same water source. This led to the discovery of cholera
being conveyed through contaminated water. Exhibit 4-1A shows Snow’s 1854
cholera map.
EXHIBIT 4-1A
Source: John Snow. On the Mode of Communication of Cholera. 2nd ed. London:
John Churchill, 1855.
Software and methods for creating heat maps to visualize epidemics has
improved since 1854, but the purpose still exists. Using a heat map to visualize
clusters of people impacted by epidemics helps researchers, health professionals,
and policy makers identify patterns and ultimately inform decisions about how to
resolve epidemics. For example, in Exhibit 4-1B this map can help readers quickly
come to insight about where the overdose epidemic is most prevalent.
EXHIBIT 4-1B
Source: CDC
Without Snow’s hypothesis, methods for testing it, and ultimately communicating
the results through data visualization, the 1854 cholera outbreak would have
continued with scientists still being uncertain of the cause of cholera.
page 140
OBJECTIVES
After reading this chapter, you should be able to:
Data are important, and data analytics are effective, but they are
only as important and effective as we can communicate and make
the data understandable. One of the authors often asks her students
what they would do if they were interns and their boss asked them to
supply information regarding in which states all of the customers
their organization served were located. Would they simply point their
boss to the Customers table in the sales database? Would they go a
step further and isolate the attributes to the Company Name and the
State? Perhaps they could go a step further and run a quick query or
PivotTable to perform a count on the number of customers in each
different state that the company serves. If they were to give their
boss what she actually wanted, however, they should provide a short
written summary of the answer to the research question, as well as
an organized chart to visualize the results. Data visualization isn’t
just for people who are “visual” learners. When the results of data
analysis are visualized appropriately, the results are made easier
and quicker to interpret for everybody. Whether the data you are
analyzing are “small” data or “big” data, they still merit synthesis and
visualization to help your stakeholders interpret the results with ease
and efficiency.
Think back to some of the first data visualizations and
categorizations you were exposed to (the food guide pyramid/food
plate, the animal kingdom, the periodic table) and, more modernly,
how frequently infographics are applied to break down a series of
complicated information on social media. These charts and
infographics make it easier for people to understand difficult
concepts by breaking them down into categories and visual
components.
DETERMINE THE PURPOSE OF YOUR
DATA VISUALIZATION
LO 4-
1
Determin
e the
purpose
of your
data
visualiza
tion.
EXHIBIT 4-2
The Four Chart Types
Source: S. Berinato, Good Charts: The HBR Guide to Making Smarter, More Persuasive
Data Visualizations (Boston: Harvard Business Review Press, 2016).
Once you know the answers to the two key questions and have
determined which quadrant you’re working in, you can determine the
best tool for the job. Is a written report with a simple chart sufficient?
If so, Word or Excel will suffice. Will an interactive dashboard and
repeatable report be required? If so, Tableau may be a better tool.
Later in the chapter, we will discuss these two tools in more depth,
along with when each should be used.
EXHIBIT 4-3
The Four Chart Types Quadrant with Detail
Source: S. Berinato, Good Charts: The HBR Guide to Making Smarter, More Persuasive
Data Visualizations (Boston: Harvard Business Review Press, 2016).
1. Are you explaining the results of the previously done analysis, or
are you exploring the data through the visualization? (Is your
purpose declarative or exploratory?) page 145
2. What type of information is being visualized
(conceptual, qualitative information or data-driven, quantitative
information)?
Once you have determined the answers to the first two questions,
you are ready to begin determining which type of visualization will be
the most appropriate for your purpose and dataset.
PROGRESS CHECK
1. What are two ways that complicated concepts were
explained to you via categorization and data visualization
as you were growing up?
2. Using the Internet or other resources (other textbooks, a
newspaper, or a magazine), identify an example of a data
visualization for each possible quadrant.
3. Identify which type of data scale the following variables are
measured on (qualitative nominal, qualitative ordinal, or
quantitative):
a. Instructor evaluations in which students select excellent,
good, average, or poor.
b. Weekly closing price of gold throughout a year.
c. Names of companies listed on the Dow Jones Industrial
Average.
d. Fahrenheit scale for measuring temperature.
Once you have determined the type of data you’re working with and
the purpose of your data visualization, the next questions have to do
with the design of the visualization—color, font, graphics—and most
importantly, type of chart/graph. The visual should speak for itself as
much as necessary, without needing too much explanation for what’s
being represented. Aim for simplicity over bells and whistles that
“look cool,” but end up being distracting.
page 146
EXHIBIT 4-4
Pie Charts and Column Chart Show Different Ways to Visualize Proportions
EXHIBIT 4-5
Pie Chart Showing Proportion
The same set of data could also be represented in a stacked bar
chart or a 100 percent stacked bar chart (Exhibit 4-6). This chart is
not a default option in Excel, but it does work in another data
visualization tool that we introduce later in this chapter, Tableau. The
first figure in Exhibit 4-6 is a stacked bar chart, which shows the
proportion of each type of beer sold expressed in the number of
beers sold for each product, while the latter shows the proportion
expressed in terms of percentage of the whole in a 100 percent
stacked bar chart.
EXHIBIT 4-6
Example of Stacked Bar Chart
While bar charts and pie charts are among the most common
charts used for qualitative data, there are several other charts that
function well for showing proportions:
Tree maps and heat maps. These are similar types of visualizations,
and they both use size and color to show proportional size of
values. While tree maps show proportions using physical space,
heat maps use color to highlight the scale of the values. However,
both are heavily visual, so they are imperfect for situations where
precision of the numbers or proportions represented is necessary.
Symbol maps. Symbol maps are geographic maps, so they should
be used when expressing qualitative data proportions across
geographic areas such as states or countries.
Word clouds. If you are working with text data instead of categorical
data, you can represent them in a word cloud. Word clouds are
formed by counting the frequency of each word mentioned in a
dataset; the higher the frequency (proportion) of a given word, the
larger and bolder the font will be for that word in the word cloud.
Consider analyzing the results of an open-ended response question
on a survey; a word cloud would be a great way to quickly spot the
most commonly used words to tell if there is a positive or negative
feeling toward what’s being surveyed. There are also settings that
you can put into place when creating the word cloud to leave out the
most commonly used English words—such as the, an, and a—in
order to not skew the data. Exhibit 4-7 is an example of a word
cloud for the text of Chapter 2 from this textbook.
page 147
EXHIBIT 4-7
Word Cloud Example from Chapter 2 Text
page 148
page 149
EXHIBIT 4-10
Source: ©Tableau Software, Inc. All rights reserved.
Once you open the workbook, you will see a variety of tabs at the
bottom of the workbook that you can page through and see different
ways that the same dataset can be analyzed and visualized. When
you perform exploratory analysis in Tableau, or even if you have
already performed your analysis and you have uploaded the dataset
into Tableau to communicate insights, we page 151
recommend trying several different types of charts to
see which one makes your insights stand out the most effectively. In
the top right corner of the Tableau workbook, you will see the Show
Me window, which provides different options for visualizing your
dataset (Exhibit 4-11).
EXHIBIT 4-11
Source: ©Tableau Software, Inc. All rights reserved.
In the Show Me tab, only the visualizations that will work for your
particular dataset will appear in full color.
For more information on using Tableau, see Appendix G.
page 152
EXHIBIT 4-12
Bar Chart Distorting Data Comparison by Using Inappropriate Scale
Source: http://www.dailymail.co.uk/news/article-4248690/Economy-grew-0-7-final-three-
months-2016.html.
If we reworked the data points to show the correct scale (starting
at 0 instead of 0.55) and the change over time (plotting the data
along the horizontal axis), we’d see something like Exhibit 4-13. If we
wanted to emphasize growth, we might choose a chart like Exhibit 4-
14. Notice that both new graphs show an increase that is less
dramatic and confusing.
EXHIBIT 4-13
Bar Chart Using Appropriate Scale for Less Biased Comparison
EXHIBIT 4-14
Alternative Stacked Bar Chart Showing Growth
Our next example of a problematic method of data visualization is
in Exhibit 4-15. The data represented come from a study assessing
cyber-security attacks, and this chart in particular attempted to
describe the number of cyber-security attacks employees fell victim
to, as well as what their role was in their organization.
EXHIBIT 4-15
Difficult to Interpret Pie Chart
Source: http://viz.wtf/post/155727224217/the-authors-explain-furthermore-we-present-the.
Assess the chart provided in Exhibit 4-15. Is a pie chart really the
best way to present these data?
There are simply too many slices of pie, and the key referencing
the job role of each user is unclear. There are a few ways we could
improve this chart.
page 153
page 154
EXHIBIT 4-17
Bar Chart Emphasizing Attacks by Job Function
EXHIBIT 4-18
Stacked Bar Chart Emphasizing Proportion of Attacks by Job Function
PROGRESS CHECK
4. The following two charts represent the exact same data—
the quantity of beer sold on each day in the Sláinte Sales
Subset dataset. Which chart is more appropriate for
working with dates, the column chart or the line chart?
Which do you prefer? Why?
a.
Source: Microsoft Excel 2016
page 155
b.
Source: Microsoft Excel 2016
5. The same dataset was consolidated into quarters. This
chart was made with the chart wizard feature in Excel,
which made the creation of it easy, but something went
wrong. Can you identify what went wrong with this chart?
page 156
b.
page 157
Data Scale and Increments
As tools such as Excel and Tableau become more intuitive and more
powerful, considering your data scale and increments is less of a
concern because both tools will generally come up with scales and
increments that make sense for your dataset. With that being said,
there are still four main questions to consider when creating your
data scale and increments:
1. How much data do you need to share in the visual to avoid being
misleading, yet also avoid being distracting? (For example, do you
need to display the past four years, or will the past two quarters
suffice?) When you consider leaving out some data, is it to show
only the insights that are meaningful, or is it an attempt to skew the
data or to hide poor performance? Be careful to not hide data that
are meaningful just because they don’t align with your expectations.
2. If your data contain outliers, should they be displayed, or will they
distort your scale to the extent that you can leave them out? If the
purpose of your chart is to call attention to the outliers, then they
need to remain (and you need to ensure that they are not errors, but
this should have been done in step 2 of the IMPACT model when
you mastered the data). If the purpose of your chart is to display the
middle pack of the data, the outliers may not be relevant to the
insights, and they could be left out.
3. Other than determining how much data you need to share, what
scale should you place those data on? Typically, charts should
begin with a baseline of 0, but if 0 is meaningless to your dataset,
you could find a different baseline that makes sense. Be careful to
not overexaggerate the height or the baseline so that your trendline
or bar chart is over- or underemphasized; your trendline should take
up two-thirds of the chart. Once you decide on a data scale, the
increments for your data scale should be “natural” such as 1s, 2s,
5s, 100s, etc. (e.g., not 3s or 0.02s).
4. Do you need to provide context or reference points to make the
scale meaningful? For example, if you were provided with a stock
price of $100, would you immediately be able to tell if that is a high
number or a low number? Not necessarily; without context of the
company’s stock price over time, the company’s industry and its
competitors’ stock prices, or some other piece of context, certain
numbers are not altogether useful.
Color
Similar to how Excel and Tableau have become stronger tools at
picking appropriate data scales and increments, both Excel and
Tableau will have default color themes when you begin creating your
data visualizations. You may choose to customize the theme.
However, if you do, here are a few points to consider:
When should you use multiple colors? Using multiple colors to
differentiate types of data is effective. Using a different color to
highlight a focal point is also effective. However, don’t use multiple
colors to represent the same type of data. Be careful to not use
color to make the chart look pretty—the point of the visualization is
to showcase insights from your data, not to make art.
We are trained to understand the differences among red, yellow,
and green, with red meaning something negative that we would
want to “stop” and green being something positive that we would
want to “continue,” just like with traffic lights. For that reason, use
red and green only for those purposes. Using red to show
something positive or green to show something negative is
counterintuitive and will make your chart harder to understand. You
may also want to consider a color-blind audience. If you are
concerned that someone reading your visuals may be color blind,
avoid a red/green scale and consider using page 158
orange/blue. Tableau has begun defaulting to
orange/blue color scales instead of red/green for this reason.
Once your chart has been created, convert it to grayscale to ensure
that the contrast still exists—this is both to ensure your color-blind
audience can interpret your visuals and also to ensure that the
contrast, in general, is stark enough with the color palette you have
chosen.
PROGRESS CHECK
7. Often, external consultants will use a firm’s color scheme
for a data visualization or will use a firm’s logo for points on
a scatter plot. While this might be a great approach to
support a corporate culture, it is often not the most effective
way to create a chart. Why would these methods harm a
chart’s effectiveness?
PROGRESS CHECK
Progress Checks 5 and 6 display different charts depicting the quantity of beer sold
on each day in the Sláinte Sales Subset dataset. If you had created those visuals,
starting with the data request form and the ETL process all the way through data
analysis, how would you tailor the written report for the following two roles?
8. For the CEO of the brewery who is interested in how well
the different products are performing.
9. For the programmers who will be in charge of creating a
report that contains the same information that needs to be
sent to the CEO on a monthly basis.
Summary
This chapter focused on the fifth step of the IMPACT
model, or the “C,” on how to communicate the results of
your data analysis projects. Communication can be
done through a variety of data visualizations and written
reports, depending on your audience and the data you
are exhibiting.
In order to select the right chart, you must first
determine the purpose of your data visualization. This
can be done by answering two key questions:
Key Words
continuous data (143) One way to categorize
quantitative data, as opposed to discrete data.
Continuous data can take on any value within a range. An
example of continuous data is height.
ANSWERS TO PROGRESS
CHECKS
1. Certainly, answers will vary given our own individual
experiences. But we can note that complex topics can
be explained and understood by linking them to
categorizations or pictures, such as the food pyramid.
2. Answers will vary.
3.
a. Qualitative ordinal
b. Quantitative (ratio data)
c. Qualitative nominal
d. Quantitative (interval data)
4. While this question does ask for your preference, it is
likely that you prefer image b because time series data
are continuous and can be well represented with a line
chart instead of bars.
5. Notice that the quarters are out of order (1, 2, then 4);
this looks like quarter 3 has been skipped, but quarter 4
is actually the last quarter of 2019 instead of the last
quarter of 2020, while quarters 1 and 2 are in 2020.
Excel defaulted to simply ordering the quarters
numerically instead of recognizing the order of the
years in the underlying data. You want to be careful to
avoid this sort of issue by paying careful attention to the
charts, ordering, and scales that are automatically
created through Excel (and other tools) wizards.
6. Answers will vary. Possible answers include the
following: Quantity of beer sold is a discrete value, so it
is likely better modeled with a bar chart than a line
chart. Between the two line charts, the second one is
easier to interpret because it is in order of highest sales
to lowest. Between the two bar charts, it depends on
what is important to convey to your audience—are the
numbers critical? If so, the second chart is better. Is it
most important to simply show which beers are
performing better than others? If so, the first chart is
better. There is no reason to provide more data than
necessary because they will just clutter up the visual.
7. Color in a chart should be used purposefully; it is
possible that a firm’s color scheme may be
counterproductive to interpreting the chart. The icons as
points in a scatter plot might be distracting, which could
make it take longer for a reader to gain insights from
the chart.
8. Answers will vary. Possible answers include the
following: Explain to the CEO how to read the visual,
call out the important insights in the chart, tell the range
of data that is included (is it one quarter, one year, all
time?).
9. Answers will vary. Possible answers include the
following: Explain the ETL process, exactly what data
are extracted to create the visual, which tool the data
were loaded into, and how the data were analyzed.
Explain the mechanics of the visual. The particular
insights of this visual are not pertinent to the
programmer because the insights will potentially
change over time. The mechanics of creating the report
are most important.
page 163
Discussion Questions
1. Explain Exhibit 4-2 and why these four dimensions are
helpful in describing information to be communicated.
Exhibit 4-2 lists conceptual and data-driven as being on
two ends of the continuum. Does that make sense, or
can you think of a better way to organize and
differentiate the different chart types?
2. According to Exhibit 4-8, which is the best chart for
showing a distribution of a single variable, like height?
How about hair color? Major in college?
3. Box and whisker plots (or box plots) are particularly
adept at showing extreme observations and outliers. In
what situations would it be important to communicate
these data to a reader? Any particular accounts on the
balance sheet or income statement?
4. Based on the data from datavizcatalogue.com, a line
graph is best at showing comparisons, relationships,
compositions, or distributions? Name the best two.
5. Based on the data from datavizcatalogue.com, what are
some major flaws of using word clouds to communicate
the frequency of words in a document?
6. Based on the data from datavizcatalogue.com, how
does a box and whisker plot show if the data are
symmetrical?
7. What would be the best chart to use to illustrate
earnings per share for one company over the past five
years?
8. The text mentions, “If your data analysis project is more
declarative than exploratory, it is more likely that you
will perform your data visualization to communicate
results in Excel.” In your opinion, why is this true?
9. According to the text and your own experience, why is
Tableau ideal for exploratory data analysis?
Problems
1. Why was the heat map associated with the opening
vignette regarding the 1854 cholera epidemic effective?
Now that we have more sophisticated tools and
methods for visualizing data, what else could have
been used to communicate this, and would it have been
more or less effective in your opinion?
2. Evaluate the use of color in the graphic associated with
the opening vignette regarding drug overdose deaths
across America. Would you consider its use effective or
ineffective? Why? How is this more or less effective
than communicating the same data in a bar chart?
page 165
3. According to Exhibit 4-8, which is the best
chart for comparisons of earnings per share over many
periods? How about for only a few periods?
4. According to Exhibit 4-8, which is the best chart for
static composition of a data item of the Accounts
Receivable balance at the end of the year? Which is
best for showing a change in composition of Accounts
Receivable over two or more periods?
5. The Big 4 accounting firms (Deloitte, EY, KPMG, and
PwC) dominate the audit and tax market in the United
States. What chart would you use to show which
accounting firm dominates in each state in terms of
audit revenues? Any there other interesting ways you
could use to find opportunities within the audit market?
6. Datavizcatalogue.com lists seven types of maps in its
listing of charts. Which one would you use to assess
geographic customer concentration by number? How
could you show if some customers buy more than other
customers on such a map? Would you use the same
chart or a different one?
7. In your opinion, is the primary reason that analysts use
inappropriate scales for their charts due to an error
related to naiveté (or ineffective training), or are the
inappropriate scales used so the analyst can sway the
audience one way or the other?
page 166
Company summary
Sláinte is a fictional brewery that has recently gone
through big change. Sláinte sells six different products.
The brewery has only recently expanded its business to
distributing from one state to distributing to nine states,
and now the business has begun stabilizing after the
expansion. With that stability comes a need for better
analysis. One of Sláinte’s first priorities is to identify its
areas of success, as well as areas of potential
improvement.
Data
Sláinte dataset
Technique
Some experience with spreadsheets and PivotTables is
useful for this lab.
Software needed
Excel
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
page 168
End of Lab
page 169
Company summary
Sláinte is a fictional brewery that has recently gone
through big change. Sláinte sells six different products.
The brewery has only recently expanded its business to
distributing from one state to distributing to nine states,
and now the business has begun stabilizing after the
expansion. With that stability comes a need for better
analysis. One of Sláinte’s first priorities is to identify its
areas of success, as well as areas of potential
improvement.
Data
Sláinte dataset
Software needed
Tableau. Visit with your instructor for instructions or follow
this link to download Tableau,
https://www.tableau.com/academic/students, and click
Get Tableau for Free to register for a free student
license. Your student license will last one year.
Screen capture tool (Windows: Snipping Tool; Mac: Cmd
+ Shift + 4)
In this lab, you will:
page 170
1. Open Tableau.
2. Select Microsoft Access from the Connect To a File
options.
4. The Data Source tab will open, with three tables for
you to select from. We can begin by just exploring the
Sales data. Double-click on the Sales_Subset table to
load it into Tableau.
page 171
5. The data should load into Tableau without
any problems. However, it is always a good idea to
check the datatypes that each attribute loaded in as.
Notice the Abc above Sales Order ID, and the
calendar icon above Sales Order Date. These indicate
that Sales Order ID data imported as text, while the
Sales Order Date imported as calendar data. The
number signs above Sales Order Quantity and
Product Sale Price indicate that those attributes were
imported as numerical data. This is all set up exactly as
we’d like, so there’s no need to transform the data.
page 172
10. Add labels to the bars: To the left of your
data viz, there is the Marks card. It has a variety of
ways that you can enhance the way you’re viewing the
data. Click Label, then place a check mark in the box
next to Show mark labels.
18. Right-click the sheet tab that you just renamed and
select Duplicate Sheet.
Source: ©Tableau Software, Inc. All rights reserved.
page 174
19. Let’s dig into how these products have
performed year over year. Drag and drop the dimension
Sales Order Date to the Columns shelf, and place it to
the left of Product Description.
image
Source: ©Tableau Software, Inc. All rights reserved.
Notice that the pill doesn’t just say the name of the
attribute, but it says YEAR and it has a button to expand
the pill.
20. Take a screenshot (label it 4-2C).
If you expand the Sales Order Date function once, it
will split the data among quarters. If you expand again, it
will further drill down into months.
21. Rename this sheet Total Products Sold by Year.
22. Navigate to the Data Source tab and add in the
Customer table.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
page 175
25. Select Geographic Role, and then select
State/Province.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
page 176
30. Rename this sheet Total Products Sold
by State.
31. Take a screenshot (label it 4-2D).
image
Source: ©Tableau Software, Inc. All rights reserved.
34. You can also use each sheet as a filter. Click the Total
Products Sold section of your dashboard. There are
three small icons in the top right of the sheet when the
sheet is active. Clicking the middle one (which looks
like a funnel) will allow you to use the bars as filters for
the entire dashboard. Click to do so.
page 177
image
Source: ©Tableau Software, Inc. All rights reserved.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials.
Software needed
Microsoft SQL Server Management Studio and Microsoft
Excel (available on the Remote Desktop at the University
of Arkansas)
Tableau (available on the Remote Desktop at the
University of Arkansas)
page 178
image
Source: ©Tableau Software, Inc. All rights reserved.
page 179
2. Input the Server and Database
information that you received from your instructor for
the Dillard’s data, and then click Sign In.
image
Source: ©Tableau Software, Inc. All rights reserved.
page 180
5. Input your SQL query into the Edit
Custom SQL window, and then click OK.
SELECT state, avg(tran_amt) AS Average
FROM transact
INNER JOIN store
ON transact.store = store.store
GROUP BY state
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
page 181
8. For us to view these data more
meaningfully, we’ll want to change the type of data that
state is designated as. Click the Abc, then Geographic
Role, and select State/Province.
page 182
10. Double-click on state in Dimensions.
page 183
16. The join should indicate that it is an inner
join based on the transact.store and store.store
attributes. If it says something different, modify the join.
image
Source: ©Tableau Software, Inc. All rights reserved.
Tableau immediately populates a map with a blue dot in
each state that has a Dillard’s store.
21. To make these data even more meaningful, we’ll add
average transaction amount to this view. Start by
double-clicking on Tran Amt from the Measures.
page 185
24. Click the drop-down, then click Measure
(Sum) to change the measure to Average.
image
Source: ©Tableau Software, Inc. All rights reserved.
page 186
page 187
page 188
36. Click OK on the window to create the hierarchy.
37. Notice that the Deptcent Desc pill in the Rows shelf
changed to include a minus sign—this indicates that the
hierarchy has been expanded. Click the minus sign to
collapse the hierarchy.
page 189
Filtering:
image
Source: Microsoft SQL Server Management Studio
image
Source: Microsoft SQL Server Management Studio
page 192
image
Source: Microsoft SQL Server Management Studio
page 193
image
Source: Microsoft SQL Server Management Studio
image
Source: Microsoft SQL Server Management Studio
page 194
11. Use the keyboard shortcut Ctrl + V to
paste the visual (or Command + V on a Mac), then drag
the copy beneath the original visual.
12. Change the visual type to a Bar Chart.
image
Source: Microsoft SQL Server Management Studio
image
Source: Microsoft SQL Server Management Studio
image
Source: Microsoft SQL Server Management Studio
page 196
18. Place a check mark next to the
DEPTCENT_DESC Hierarchy to add it to your new tile
to add details to the Maumelle bar chart.
19. To view the Department Centuries, right-click the bar
and select Drill Down.
image
Source: Microsoft SQL Server Management Studio
image
Source: Microsoft SQL Server Management Studio
Data
You will use an Excel file with data transformed and ready
for regression analysis, Lab 4-4 Dummy.xlsx.
page 197
Software needed
Tableau
image
Source: ©Tableau Software, Inc. All rights reserved.
page 198
2. Browse to Lab 4-4 Dummy.xlsx (or you can
use the Excel output you created with the dummy
variables from Lab 3-5) and click Open. This will extract
the data.
3. When running a regression in Tableau, you will want to
place your explanatory variables on the columns and
your dependent variables on the rows. To do so, drag
and drop the Arkansas-dummy measure to the
Columns shelf and the Tran Amt Measure to the
Rows shelf.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
image
Source: ©Tableau Software, Inc. All rights reserved.
1S. Berinato, Good Charts: The HBR Guide to Making Smarter, More Persuasive Data
Visualizations (Boston: Harvard Business Review Press, 2016).
2Source: Zobel, Justin. Writing for Computer Science (Singapore: Springer-Verlag, 1997).
3Source: Justin Zobel
page 200
Chapter 5
The Modern Accounting
Environment
A Look Back
Chapter 4 completed our discussion of the IMPACT model by
explaining how to communicate your results through data
visualization and through written reports. We discussed how to
choose the best chart for your dataset and your purpose. We also
helped you learn how to refine your chart so that it communicates as
efficiently and effectively as possible. The chapter wrapped up by
describing how to provide a written report tailored to specific
audiences who will be interested in the results of your data analysis
project.
A Look Ahead
In Chapter 6, you will learn how to use audit software to perform
substantive audit tests, including when and how to select samples
and how to confirm account balances. Specifically, we discuss the
use of different types of descriptive, diagnostic, predictive, and
prescriptive analytics as they are used to generate computer-
assisted auditing techniques.
page 201
fizkes/Shutterstock
The large public accounting firms offer a variety of analytical tools to their customers.
Take PwC’s Halo, for example. This tool allows auditors to interrogate a client’s data
and identify patterns and relationships within the data in a user-friendly dashboard.
By mapping the data, auditors and managers can identify inefficiencies in business
processes, discover areas of risk exposure, and correct data quality issues by drilling
down into the individual users, dates and times, and amounts of the entries. Tools
like Halo allow auditors to develop their audit plan by narrowing their focus and audit
scope to unusual and infrequent issues that represent high audit risk.
Source: http://halo.pwc.com
OBJECTIVES
After reading this chapter, you should be able to:
page 202
page 203
PROGRES CHECK
1. What types of sensors do businesses use to track activity?
2. Make the case for why an internal audit is increasingly
important in the modern audit. Why is it also important for
external auditors and the scope of their work?
ENTERPRISE DATA
LO 5-
2
Understa
nd
different
approac
hes to
organizin
g
enterpris
e data
and
common
data
models.
EXHIBIT 5-1
Homogeneous Systems, Heterogeneous Systems, and Software Translators
One of the primary obstacles that managers and auditors face is
access to appropriate data. As noted in Chapter 2, managers and
auditors may request flat files or extracts from an IT manager.
Frequently, these files may be incomplete, unrelated, limited in
scope, or delayed when they are not considered a priority by IT
managers. Increasingly, managers and auditors request read-only
access to the data warehouse so they can evaluate transaction data,
such as purchases and sales, and the related master data, such as
employees and vendors, in a timely manner. By avoiding a data
broker, they get more relevant data for their analyses and analyze
multiple relationships and explore other patterns in a more
meaningful way. In either case, the managers and auditors work with
duplicated data, rather than querying the production or live
systems directly.
page 205
EXHIBIT 5-2
Audit Data Standards
The audit data standards define common elements needed to audit the order-to-cash or
sales process.
Source:
https://www.aicpa.org/InterestAreas/FRC/AssuranceAdvisoryServices/DownloadableDocum
ents/AuditDataStandards/AuditDataStandards.O2C.July2015.pdf
*if receivable balances are tracked by customer only (not by invoice), then
Customer_Account_ID is used as a key to join tables to the Open_Accounts_Receivable
table instead of both Customer_Account_ID and Invoice_ID
**The Uer_Listing table can be joined to three fields, all of which contain a user ID—
Entered_by, Approved_By, Last_Modified_By
With standard data elements in place, not only will internal
auditors streamline their access to data, but they also will be able to
build analytical tools that they can share with others within their
company or professional organizations. This can foster greater
collaboration among auditors and increased use of Data Analytics
across organizations. These data elements will be useful when
performing substantive testing in Chapter 6.
Even if the standard is never adopted by data suppliers, auditors
can still take advantage of the audit data standards as a common
data model. For example, Exhibit 5-3 shows the mapping of a set of
Purchase Card data to the Procure to Pay Subledger Standard.
Once the mapping algorithm has been generating using SQL or
other tool, any new data can be analyzed quickly and easily.
EXHIBIT 5-3
Mapping Purchase Card Data to the Procure to Pay Subledger Audit Data Standard
PROGRESS CHECK
3. What are the advantages of the use of homogeneous
systems? Would a merger target be more attractive if it
used a similar financial reporting system as the potential
parent company?
4. How does the use of audit data standards facilitate data
transfer between auditors and companies? How does it
save time for both parties?
Most of the effort in Data Analytics is preparing the analysis for the
first time. This involves identifying the data, mapping the tables and
fields through ETL, and developing the visualization if needed. Once
that task is complete, automation of the procedure involves
identifying the timing or schedule of how often the procedure should
run, any parameters that might change, and what should happen if a
new observation appears as an outlier.
page 207
The steps you follow to perform the analysis are part of the
algorithm, and they can be recorded using a scripting language,
such as Python or R, or using off-the-shelf monitoring software. That
process is outside the scope of this textbook, but there are many
resources online to help you with this next step.
The main impact of automation and Data Analytics on the
accounting profession comes through optimization of the
management dashboard and audit plan. When beginning an
engagement—whether to audit the financial statements, certify the
enterprise system, or make a recommendation to improve a
business process—auditors generally follow a standardized audit
plan. The benefit of a standardized audit plan is that newer members
of the audit team can jump into an audit and contribute. Audit plans
also identify the priorities of the audit.
An audit plan consists of the one or more of the following
elements:
A methodology that directs that audit work.
The scope of the audit, defining the time period, level of materiality,
accounts and subsidiaries being audited and expected completion
time for the audit.
Potential risk within the area being audited.
Procedures and specific tasks that the audit team will execute to
collect and analyze evidence. These typically include tests of
controls and substantive tests of transaction details.
Formal evaluation by the auditor and supervisors.
Because audit plans are formalized and standardized, they lend
themselves to the use of Data Analytics and, consequently,
automation. For example,
The methodology may be framed by specific standards, such as the
Public Company Accounting Oversight Board’s (PCAOB) auditing
standards, the Committee of Sponsoring Organizations’s (COSO)
Enterprise Risk Management framework, or the Information
Systems Audit and Control Association’s (ISACA) Control
Objectives for Information and Related Technologies (COBIT)
framework. Data Analytics may be used to analyze the standards
and determine which requirements apply to the organization being
audited.
The scope of the audit defines parameters that will be used to filter
the records or transactions being evaluated.
Simple to complex Data Analytics can be applied to a client’s data
during the planning stage of the audit to identify which areas the
auditor should focus on. This may include outlier detection or other
substantive tests of suspicious or risky transactions.
Audit procedures themselves typically identify data, locations, and
attributes that the auditors will evaluate. These are the variables
that will provide the input for many of the substantive analytical
procedures discussed in Chapter 6.
The evaluation of audit data may be distilled into a risk score. This
may be a function of the volume of exceptional records or level of
exposure for the functional area. If the judgment and decision
making can be easily defined, a rule-based analytic could
automatically assign a score for the auditor to review. For more
complex judgments, the increasing prevalence of artificial
intelligence and machine learning discussed in Chapter 3 may be of
assistance. Historical observations of the scores auditors assign to
specific cases and outcomes, may assist the creation of an
automated scoring model.
Typically, internal audit organizations that have adopted Data
Analytics to enhance their audit have done so when an individual on
the team has begun tinkering with Data Analytics. They convince
their managers that there is value in using the data to direct the audit
and the manager may become a champion in the process. Once
they show the value proposition of Data Analytics, they are given
more resources to build the program and adapt the existing audit
program to include more data-centric evaluation where appropriate.
Because of the potential disruption to the organization, it is more
likely that an internal auditor will adapt an existing audit plan than
develop a new system from scratch. Automating the page 208
audit plan and incorporating data analytics involve
the following steps, which are similar to the IMPACT model:
1. Identify the questions or requirements in the existing audit plan.
2. Master the data by identifying attributes and elements that are
automatable.
3. Perform the test plan, in this case by developing analytics (in the
form of rules or models) for those attributes identified in step 2.
4. Address and refine results. List expected exceptions to these
analytics and expected remedial action by the auditor, if any.
5. Communicate insight by testing the rules and comparing the output
of the analytics to manual audit procedures.
6. Track outcomes by following up on alarms and refining the models
as needed.
Let’s assume that an internal auditor has been tasked with
implementing data analytics to automate the evaluation of a
segregation of duties control within SAP. The auditor evaluates the
audit plan and identifies a procedure for testing this control. The
audit plan identifies which tables and fields contain relevant data,
such as an authorization matrix, and the specific roles or
permissions that would be incompatible. The auditor would use that
information to build a model that would search for users with
incompatible roles and notify the auditors.
CONTINUOUS MONITORING
TECHNIQUES
LO 5-
4
Evaluate
continuo
us
monitori
ng
techniqu
es and
alarms.
TABLE 5-1
Four Types of Alarms That an Auditor Must Evaluate
PROGRESS CHECK
5. Continuous audit uses alarms to identify exceptions that
might indicate an audit issue and require additional
investigation. If there are too many alarms and exceptions
based on the parameters of the continuous audit system,
will continuous auditing actually help or hurt the overall
audit effectiveness?
6. PwC uses three systems to automate its audit process.
Aura is used to direct the audit by identifying which
evidence to collect and analyze, Halo performs Data
Analytics on the collected evidence, and Connect provides
the workflow process that allows managers and partners to
review and sign off on the work. How does that line up with
the steps of the IMPACT model we’ve discussed throughout
the text?
Summary
As accounting has evolved over the past few decades,
automation has driven many of the changes in turn
enabling additional Data Analytics. Enterprise data
appears in many forms and the adoption of a common
data model makes it easier to analyze data from a variety
of systems with ease. Data Analytics has improved
management’s and auditors’ ability to understand their
business, assess risk, inform their opinions, and improve
assurance over the processes and controls in their
organizations.
Key Words
audit data standards (ADS) (205) A set of standards
developed by the AICPA that defines common tables and
fields that are needed by auditors to perform common
audit tasks.
common data model (204) A tool used to map existing
database tables and fields from various systems to a
standardized set of tables and fields for use with
analytics.
page 211
ANSWERS TO PROGRESS
CHECKS
1. Sensors can include door sensors to track movement in
a building, health sensors to track employee health, and
metadata to track transaction activity to name a few.
2. There are many reasons for this trend, with perhaps the
most important being that external auditors are
permitted to rely on the work of internal auditors to
provide support for their opinion of financial statements.
3. A homogeneous system allows effortless transmission
of accounting and auditing data across company units
and international borders. It also allows company
executives (including the chief executive officer, chief
financial officer, and chief information officer),
accounting staff, and the internal audit team to
intimately know the system. In the case of a merger,
integration of the two systems will require less effort
than if they were heterogeneous.
4. The use of audit data standards allows an efficient data
transfer of data in a standardized format that auditors
can use in their audit testing programs. It can also save
the company time and effort in providing its transaction
data in a usable fashion to auditors.
5. If there are too many alarms and exceptions,
particularly with false negatives and false positives,
continuous auditing becomes more of a burden than a
blessing. Work must be done to ensure more true
positives and negatives to be valuable to the auditor.
6. PwC’s Aura system would help identify the questions
and master the data, the first two steps of the IMPACT
model. PwC’s Halo system would help perform the test
plan and address and refine results, the middle two
steps of the IMPACT model. Finally, PwC’s Connect
system would help communicate insights and track
outcomes, the final two steps of the IMPACT model.
page 212
Discussion Questions
1. Why has most innovation in Data Analytics originated
more in an internal audit than an external audit? Or if
not, why not?
2. Is it possible for a firm to have general journals from a
product like JD Edwards actually reconcile to the
general ledger in SAP to generate financial reports or
drill-down to see underlying transactions? Why or why
not?
3. Is it possible for multinational firms to have many
different financial reporting systems and enterprise
systems packages all in use at the same time?
4. How does the systems translator software work? How
does it store the merged data into a data warehouse?
5. Why is it better to extract data from a data warehouse
than a production or live system directly?
6. Would an auditor view heterogeneous systems as an
audit risk? Why or why not?
7. Why would audit firms prefer to use proprietary
workpapers rather than just storing working papers on
the cloud?
Problems
1. What are the advantages of the use of homogeneous
systems? Would a merger target be more attractive if it
used a similar financial reporting system as the
potential parent company?
2. Consider Exhibit 5-2. Looking at the audit data
standards order-to-cash process, what function is there
for the AR_Adjustments transaction table—that is,
adjustments to the Accounts Receivable? Why is this
an audit data standard, and why is it important for an
auditor to see?
3. Who developed the audit data standards? In your
opinion, why is it the right group to develop and
maintain them rather than, say, the Big 4 firms or a
small practitioner?
page 214
4. Simple to complex Data Analytics can be
applied to a client’s data during the planning stage of
the audit to identify which areas the auditor should
focus on. Which types of techniques or tests might be
used in this stage?
5. What approach should a company make if its
continuous audit system has too many alarms that are
false positives? How would that approach change if
there are too many missed abnormal events (such as
false negatives)?
6. Implementing continuous auditing procedures is similar
to automating an audit plan with the additional step of
scheduling the automated procedures to match the
timing and frequency of the data being evaluated and
the notification to the auditor when exceptions occur. In
your opinion, will the traditional audit be replaced by
continuous auditing?
page 215
Technique
Use SQL to transform purchase card data into a common
data model
Software needed
DB Browser for SQLite
ADS Purchase_Order
PCard (Source)
(Destination)
“” Purchase_Order_ID
TransactionDate Purchase_Order_Date
“2018” Purchase_Order_Fiscal_Year
BusinessUnit Business_Unit_Code
MerchantName Supplier_Account_ID
CardholderFirstInitial Entered_By
+
CardholderLastName
PostedDate Entered_Date
Amount Purchase_Order_Amount_Local
“USD” Purchase_Order_Local_Currency
SourceYearMonth SourceDate
SourceType SourceType
ItemDescription ItemDescription
MCCDescription MerchantCategory
10. Open your PCARD_FY2018 database from Part 1 in
DB Browser for SQLite.
11. Click the Execute SQL tab.
12. Use the SQL code below as a template to remap the
common elements. As you write the SQL code, replace
[Table] with the name of your table and add a line for
each mapping from the table above where [Field/Value]
elements with either the fields or values from your
source data table. These may include:
a. The name of the field/attribute you’re referencing
(e.g., [TransactionDate]);
b. Double quotes (“” or ’’ depending on the version of
SQL) to leave the field blank;
c. A specific value in quotes (e.g., “2020” AS
Purchase_Order_Fiscal_Year to add the value 2020
for the fiscal year or “USD” to add a local currency); or
d. An expression to combine values (e.g.,
[First_Name]&” “&[Last_Name] AS Entered_By or
[First_Name] ||’ ’|| [Last_Name]AS Entered_By
SELECT
[Field/Value] AS Purchase_Order_ID,
[Field/Value] AS Purchase_Order_Date,
[Field/Value] AS Purchase_Order_Fiscal_Year,
...
FROM[TABLE];
13. Run the query by clicking the Play icon. Correct any
errors in your SQL code if it didn’t run correctly.
14. Take a screenshot (label it 5-1B).
page 217
15. Click the Save Results button and choose
Save as view.
Source: Microsoft Excel 2016
End of Lab
Technique
Use Tableau visualize purchase card data based on the
Audit Data Standard
Software needed
Tableau
page 218
page 219
End of Lab
Lab 5-3 Set Up a Cloud Folder
Auditors collect evidence in electronic workpapers that
include a permanent file with information about policies
and procedures and a temporary file with evidence related
to the current audit. These files could be stored locally on
a laptop, but the increased use of remote communication
makes collaboration through the cloud more necessary.
There are a number of commercial workpaper
applications, but we can simulate some of those features
with consumer cloud platforms, like Microsoft OneDrive.
Company summary
You have rotated into the internal audit department at a
mid-sized manufacturing company. Your team is still using
company email to send evidence back and forth, usually
in the form of documents and spreadsheets. There is a lot
of duplication of these files, and no one is quite sure
which version is the latest. You see an opportunity to
streamline this process using OneDrive.
Technique
Gather documents, explore document history and
revisions
Software needed
A modern web browser
End of Lab
End of Lab
Technique
Review the audit plan, look for procedures involving data,
and identify the locations of the data.
Software needed
A modern web browser
End of Lab
Technique
Review the audit plan, identify procedures that must be
completed manually, and identify those that can be
automated and scheduled.
Also determine when the procedures should occur.
page 223
Software needed
A modern web browser
End of Lab
page 224
Chapter 6
Audit Data Analytics
A Look Back
In Chapter 5, we introduced Data Analytics in auditing by considering
how both internal and external auditors are using technology in general,
and audit analytics specifically, to evaluate firm data and generate
support for management assertions. We emphasized audit planning,
audit data standards, continuous auditing, and audit working papers.
A Look Ahead
Chapter 7 explains how to apply Data Analytics to measure
performance for management accountants. By measuring past
performance and comparing it to targeted goals, we are able to assess
how well a company is working toward a goal and recommend actions
to correct unexpected patterns.
page 225
ra2studio/Shutterstock
Internal auditors at Hewlett-Packard Co. (HP) understand how Data Analytics can
improve processes and controls. Management identified abnormal behavior with manual
journal entries, and the internal audit department responded by working with various
governance and compliance teams to develop dashboards that would allow them to
monitor accounting activity. The dashboard made it easier for management and the
auditors to follow trends, identify spikes in activity, and drill down to identify the individuals
posting entries. Leveraging accounting data allows the internal audit function to focus on
the risks facing HP and act on data in real time by implementing better controls. Audit
data analytics provides an enhanced level of control that is missing from a traditional
periodic audit.
OBJECTIVES
After reading this chapter, you should be able to:
page 226
TABLE 6-1
Elements in the Sales_Order Table from the Audit Data Standards
There are also many pieces of data that have traditionally evaded
scrutiny, including handwritten logs, manuals and handbooks, and other
paper or text-heavy documentation. Essentially, manual tasks including
observation and inspection are generally areas where Data Analytics
may not apply. While there have been significant advancements in
artificial intelligence, there is still a need for auditors to exercise their
judgment, and data cannot always supersede the auditor’s reading of
human behavior or a sense that something may not be quite right even
when the data say it is. At least not yet.
page 227
Data may also be found in unlikely places. An auditor may be tasked
with determining whether the steps of a process are being followed.
Traditional evaluation would involve the auditor observing or
interviewing the employee performing the work. Now that most
processes are handled through online systems, an auditor can perform
Data Analytics on the time stamps of the tasks and determine the
sequence of approvals in a workflow along with the page 228
amount of time spent on each task. This form of
process mining enables insight into areas where greater efficiency can
be applied. Likewise, data stored in paper documents, such as invoices
received from vendors, can be scanned and converted to tabular data
using specialized software. These new pieces of data can be joined to
other transactional data to enable new, thoughtful analytics.
There is an increasing opportunity to work with unstructured Big
Data to provide additional insight into the economic events being
evaluated by the auditors, such as surveillance video or text from e-
mail, but those are still outside the scope of current Data Analytics that
an auditor would develop.
page 229
Most auditors will perform descriptive and diagnostic analytics as
part of their audit plan. On rare occasions, they may experiment with
predictive and prescriptive analytics directly. More likely, they may
identify opportunities for the latter analytics and work with data scientists
to build those for future use.
Some examples of CAATs and audit procedures related to the
descriptive, diagnostic, predictive, and prescriptive analytics can be
found in Table 6-2.
TABLE 6-2
Examples of Audit Data Analytics
Example
Analytic Type Example Audit Procedures
CAATs
Descriptive— Age analysis— Analysis of new accounts opened
summarizes groups balances and employee bonuses by
activity or by date employee and location.
master data Sorting— Count the number/dollar amount of
based on identifies largest transactions that occur outside
certain or smallest normal business hours or at the
attributes values and helps end/beginning of the period.
identify patterns
Summary
statistics—
mean, median,
min, max, count,
sum
Sampling—
random and
monetary unit
Example
Analytic Type Example Audit Procedures
CAATs
Diagnostic— Z-score—outlier Analysis of new accounts reveals
detects detection that an agent has an unusual
correlations Benford’s law— number of new accounts opened
and patterns of identifies for customers who have been
interest and transactions or inactive for more than 12 months.
compares users with non- An auditor assigns an expected
them to a typical activity Benford’s value to purchase
benchmark based on the transactions, then averages them
distribution of by employee to identify employees
digits with unusually large purchases.
Drill-down— An auditor filters out transactions
explores the that are below a materiality
details behind threshold.
the values
Exact and fuzzy
matching—joins
tables and
identifies
plausible
relationships
Sequence check
—detects gaps
in records and
duplicates
entries
Stratification—
groups data by
categories
Clustering—
groups records
by non-obvious
similarities
Example
Analytic Type Example Audit Procedures
CAATs
Predictive— Regression— Analysis of new accounts opened
identifies predicts specific for customers who have been
common dependent inactive for more than 12 months
attributes or values based on collects data that are common to
patterns that independent new account opening, such as
may be used variable inputs account type, demographics, and
to identify Classification— employee incentives.
similar activity predicts a
category for a
record
Probability—
uses a rank
score to
evaluate the
strength of
classification
Sentiment
analysis—
evaluates text
for positive or
negative
sentiment to
predict positive
or negative
outcomes
Example
Analytic Type Example Audit Procedures
CAATs
Prescriptive— What-if analysis Analysis determines procedures to
recommends —decision follow when new accounts are
action based support systems opened for inactive customers,
on previously Applied statistics such as requiring approval.
observed —predicts a
actions specific outcome
or class
Artificial
intelligence—
uses
observations of
past actions to
predict future
actions for
similar events
page 230
Communicate Insights
Many analytics can be adapted to create an audit dashboard for
measuring risk in transactions or exceptions to control rules, particularly
if the firm has adopted continuous auditing. The primary output of
CAATs is evidence that may be used to test management assertions
about the processes, controls, and data quality. This evidence is
included in the audit workpapers.
Track Outcomes
The detection and resolution of audit exceptions may be a valuable
measure of the efficiency and effectiveness of the internal audit function
itself. Additional analytics may track the number of exceptions over time
and the time taken to report and resolve the issues. For the CAATs
involved, a periodic validation process should occur to ensure that they
continue to function as expected.
PROGRESS CHECK
1. Using Table 6-2 as a guide, compare and contrast descriptive
and diagnostic analytics. How might these be used in an audit?
2. In a continuous audit, how would a dashboard help to
communicate audit findings and spur a response?
DESCRIPTIVE ANALYTICS
LO 6-
2
Understa
nd basic
descriptiv
e audit
analyses.
Now that you’ve been given an overview of the types of CAATs and
analytics that are commonly used in an audit, we’ll dive a little deeper
into how these analytics work and what they generate. Remember that
descriptive analytics are useful for sorting and summarizing data to
create a baseline for more advanced analytics. These analytics enable
auditors to set a baseline or point of reference for their evaluation. For
example, if an auditor can identify the median value of a series of
transactions, he or she can make a judgment as to how much higher the
larger transactions are and whether they represent outliers or
exceptions.
page 231
In this and the next few sections, we’ll present some examples of
procedures that auditors commonly use to evaluate enterprise data. In
these examples, we show the basic process for Excel, including
formulas, and IDEA. Note that in the Excel formulas, we identify data
elements in [brackets]. To use these formulas, replace the bracketed
[data element] with a value or range of values as appropriate. For
example, [Aging date] would be replaced with C3 if the data are in
column C, row 3.
Age Analysis
Aging of accounts receivable and accounts payable helps determine the
likelihood that a balance will be paid. This substantive test of account
balances evaluates the date of an order and groups it into buckets
based on how old it is, typically in 0–30, 31–60, 61–90, and >90 days,
or similar. See Table 6-3 for an example. Extremely old accounts that
haven’t been resolved or written off should be flagged for follow-up by
the auditor. It could mean that (1) the data are bad, (2) a process is
broken, (3) there’s a reason someone is holding that account open, or
(4) it was simply never resolved.
TABLE 6-3
Aging of Accounts Receivable
Data
Customer/vendor name
Unpaid order number
Order date
Amount
In Excel
1. Open your worksheet.
2. Add a cell with the aging date.
3. Add a calculated column for the days outstanding: =[Aging date]–
[Order date].
4. Add four new calculated columns for the buckets:
a. 0–30 days: =IF([Aging date]–[Order date]<=30,[Amount],0).
b. 31–60 days: =IF(AND([Aging date]–[Order date]<=60, [Aging date]–
[Order date]>30),[Amount],0).
c. 61–90 days: =IF(AND([Aging date]–[Order date]<=90, [Aging date]–
[Order date]>60),[Amount],0).
d. >90 days: =IF([Aging date]–[Order date]>90),[Amount],0).
5. Copy the formulas for all records.
6. Add a total to the bottom of each bucket: =SUM([bucket column]).
In IDEA
1. Open your worksheet.
2. Go to Analysis > Categorize > Aging.
page 232
3. Select aging date, transaction date for the Aging field to
use, and amount for the Amount field to total field.
4. Click OK.
Sorting
Sometimes, simply viewing the largest or smallest values can provide
meaningful insight. Sorting in ascending order shows the smallest
number values first. Sorting in descending order shows the largest
values first.
Data
Any numerical, date, or text data of interest
In Excel
1. Open your worksheet.
2. Select the data you wish to sort.
3. Go to Home > Styles > Format as Table.
4. Click the drop-down arrow next to the header or the column you want
to sort.
5. Click Sort A to Z for ascending order or Sort Z to A for descending
order.
page 233
In IDEA
1. Open your data table.
2. Go to Data > Order > Sort.
3. Choose your desired field(s) and direction, Ascending or Descending.
4. Click OK.
Summary Statistics
Summary statistics provide insight into the relative size of a number
compared with the population. The mean indicates the average value,
while the median produces the middle value when all the transactions
lined up in a row. The min shows the smallest value, while the max
shows the largest. Finally, a count tells how many records exist, where
the sum adds up the values to find a total. Once summary statistics are
calculated, you have a reference point for an individual record. Is the
amount above or below average? What percentage of the total does a
group of transactions make up?
Data
Any numerical data, such as a dollar amount or quantity
In Excel
1. Open your workbook.
2. Add the following calculated values:
Mean: =AVERAGE([range]).
Median: =MEDIAN([range]).
Minimum: =MIN([range]).
Maximum: =MAX([range]).
Count: =COUNT([range]).
Sum: =SUM([range]).
3. Alternatively, format your data as a table and show the total row at the
bottom:
a. Select your data.
b. Go to Home > Styles > Format as Table.
c. Select a table style and click OK.
d. Go to Table Tools > Design > Table Style Options and click the
Total Row box.
e. Go to the bottom of the table and click the drop-down arrow next to
the column total value that appears. Choose an appropriate statistic.
In IDEA
1. Open your worksheet.
2. In the Properties pane on the right, click Field Statistics.
3. Allow IDEA to create statistics for fields without statistics, if prompted.
4. In the output screen, you can click any blue number to locate those
transactions.
Sampling
Sampling is useful when you have manual audit procedures, such as
testing transaction details or evaluating source documents. The idea is
that if the sample is an appropriate size, the features of the sample can
be confidently generalized to the population. So, if the sample has no
errors (misstatement), then the population is unlikely to have errors as
well. Of course, sampling has its limitations. The confidence level is not
a guarantee that you won’t miss something critical like fraud. But it does
limit the scope of the work the auditor must perform.
page 234
Data
Any list of transactions or master data
In Excel
1. Enable Analysis ToolPak:
a. Go to File > Options > Add-ins > Excel Add-ins > Go.
b. Select Analysis ToolPak, and click OK.
2. Go to Data > Analysis > Data Analysis.
3. Click Sampling, then OK.
a. Select your input range, usually the transaction number.
b. Choose Random, and input the number of items you want to appear
in your sample.
c. Click OK.
4. A new worksheet will appear with a list of your randomly selected
transactions.
In IDEA
1. Open your worksheet.
2. Go to Analysis > Sample > Random.
a. Input number of records to select for your sample size.
b. Change other values as needed.
c. Click OK.
3. A new worksheet will be created with your random sample.
Monetary unit sampling (MUS) allows auditors to evaluate account
balances. MUS is more likely to pull accounts with large balances
(higher risk and exposure) because it focuses on dollars, not account
numbers.
Data
The book value of the financial accounts you’re evaluating
The sample size
In Excel
1. Find the sampling interval. Divide the book value by sample size. In
this example, 1,000,000 is the total rounded book value of a GL
account and 132 is the desired sample size.
a. 1,000,000/132 = 7,575
2. Choose one of the following options to sort the line items or individual
accounts. Then add a column to calculate the cumulative balance.
a. Alphabetically by name.
b. Numerically by number.
c. By date.
3. Pick a random number between 1 and your sampling interval.
a. This will be the starting value. For example, 1,243.
4. Go down the list of cumulative balances until you pass your random
number.
a. For example, test the first account that passes 1,243.
5. Continue down the list of cumulative balances until you pass the next
sampling interval.
a. For example, test the second account that passes 1,243 + 7,575 =
8,818.
6. Repeat step 5 until you run out of accounts.
a. 8,818 + 7,575 = 16,393; 16,393 + 7,575 = 23,968 . . .
page 235
In IDEA
1. Open your data table.
2. Go to Analysis > Sample > Monetary Unit > Plan.
a. Choose your monetary value field.
b. Set your confidence level, tolerable error, and expected error.
c. Click Estimate to calculate your sample size.
d. Adjust other values as needed, then click Accept.
e. Click OK.
3. A new worksheet will appear with your sample transactions.
PROGRESS CHECK
3. What type of descriptive analytics would you use to find
negative numbers that were entered in error?
4. How does monetary unit sampling help you isolate the items of
greatest potential significance to an auditor in evaluating
materiality?
Diagnostic analytics provide more details into not just the records, but
also records or groups of records that have some standout features.
They may be significantly larger than other values, may not match a
pattern within the population, or may be a little too similar to other
records for an auditor’s liking. Here we’ll identify some common
diagnostic analytics and how to use them.
Z-Score
A standard score or Z-score is a concept from statistics that assigns a
value to a number based on how many standard deviations it stands
from the mean, shown in Exhibit 6-1. By setting the mean to 0, you can
see how far a point of interest is above or below it. For example, a point
with a Z-score of 2.5 is two-and-a-half standard deviations above the
mean. Because most values that come from a large population tend to
be normally distributed (frequently skewed toward smaller values in the
case of financial transactions), nearly all (98 percent) of the values
should be within plus-or-minus three standard deviations. If a value has
a Z-score of 3.9, it is very likely an outlier that warrants scrutiny.
EXHIBIT 6-1
Z-Scores
The Z-score shows the relative position of a point of interest to the population.
Source: http://www.dmaictools.com/wp-content/uploads/2012/02/z-definition.jpg
page 236
In Excel
1. Calculate the average: =AVERAGE([range]).
2. Calculate the standard deviation: =STDEVPA([range]).
3. Add a new column called “Z-score” next to your number range.
4. Calculate the Z-score: =STANDARDIZE([value],[mean],[standard
deviation]).
a. Alternatively: =([value]–[mean])/[standard deviation].
5. Sort your values by Z-score in descending order.
In IDEA
Z-score calculation is not a default feature of IDEA.
Benford’s Law
Benford’s law states that when you have a large set of naturally
occurring numbers, the leading digit(s) are more likely to be small. The
economic intuition behind it is that people are more likely to make $10,
$100, or $1,000 purchases than $90, $900, or $9,000 purchases. This
law has been shown in many settings, such as the amount of electricity
bills, street addresses, and GDP figures from around the world (as
shown in Exhibit 6-2).
EXHIBIT 6-2
Benford’s Law
EXHIBIT 6-3
Using Benford’s Law
Structured purchases may look normal, but they alter the distribution under Benford’s law.
We show an illustration of how to evaluate data and their frequency
with respect to Benford’s law in both Excel and IDEA.
page 237
Data
Large set of numerical data, such as monetary amounts or quantities
In Excel
1. Open your spreadsheet.
2. Add a new column and extract the leading digit: =LEFT([Amount],1).
3. Create a frequency distribution:
a. Create a list on your sheet and copy the Digit, Actual Count, Actual
%, and Expected % columns with their corresponding values and
formulas, shown in Table 6-4.
TABLE 6-4
Illustration of Benford’s Law
In Excel
1. Open your spreadsheet with financial data that contain an employee
name and transaction amount.
2. Add a new column and extract the leading digit. Note: the LEFT()
function in Excel creates a text value. Use VALUE() to convert it to a
number.=VALUE(LEFT([Amount],1))
3. Add the expected Benford’s law percentages to your sheet similar to
Table 6-5.
TABLE 6-5
Expected Benford’s Law Percentages
1 30.1%
Digit Benford Expected %
2 17.6%
3 12.5%
4 9.6%
5 7.9%
6 6.7%
7 5.8%
8 5.1%
9 4.6%
In IDEA
This is not possible using the built-in tool.
Drill-Down
The most modern Data Analytics software allows auditors to drill down
into specific values by simply double-clicking a value. This lets you see
the underlying transactions that gave you the summary amount. For
example, you might click the total sales amount in an income statement
to see the sales general ledger summarizing the daily totals. Click a
daily amount to see the individual transactions from that day.
Data needed
Two tables/sheets with a common attribute, such as a primary
key/foreign key, name, or address
In Excel
1. Search the Internet for Fuzzy Lookup Add-In for Excel, then
download and install it to your computer.
2. Open your spreadsheet with two sheets you’d like to join using a fuzzy
match. For example, employees and vendors. If your data is not
already formatted as tables in Excel, select your data and choose
Home > Styles > Format as Table. You can name the table in the
Table Design tab.
3. Go to Fuzzy Lookup > Fuzzy Lookup (Go to File > Options > Add-
ins > COM Add-ins > Go. . . and check Fuzzy Lookup Add-in for
Excel if you don’t see the bar).
page 240
Source: Microsoft Excel 2016.
page 241
a. Select the sheet you want for the Left Table and a sheet
that has similar values for the Right Table.
b. Choose the columns that you expect to find matching values in the
Left and Right Columns pane. Note: For addresses, choose
Address AND Zip Code for more likely matches.
c. Select your output columns, if needed.
d. Adjust the similarity threshold, if needed.
e. Open a new worksheet.
f. Click Go.
4. Evaluate the similarity.
In IDEA
To do a fuzzy address match, you must first join the two tables on
numbers in the address, then compare the similarity in addresses.
1. Open your workbook with two data files you’d like to join.
2. Open the first table and double click any piece of data to show the
Field Manipulation box.
3. Click Append and add a new field called “Table1 address numbers.”
4. Click the empty box in the Parameter column to open the equation
editor.
5. Use the IDEA function @JustNumbers([ADDRESS]+[ZIP]).
6. Click the green check mark. Click OK, then click Yes.
7. Repeat steps 2–6 for the second table.
8. Click on Table 1. Go to Analysis > Visual Connector to create a
relationship.
9. Add the two tables and drag new “Table1 Address Numbers” field to
the “Table2 Address Numbers” field to create a join.
0. Click OK, select Matches only, and name your dataset.
1. Click OK to show your matching data between the two tables. This only
shows exact matches based on the numbers from the addresses.
2. Double-click the data to show the Field Manipulation box.
3. Click Append and add a new field called “Distance.”
4. Set the Dec to 6, and click the Parameter box to open the equation
editor.
5. Use the IDEA function @SimilarPhrase([ADDRESS1],[ADDRESS2]).
6. Click the green check mark. Click OK, then click Yes.
7. Sort the “Distance” column in descending order. The higher the
percentage, the more similar they match.
8. Save your table.
Sequence Check
Another substantive procedure is the sequence check. This is used to
validate data integrity and test the completeness assertion, making sure
that all relevant transactions are accounted for. Simply put, sequence
checks are useful for finding gaps, such as a missing check in the cash
disbursements journal, or duplicate transactions, such as duplicate
payments to vendors. This is a fairly simple procedure that can be
deployed quickly and easily with great success. Begin by sorting your
data by identification number.
In Excel
page 242
Regression
Regression allows an auditor to predict a specific dependent value
based on independent variable inputs. In other words, what would we
expect behavior to be given some inputs and does that match reality? In
auditing, we could evaluate overtime booked for workers against
productivity or the value of inventory shrinkage given environmental
factors.
Classification
Classification in auditing is going to be mainly focused on risk
assessment. The predicted classes may be low risk or high risk, where
an individual transaction is classified in either group. In the case of
known fraud, auditors would classify those cases or transactions as
fraud/not fraud and develop a classification model that could predict
whether similar transactions might also be potentially fraudulent.
There is a longstanding classification method used to predict
whether a company is expected to go bankrupt or not. Altman’s Z is a
calculated score that helps predict bankruptcy and might be useful for
auditors to evaluate a company’s ability to continue as a going concern.
When using classification models, it is important to remember that
large training sets are needed to generate relatively accurate models.
Initially, this requires significant manual classification by the auditors or
business process owner so that the model can be useful for the audit.
Probability
When talking about classification, the strength of the class can be
important to the auditor, especially when trying to limit the scope (e.g.,
evaluate only the 10 riskiest transactions). Classifiers that use a rank
score can identify the strength of classification by measuring the
distance from the mean. That rank order focuses the page 243
auditor’s efforts on the items of potentially greatest
significance.
Sentiment Analysis
Evaluate text (e.g., 10-K or annual report) for positive or negative
sentiment to predict positive or negative outcomes or to look for
potential bias on management’s part. There is more discussion on
sentiment analysis in Chapter 8.
Applied Statistics
Additional mixed distributions and nontraditional statistics may also
provide insight to the auditor. For example, an audit of inventory may
reveal errors in the amount recorded in the system. The difference
between the error amounts and the actual amounts may provide some
valuable insight into how significant or material the problem may be.
Auditors can plot the frequency distribution of errors and use Z-scores
to hone in on the cause of the most significant or outlier errors.
Artificial Intelligence
As the audit team generates more data and takes specific action, the
action itself can be modeled in a way that allows an algorithm to predict
expected behavior. Artificial intelligence is designed around the idea that
computers can learn about action or behavior from the past and predict
the course of action for the future. Assume that an experienced auditor
questions management about the estimate of allowance for doubtful
accounts. The human auditor evaluates a number of inputs, such as the
estimate calculation, market factors, and the possibility of income
smoothing by management. Given these inputs, the auditor decides to
challenge management’s estimate. If the auditor consistently takes this
action and it is recorded by the computer, the computer learns from this
action and makes a recommendation when a new inexperienced auditor
faces a similar situation.
Decision support systems that accountants have relied upon for
years (e.g., TurboTax) are based on a formal set of rules and then
updated based on what the user decides given several choices. Artificial
intelligence can be used as a helpful assistant to auditors and may
potentially be called upon to make judgment decisions itself.
Additional Analyses
The list of Data Analytics presented in this chapter is not exhaustive by
any means. There are many other approaches to identifying interesting
patterns and anomalies in enterprise data. Many ingenious auditors
have developed automated scripts that can simplify several of the audit
tasks presented here. Excel add-ins like TeamMate Analytics provide
many different techniques that apply specifically to the audit of fixed
assets, inventory, sales and purchase transactions, etc. Auditors will
combine these tools with other techniques, such as periodically testing
the effectiveness of automated tools by adding erroneous or fraudulent
transactions, to enhance their audit process.
PROGRESS CHECK
7. Why would a bankruptcy prediction be considered
classification? And why would it be useful to auditors?
8. If sentiment analysis is used on a product advertisement,
would you guess the overall sentiment would be positive or
negative?
page 244
Summary
This chapter discusses a number of analytical techniques
that auditors use to gather insight about controls and
transaction data. These include descriptive analytics that are
used to summarize and gain insight into the data, diagnostic
analytics that identify patterns in the data that may not be
immediately obvious, predictive analytics that look for
common attributes of problematic data to help identify similar
events in the future, and prescriptive analytics that provide
decision support to auditors as they work to resolve issues
with the processes and controls.
Key Words
computer-assisted audit techniques (CAATs) (228)
Automated scripts that can be used to validate data, test
controls, and enable substantive testing of transaction details
or account balances and generate supporting evidence for
the audit.
Discussion Questions
1. How do nature, extent, and timing of audit procedures help
us identify when to apply Data Analytics to the audit
process?
2. When do you believe that Data Analytics will add value to
the audit process? How can it most help?
3. Using Table 6-2 as a guide, compare and contrast
predictive and prescriptive analytics. How might these be
used in an audit? Or a continuous audit?
4. Prescriptive analytics rely on models based on past actions
to suggest recommended actions for new, similar
situations. For example, auditors might review managers’
approval of new credit applications for inactive customers.
If auditors know the variables and values that were
common among past approvals and denials, they could
compare the action recommended by the model with the
response of the manager. How else might this prescriptive
analytics help auditors assess risk or test audit issues?
5. One type of descriptive analytics is simply sorting data.
Why is seeing extreme values helpful (minimums,
maximums, counts, etc.) in evaluating accuracy and
completeness and in potentially finding errors and fraud
and the like?
page 247
Problems
1. One type of descriptive analytics is age analysis. Why are
auditors particularly interested in the aging of accounts
receivable and accounts payable? How does this analysis
help evaluate management judgment on collectability of
receivables and potential payment of payables? Would a
dashboard item reflecting this aging be useful in a
continuous audit?
2. One of the benefits of Data Analytics is the ability to see
and test the full population. In that case, why is sampling
(even monetary sampling) still used, and how is it useful?
3. What does a Z-score greater than 3.0 (or −3.0) suggest?
How is that useful in finding extreme values? What type of
analysis should we do when we find extreme or outlier
values?
4. What are some patterns that could be found using
diagnostic analysis? Between which types of variables?
5. In a certain company, one accountant records most of the
adjusting journal entries at the end of the month. What type
of analysis could be used to identify that this happens and
the cumulative size of the transactions that the one
accountant records? Is this a problem or if not, when would
it be?
6. Which distributions would you recommend be tested using
Benford’s law? What would a Benford’s law evaluation of
sales transaction amounts potentially show? What would a
test of vendor numbers or employee numbers show?
Anything different from a test of invoice or check numbers?
Any cases where Benford’s law wouldn’t work?
7. How could artificial intelligence be used to help with the
evaluation of the estimate for the allowance for doubtful
accounts? Could past allowances be tested for their
predictive ability that might be able to help set allowances
in the current period?
8. How do you think sentiment analysis of the 10-K might
assess the level of bias (positive or negative) of the annual
reports? If management is too positive about the results of
the company, can that be viewed as being neutral or
impartial?
page 248
Techniques
Data preparation
Filtering
Fuzzy matching
Software needed
Excel
In IDEA
1. Download the P2P IDEA Audit Data from Connect, as
directed.
2. Unzip the file on your computer.
page 249
3. Open IDEA and go to Home > Projects >
Select.
4. Click the External Projects tab, then navigate to your
downloaded P2P IDEA Audit Data project folder.
5. Click OK.
6. Click the + to expand the project folder
7. Take a screenshot (label it 6-1B).
In IDEA
1. Open your Supplier_Listing table.
2. Go to Data > Search > Search.
a. Text to find: box
b. Fields to look in:
SUPPLIER_PHYSICAL_STREET_ADDRESS1
c. Click OK.
3. Take a screenshot (label it 6-1D).
In Excel
1. Click the drop-down arrow next to the Address field, and
choose Clear Filter From
“Supplier_Physical_Street_Address1”.
2. Perform a fuzzy match on the
Supplier_Physical_Street_Address1, and
Supplier_Physical_ZipPostalCode from the Suppliers
sheet and the User_Physical_Street_Address1 and
User_Physical_Street_ZipPostalCode from the Users
sheet. Refer to the example in Chapter 6 or Lab 3-1 for
specific step-by-step instructions.
3. Take a screenshot (label it 6-1E).
In IDEA
IDEA doesn’t support fuzzy matching directly, but this works
with a few steps by merging the supplier and user tables and
then looking for fuzzy duplicate records. The resulting table
will show duplicate records that will match despite not being
exact.
1. Open the Supplier_Listing table.
2. Click Data > Fields > Append.
a. Field name: TYPE
b. Field type: Virtual Character
c. Length: 20
page 250
d. Parameter: “Supplier”
e. Click OK.
3. Open the User_Listing table.
4. Click Data > Fields > Append.
a. Field name: TYPE
b. Field type: Virtual Character
c. Length: 20
d. Parameter: “Employee”
e. Click OK.
5. Go to Analysis > Relate > Append.
a. Click the + to expand the project folder.
b. Double-click SUPPLIER_LISTING.
c. Click OK.
6. Go to Data > Fields > Append.
a. Field name: COMBO_ADDRESS
b. Field type: Virtual Character
c. Length: 100
d. Parameter: =
SUPPLIER_PHYSICAL_STREET_ADDRESS1 +
USER_PHYSICAL_STREET_ADDRESS1
e. Click OK.
7. In your new Append Databases table, click Analysis >
Explore > Duplicate Key > Fuzzy.
a. Output: Fuzzy matches
b. Similarity degree (%): Adjust as needed
c. Key: COMBO_ADDRESS
d. Click OK.
8. Take a screenshot (label it 6-1F).
Q5. How many fuzzy matches appeared?
Q6. Which of the matches are suspicious?
End of Lab
Techniques
Use Excel tools to calculate account balances and to group
accounts by age
page 251
Software
Excel
page 252
5. Create a PivotTable that shows the
Sales_Order_Total and the Receipt_Amount for each
Sales_Order_ID.
Source: Microsoft Excel 2016.
6. The data will look odd at first, and you will be prompted to
create relationships. You can allow Excel to auto-detect the
relationships, and it will identify the relationship between
the Primary and Foreign Keys that exist between the two
tables.
page 253
8. Copy the data in the PivotTable to a new
spreadsheet to convert the PivotTable data to a range.
Doing so will allow us to be able to identify which of the
invoices have yet to be paid in full yet. You can ensure that
you’re copying only the range by selecting and copying all
of the data in the PivotTable, except for the last row
containing the Grand Total.
9. Add a column to your new range, and calculate the
difference between the Sales_Order_Total and the
Receipt_Amount.
10. Add a filter to the Difference column, and filter out all
values that appear as 0s. This will allow you to view all of
the invoices that haven’t been paid in full yet.
Source: Microsoft Excel 2016.
0 0–30
30 31–60
60 61–90
90 90+
page 254
16. Add another new column to the
Cash_Received table labeled Bucket, and create a True
VLookup formula to identify the bucket for each invoice.
19. Repeat the steps for the remaining three buckets. The top
two records in the Count column should return the
following data:
20. Return to your PivotTable, and refresh the data so that you
can pull in your new fields for further analysis. You can
refresh your data by clicking the Refresh button in the
Analyze tab from the ribbon.
21. You should now be able to add the bucket field to the
PivotTable. Do so. Remove Sales_Order_Total from the
PivotTable as well.
page 255
22. Collapse the fields so that you do not see the
detail of each invoice within the buckets, but only the
totals. The top two records of the PivotTable will appear as
the following:
Source: Microsoft Excel 2016.
page 256
25. Repeat the same steps as you did above in the new
dataset.
a. Create a PivotTable that shows the Sales_Order_Total
and Receipt_Amount for each Sales_Order_ID.
i. Remember to use the Internal Data Model and to
build relationships so that the data in your PivotTable is
accurate.
b. Create a range from your PivotTable data and calculate
the difference between the Sales_Order_Total and the
Receipt_Amount. Filter the Difference column to show
only the invoices that haven’t been paid in full yet.
c. Return to the Cash_Received table and create the
additional columns so that you can identify the aging
bucket for each invoice.
d. Create a PivotTable to identify which invoices fall into
each bucket.
26. Save your file as Lab6-2December.xslx, ensuring that the
PivotTable with buckets is included in your final
spreadsheet.
End of Lab
Technique
Search for duplicates
Software needed
Excel or IDEA
In IDEA
1. Open the P2P IDEA Audit Data project in IDEA.
2. Open the Payments_Made table.
3. Go to Analysis > Explore > Duplicate Key > Detection.
a. Click Output duplicate records
b. Click Key, then choose INVOICE_REFERENCE from the
drop-down list and click OK.
c. Click OK.
4. Take a screenshot (label it 6-3B).
5. Repeat steps 2-3 on the Payment_Amount column.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop can
be found at www.mhhe.com/richardsondaa2e. See your
instructor for login credentials. The 2016 Dillard’s data
covers all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Microsoft SQL Server Management Studio (available on the
Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
PowerPivot add-in for Excel (available on the Remote
Desktop at the University of Arkansas). If you do not see the
PowerPivot tab on the Excel ribbon, you will need to enable
the add-in.
page 258
4. Now that the data have been transformed, you can load
them into Excel. Click Close & Load from the Home tab. It
will take a moment for all of the data (1,014 rows) to load
into Excel.
page 259
5. Create a PivotTable by clicking PivotTable
from the Insert tab on the Excel ribbon.
6. Even though you have loaded the data into Excel, you
have not added it to Excel’s Internal Data Model. To do so,
place a check mark in the box next to Add this data to the
Data Model in the Create PivotTable window.
page 260
11. Now that the measure is created, it has been
added to the PivotTable Fields window. Create a
PivotTable to view only the January dates (place
Tran_Date(Month) in the filter) and days along the rows.
Use the new measure you created, R/P, as the value.
Source: Microsoft Excel 2016.
page 261
Parsing out month and day will require
placing Tran_Date in the rows column first, then removing
the Year and Quarter attributes that automatically
populate. Drag and Drop Tran_Date(month) to the filter,
and keep the Tran_Date attribute in the rows.
12. Since we want to work with data from only January, we
need to filter the PivotTable. Click the drop-down next to
the Tran_Date (Month) filter, select All to expand the
options, and select Jan. Click OK to save the filter.
This PivotTable will provide the data we need for one
part of our hypothesis test—the values from all January
dates in the database. Now we need to separate the
values from all non-January dates in the database. We’ll
do this by copying the PivotTable you just created, and
modifying the filter.
13. Select the entire PivotTable (including the Filter cells), and
copy the selection.
14. Place your cursor in cell D1, and paste the PivotTable
there.
15. Now you can modify the filter. Place a check mark in the
box next to Select Multiple Items, then scroll to the top of
the filter options to select All. Finally, scroll down to take
the check mark out of the box next to January. This will
provide the data for all transactions, except for the items
that are from January.
page 262
16. Take a screenshot of your results (label it 6-
4A).
17. To clarify the difference between the two PivotTables, you
can rename the labels that say sum of R/P in each table.
Place your cursor inside the cell with the sum of R/P label,
and type in January and Rest of the Year in its place:
End of Lab
page 264
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop can
be found at www.mhhe.com/richardsondaa2e. See your
instructor for login credentials. The 2016 Dillard’s data
covers all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Microsoft SQL Server Management Studio (available on the
Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
Tableau (available on the Remote Desktop at the University
of Arkansas)
Prerequisite
Lab 6-4. This lab requires some of the skills covered in Lab
6-4 for steps 1–4. If you haven’t completed Lab 6-4, then
you can still read through the steps in that lab to see the
screenshots of the ETL process in Excel.
Lab 4-2. Some Tableau skills from Lab 4-2 are also
expected. If you haven’t completed Lab 4-2, you can still
read through the steps in that lab to learn the basics of how
to build a map and a dashboard in Tableau.
End of Lab
page 267
page 268
Chapter 7
Managerial Analytics
A Look Back
In Chapter 6, we focused on substantive testing within the audit
setting. We highlighted discussion of the audit plan, and account
balances were checked. We also highlighted the use of statistical
analysis to find errors or fraud in the audit setting. In addition, we
discussed the use of clustering to detect outliers and the use of
Benford’s analysis.
A Look Ahead
In Chapter 8, we will focus on how to access and analyze financial
statement data. Through analysis of ratios and trends we identify
how companies appear to stakeholders. We also discuss how to
analyze financial performance, and how visualizations help find
insight into the data. Finally, we discuss the use of text mining to
analyze the sentiment in financial reporting data.
page 269
For years, Kenya Red Cross had attempted to refine its strategy and align its daily
activities with its overall strategic goals. It had annual strategic planning meetings
with external consultants that always resulted in the consultants presenting a new
strategy to the organization that the Red Cross didn’t have a particularly strong buy-
in to, and the Red Cross never felt confident in what was developed or what it would
mean for its future. When Kenya Red Cross went through a Data Analytics–backed
Balanced Scorecard planning process for the first time, though, it immediately felt like
its organization’s mission and vision was involved in the strategic planning and that
“strategy” was no longer so vague. The Balanced Scorecard approach helped the
Kenya Red Cross align its goals into measurable metrics. The organization prided
itself on being “first in and last out” but hadn’t actively measured its success in that
goal, nor had the organization fully analyzed how being the first in and last out of
disaster scenarios affected other goals and areas of its organization. Using Data
Analytics to refine its strategy and assign measurable performance metrics to its
goals, Kenya Red Cross felt confident that its everyday activities were linked to
measurable goals that would help the organization reach its goals and maintain a
strong positive reputation and impact through its service. Exhibit 7-1 gives an
illustration of the Balanced Scorecard at the Kenya Red Cross.
EXHIBIT 7-1
The Kenya Red Cross Balanced Scorecard
page 270
IDENTIFYING MANAGEMENT
ACCOUNTING QUESTIONS
LO 7-
1
Understa
nd
manage
ment
accounti
ng
question
s.
In the past six chapters, you learned how to apply the IMPACT
model to data analysis projects in general and, specifically, to
internal and external auditing and financial statement analysis. The
same accounting information used in internal and external auditing
and financial statement analysis can also be used to determine how
closely an organization is meeting its strategic objectives. Together
with operational and performance measurement data, we can better
determine the gaps in actual company performance and targeted
strategic objectives, data should be condensed into easily digestible
and useful digital dashboards, providing precisely the information
needed to help make operational decisions that support a company’s
strategic direction.
This chapter brings us to how to apply Data Analytics to measure
performance. More specifically, we measure past performance and
compare it to targeted goals to assess how well a company is
working toward a goal. In addition, we can determine required
adjustments to how decisions are made or how business processes
are run, if any.
Management accounting is one of the primary areas where Data
Analytics helps the decision-making process. From assigning costs
to jobs, processes, and activities; to understanding cost behavior
and relevant costs in decisions; and to forecasting and performance
evaluation, managers rely on real-time data to evaluate the
effectiveness of their strategies. These data help with the planning,
management, and controlling of firm resources.
Managers rely on a combination of descriptive analytics to
compute the results of an initiative, diagnostic analytics to compare
those results to a benchmark (such as a budget), predictive analytics
to plan for future periods, and prescriptive analytics to guide the
controlling process.
Relevant Costs
Most other management decisions rely on the interpretation of cost
classification and which costs are relevant or not. Aggregating the
total costs of, say, the cost to produce and item versus the cost to
purchase them in a make-or-buy or outsourcing decision may be an
appropriate use of descriptive analytics, as would determining
capacity to accept special orders or processing further.
Relevant costs relates to relevant data, similar to the scope of
and audit. Managers understand that companies are collecting a lot
of data, and there is a push to find patterns in the data that help
identify opportunities to connect with customers and better evaluate
performance. However, not all data are relevant to the decision-
making process. The more relevant data that are available to inform
the decision and include in the relevant costs, the more confident
management can be of the answer. Of course, there is always a
trade-off between the cost of collecting that information and the
incremental value of the analysis. Be careful not to include the sunk
cost of data that has already been collected while considering the
opportunity cost of not utilizing data to make profitable business
decisions.
Key Performance Indicators and Variance
Analysis
Because data are increasingly available and affordable for
companies to access and store, and because the growth in
technology has created robust and affordable business intelligence
tools, data and information are becoming the key components for
decision making, replacing limited analysis and complementing
management’s intuition. Specifically, various measures and metrics
are defined, compiled from the data, and used for decision making.
Performance metrics are, rather simply, any number used to
measure performance at a company. The amount of inventory on
hand is a metric, and that metric gains meaning when compared to a
baseline (e.g., how much inventory was on hand page 271
yesterday?). A specific type of performance metric is a
key performance indicator (KPI). Just like any performance metric,
a KPI should help managers keep track of performance and strategic
objectives, but the KPIs are performance metrics that stand out as
the most important—that is, “key” metrics that influence decision
making and strategy. Nearly every organization can use data to
create the same performance metrics (although, of course, with
different results), but it is dependent upon each organization’s
particular strategy which performance metrics that organization
would deem to be a KPI.
Variance analysis allows managers to evaluate the KPIs and how
far they vary from the expected outcome. For example, managers
compare actual results to budgeted results to determine whether a
variance is favorable or unfavorable, similar to that shown in Exhibit
7-2. The ability to use these types of bullet charts to not only identify
the benchmark, but also to see the relative distance from the goal
helps managers identify root causes of the variance (e.g., the price
we pay for a raw material or the increased volume of sales) and drill-
down to determine the good performance to replicate and the poor
performance to eliminate.
EXHIBIT 7-2
Variance Analysis Identifies Favorable and Unfavorable Variances
Cost Behavior
Managers must also understand what is driving the costs and profits
to plan for the future and apply to budgets or use as input for lean
accounting processes. For example, they must evaluate mixed costs
to predict the portion of fixed and variable costs for a given period.
Predictive analytics, such as regression analysis, might evaluate
actual production volume and total costs to estimate the mixed cost
line equation, such as the one shown in Exhibit 7-3.
EXHIBIT 7-3
Regression Analysis of Mixed Costs
This example was calculated using a scatter plot chart over a 12-
month period in Excel. The mixed costs can be interpreted as
consisting of fixed costs of approximately $181,480 per month (the
intercept) and variable costs of approximately $13.30 per unit
produced. The R2 value of 0.84 tells us that this line fits the data
pretty well and will predict the correct value 84 percent of the time.
page 272
PROGRESS CHECK
1. If a manager is trying to decide whether to discontinue a
product or division, he or she would look at the contribution
margin of that object. What are some examples of relevant
data that would be useful in this calculation? Irrelevant
data?
2. A bullet chart (as shown in Exhibit 7-2) uses a reference
line to show actual performance relative to a benchmark.
What advantages does a bullet graph have over a gauge,
such as a fan with red, yellow, and green zones and a
needle pointing to the current value?
page 273
EXHIBIT 7-4
Walton College Digital Dashboard—Diverse Walton
Digital dashboards provide interesting information, but their value
is maximized when the metrics provided on the dashboard are used
to affect decision making and action. One iteration of a digital
dashboard is the Balanced Scorecard. The Balanced Scorecard
was created by Robert S. Kaplan and David P. Norton in 1996 to
help companies turn their strategic goals into action by identifying
the most important metrics to measure, as well as identifying target
goals to compare metrics against.
The Balanced Scorecard is comprised of four components:
financial (or stewardship), customer (or stakeholder), internal
process, and organizational capacity (or learning and growth). As
depicted in Exhibit 7-5, the measures in each category affect other
categories, and all four should be directly related to the strategic
objectives of an organization.
EXHIBIT 7-5
Components of the Balanced Scorecard
For each of the four components, objectives, measures, targets,
and initiatives are identified. Objectives should be aligned with
strategic goals of the organization, measures are the KPIs that show
how well the organization is doing at meeting its objective, and
targets should be achievable goals toward which to move the metric.
Initiatives should be the actions that an organization can take to
move its specified metrics in the direction of their stated target goal.
Exhibit 7-6 is an example of different objectives that an organization
might identify for each component. You can see how certain
objectives relate to other objectives—for example, if the organization
increases process efficiency (in the internal process component
row), that should help with the objective of lowering cost in the
financial component row.
EXHIBIT 7-6
An Example of a Balanced Scorecard
Reprinted with permission from Balanced Scorecard Institute, a
Strategy Management Group Company. Copyright 2008–2017.
page 275
EXHIBIT 7-7
Suggested KPIs That Every Manager Needs to Know1
Source: https://www.linkedin.com/pulse/20130905053105-64875646-the-75-kpis-every-
manager-needs-to-know
page 276
PROGRESS CHECK
3. To illustrate what KPIs emphasize in “what gets measured,
gets done,” Walmart has a goal of a “zero waste future.”2
How does reporting Walmart’s waste recycling rate help the
organization figure out if it is getting closer to its goal? Do
you believe it helps the organization accomplish its goals?
4. How can management identify useful KPIs? How could
Data Analytics help with that?
Once the measures have been determined, the data that are
necessary to showcase those measures need to be identified. You
were first introduced to how to identify and obtain necessary data in
Chapter 2 through the ETL (extract, transform, and load) process. In
addition to working through the same data request process that is
detailed in Chapter 2, there are two other questions to consider
when obtaining data and evaluating their quality:
1. How often do the data get updated in the system? This will help you
be aware of how up-to-date your metrics are so that you interpret
the changes over time appropriately.
2. Additionally, how often do you need to see updated data? If the data
in the system are updated on a near-real-time basis, it may not be
necessary for you to have new updates pushed to your scorecard
as frequently. For example, if your team will assess their progress
only in a once-a-week meeting, there is no need to have a
constantly updating scorecard.
page 277
While the data for calculating KPIs are likely stored in the
company’s enterprise system or accounting information system, the
digital dashboard containing the KPIs for data analysis should be
created in a data visualization tool, such as Excel or Tableau.
Loading the data into these tools should be done with precision and
should be validated to ensure the data imported were complete and
accurate.
Designing data visualizations and selecting the right way to
express data (as whole numbers, percentages, or absolute values,
etc.) was discussed in Chapter 4. Specifically for digital dashboards,
the format of your dashboard can follow the pattern of a Balanced
Scorecard with a strategy map, or it can take on a different format.
Exhibit 7-8 shows a template for building out the objectives,
measures, targets, and initiatives into a Balanced Scorecard format.
EXHIBIT 7-8
Balanced Scorecard Strategy Map Template with Measures, Targets, and Initiatives
PROGRESS CHECK
5. How often would you need to see the KPI of Waste
Recycling Rate to know if you are making progress? Any
different for the KPI of ROA?
6. Why do you think that the most important KPIs should be
shown in the top left corner of a digital dashboard?
ADDRESS AND REFINE RESULTS
LO 7-
4
Understa
nd how
to drill-
down
and
follow up
with
results.
PROGRESS CHECK
7. Why are digital dashboards for KPIs an effective way to
address and refine results, as well as communicate insights
and track outcomes?
8. Consider the opening vignette of the Kenya Red Cross.
How do KPIs help the organization prepare and carry out its
goal of being the “first in and last out”?
Summary
Management accountants must use descriptive
analytics to understand and direct activity, diagnostic
analytics to compare with a benchmark and control
costs, predictive analytics to plan for the future, and
prescriptive analytics to guide their decision process.
Relevant costs and data help inform decisions, variance
analysis and bullet graphs help determine where the
company is, and regression helps managers understand
and predict costs.
Because data are increasingly available and affordable
for companies to access and store, and because the
growth in technology has created robust and affordable
business intelligence tools, data and page 279
information are becoming the key
components for decision making, replacing gut
response.
Performance metrics are defined, compiled from the
data, and used for decision making. A specific type of
performance metrics, key performance indicators—or
“key” metrics that influence decision making and
strategy—are the most important.
One of the most common ways to communicate a
variety of KPIs is through a digital dashboard. A digital
dashboard is an interactive report showing the most
important metrics to help users understand how a
company or an organization is performing. Their value is
maximized when the metrics provided on the dashboard
are used to affect decision making and action.
One iteration of a digital dashboard is the Balanced
Scorecard, which is used to help companies turn their
strategic goals into action by identifying the most
important metrics to measure, as well as identifying
target goals to compare metrics against. The Balanced
Scorecard is comprised of four components: financial (or
stewardship), customer (or stakeholder), internal
process, and organizational capacity (or learning and
growth).
For each of the four components, objectives, measures,
targets, and initiatives are identified. Objectives should
be aligned with strategic goals of the organization,
measures are the KPIs that show how well the
organization is doing at meeting its objective, and
targets should be achievable goals toward which to
move the metric. Initiatives should be the actions that an
organization can take to move its specified metrics in
the direction of its stated target goal.
Regardless of whether you are creating a Balanced
Scorecard or another type of digital dashboard to
showcase performance metrics and KPIs, the IMPACT
model should be used to complete the project.
Key Words
Balanced Scorecard (273) A particular type of digital
dashboard that is made up of strategic objectives, as well
as KPIs, target measures, and initiatives, to help the
organization reach its target measures in line with
strategic goals.
ANSWERS TO PROGRESS
CHECKS
1. The contribution margin includes the revenues and
variable costs that are traceable to that division or
product. That data would be relevant. Other relevant
data may be the types of customers and sentiment
toward the product, products that are sold in
conjunction with that product, or market size. Shared or
allocated costs would not be.
2. A bullet graph uses a small amount of space to
evaluate a large number of metrics. Gauges are more
visually engaging and easier to understand, but waste a
lot of space.
3. If waste reduction is an important goal for page 280
Walmart, having a KPI and, potentially, a
digital dashboard that reports how well the organization
is doing will likely be useful in helping it accomplish its
goal. Using a digital dashboard helps an organization to
see if, indeed, it is making progress.
4. The KPIs that are the most helpful are those that are
consistent with the company’s strategy and measure
how well the company is doing in meeting its goals.
Data Analytics will help gather and report the necessary
data to report on the KPIs. The Data Analytics IMPACT
model introduced in Chapter 1—from identifying the
question to tracking outcomes—will be helpful in getting
the necessary data.
5. The frequency of updating KPIs is always a good
question. One determinant will be how often the data
get updated in the system, and the second determinant
is how often the data will be considered by those
looking at the data. Whichever of those two
determinants takes longer is probably correct frequency
for updating KPIs.
6. Because our eyes are most naturally drawn to that part
of any page that we are reading, the most important
KPIs should be placed in the top left corner.
7. By identifying the KPIs that are most important to
corporate strategy and finding the necessary data to
support them and then reporting on them in a digital
dashboard, decision makers will have the necessary
information to make effective decisions and track
outcomes.
8. As noted in the opening vignette, using Data Analytics
to refine its strategy and assign measurable
performance metrics to its goals, Kenya Red Cross felt
confident that its everyday activities were linked to
measurable goals that would help the organization
reach its goals and maintain a strong positive reputation
and impact through its service.
Discussion Questions
1. We know that a Balanced Scorecard is comprised of
four components: financial (or stewardship), customer
(or stakeholder), internal process, and organizational
capacity (or learning and growth). What would you
include in a dashboard for the financial and customer
components?
2. We know that a Balanced Scorecard is comprised of
four components: financial (or stewardship), customer
(or stakeholder), internal process, and organizational
capacity (or learning and growth). What would you
include in a dashboard for the internal process and
organizational capacity components? How do digital
dashboards make KPIs easier to track?
3. Amazon, in the author’s opinion, has cared less about
profitability in the short run but has cared about gaining
market share. Arguably Amazon gains market share by
taking care of the customer. Given the “Suggested 75
KPIs That Every Manager Needs to Know” page 282
from Exhibit 7-7, what would be a natural
KPI for the customer aspect for Amazon?
4. For an accounting firm like PwC, how would the
Balanced Scorecard help balance the desire to be
profitable for its partners with keeping the focus on its
customers?
5. For a company like Walmart, how would the Balanced
Scorecard help balance the desire to be profitable for
its shareholders with continuing to develop
organizational capacity to compete with Amazon (and
other online retailers)?
6. Why is Customer Retention Rate a great KPI for
understanding your Tesla customers?
7. If the data underlying your digital dashboard are
updated in real time, why would you want to update
your digital dashboard in real time? Are there situations
when you would not want to update your digital
dashboard in real time? Why or why not?
8. In which of the four components of a Balanced
Scorecard would you put the Walton College’s diversity
initiative? Why do you think this is important for a public
institution of higher learning?
Problems
1. From Exhibit 7-7, choose five financial performance
KPIs to answer the following three questions. This URL
(https://www.linkedin.com/pulse/20130905053105-
64875646-the-75-kpis-every-manager-needs-to-know)
provides background information for each individual KPI
that may be helpful in understanding the individual KPIs
and answering the questions.
a. Identify the equation/relationship/data needed to
calculate the KPI. If you need data, how frequently
would the data need to be incorporated to be most
useful?
b. Describe a simple visualization that would help a
manager track the KPI.
c. Identify a benchmark for the KPI from the Internet.
Choose an industry and find the average, if possible.
This is for context only.
2. From Exhibit 7-7, choose 10 employee performance
KPIs to answer the following three questions. This URL
(https://www.linkedin.com/pulse/20130905053105-
64875646-the-75-kpis-every-manager-needs-to-know)
provides background information for each individual KPI
that may be helpful in understanding the individual KPIs
and answering the questions.
a. Identify the equation/relationship/data needed to
calculate the KPI. How frequently would it need to be
incorporated to be most useful?
b. Describe a simple visualization that would help a
manager track the KPI.
c. Identify a benchmark for the KPI from the Internet.
Choose an industry and find the average, if possible.
This is for context only.
3. From Exhibit 7-5, choose 10 marketing KPIs to answer
the following three questions. This URL
(https://www.linkedin.com/pulse/20130905053105-
64875646-the-75-kpis-every-manager-needs-to-know)
provides background information for each individual KPI
that may be helpful in understanding the individual KPIs
and answering the questions.
a. Identify the equation/relationship/data needed to
calculate the KPI. How frequently would it need to be
incorporated to be most useful?
b. Describe a simple visualization that would help a
manager track the KPI.
c. Identify a benchmark for the KPI from the Internet.
Choose an industry and find the average, if possible.
This is for context only.
4. How does Data Analytics help facilitate the use of the
Balanced Scorecard and tracking KPIs? Does it make
the data more timely? Are you able to access more
information easier or faster, or what capabilities does it
give? page 283
5. If ROA is considered a key KPI for a
company, what would be an appropriate benchmark?
The industry’s ROA? The average ROA for the
company for the past five years? The competitors’
ROA?
a. How will you know if the company is making
progress?
b. How might Data Analytics help with this?
c. How often would you need a measure of ROA?
Monthly? Quarterly? Annually?
6. If Time to Market is considered a key KPI for a
company, what would be an appropriate benchmark?
The industry’s time to market? The average time to
market for the company for the past five years? The
competitors’ time to market?
a. How will you know if the company is making
progress?
b. How might Data Analytics help with this?
c. How often would you need a measure of Time to
Market? Monthly? Quarterly? Annually?
7. Why is Order Fulfillment Cycle Time an appropriate KPI
for a company like Wayfair (which sells furniture
online)? How long does Wayfair think customers will be
ready to wait if Amazon Prime promises items delivered
to its customers in two business days? Might this be an
important basis for competition?
page 284
End of Lab
Data
Sales order data are available for a four-year period,
including demographic data about the customers, as well
as main categories and subcategories of products. Note
that depending on the version of Tableau you use, the
screenshots may differ from the examples below.
Technique
In this lab, you will use Tableau to generate a dashboard
to evaluate four key performance indicators.
Software needed
Tableau
Order ID Region
Order Date
Orders Returns People
Ship Date
Ship Mode
Customer ID
Customer Name
Segment
Country City
State
Postal Code
Region Product ID
Category
Subcategory
Product Name
Sales
Quantity
Discount
Orders Returns People
Profit
page 288
page 289
Tableau Software, Inc. All Rights Reserved
page 290
i. Red-Green Diverging
ii. Reversed
iii. Advanced: Center: 4
g. Take a screenshot (label it 7-2B).
3. Create a new worksheet called Customer. In the end,
the visualization will look similar to this.
End of Lab
page 295
Data
To begin mastering the data, you will need to connect to
SQL Server data through Excel using Data > Get &
Transform. If you need a refresher on how to do so, refer
to Appendix F.
Once you connect to the SQL Server dataset
WCOB_DILLARDS in Excel and expand the options to
input a query, input the following SQL query to extract the
data needed for our analysis.
Select Transact.*, Store.STATE
From Transact
Inner Join Store
On Transact.Store = Store.STORE
Where TRAN_DATE BETWEEN ’20160901’ and ’20160915’
Order By Tran_Date
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
Power Pivot Excel add-in. To create a date table, we’ll
extract and load the data through Power Pivot instead of
through the Get & Transform tab. If you don’t see Power
Pivot as a tab in the Excel ribbon, you will need to
activate the add-in.
page 296
page 297
3. From the drop-down window at the bottom
of the Add-ins screen, select COM add-ins, then click
Go. . .
page 298
12. Now we will create the KPI. In the Power page 300
Pivot tab of the ribbon, click KPIs and
select New KPI. . .
Source: Microsoft Excel 2016
page 301
Q2. Why might you want to edit the status
thresholds? Does 18.4 seem low for the upper
limit?
14. Now that you have your KPI created, you can see each
of them in the PivotTable Fields list.
If you expand the KPI fields, you see three options:
The Value (2016 Sales) will show the actual sale
totals associated with the year 2016 (or sliced by
month or day, depending on the other values you drill
into in the PivotTable).
The Goal will show 2015 sales totals—this is the
measure that you are using to compare 2016 sales
against. The Goal is for the sales to be at least 2
percent higher than the previous year’s sales.
The Status will show stoplight icons indicating red,
yellow, or green circles based on the thresholds you
selected when setting the KPI. Note: When the KPI
fields are added to the PivotTable, they are designed
to show up as stoplights (red, yellow, or green
circles, depending on the status). It is likely, however,
that the KPI status was automatically added to your
PivotTable and that the stoplight signals show as -1,
0, and 1 instead of stoplights. If you remove the
AVG(Tran_Amt) Status from the PivotTable (you can
do so by unchecking the KPI Status in the PivotTable
field list) and then place it back into the PivotTable by
replacing the check mark, it should correct the issue
and the stoplight icons will show in the PivotTable.
15. Create a PivotTable that shows the KPI status for
average Transaction by each of the 15 days in your
data range. Place TRAN_DATE in the Rows and
AVG(Tran_Amt) and AVG (Tran_Amt) Status in the
Values, as shown in the image below.
page 302
16. Take a screenshot (label 7-3A).
Q3. How did Dillard’s perform in September 2016
compared to September 2015? Do you think
the target is set too high or too low? Which
day(s) performed the worst, compared to the
same date(s) in the previous period? Why do
you think that is?
End of Lab
Lab 7-4 Comprehensive Case:
Dillard’s Store Data: Creating KPIs in
Excel (Part II)
Company summary
Dillard’s is a department store with approximately 330
stores in 29 states. Its headquarters is in Little Rock,
Arkansas. You can learn more about Dillard’s by looking
at finance.yahoo.com (Ticker symbol = DDS) and the
Wikipedia site for DDS. You’ll quickly note that William T.
Dillard II is an accounting grad of the University of
Arkansas and the Walton College of Business, which may
be why he shared transaction data with us to make
available for this lab and labs throughout this text.
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials. The 2016 Dillard’s
data cover all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
page 303
page 304
The data have been fully extracted
from SQL Server into Excel’s Internal Data Model, but
they need to be transformed so that we can more
easily compare daily sales amounts year over year.
Instead of seeing a separate record for each day,
beginning with January 1, 2014, and ending with
October 17, 2016, we would prefer to see only 365
records—one record for each day in a calendar year,
but with separate columns for each year (2014, 2015,
and 2016), each with the transaction amount
associated with that year’s month and day.
3. Select the year column.
4. Select Pivot Column from the Transform tab on the
Query Editor ribbon.
Source: Microsoft Excel 2016
page 305
Once the PivotTable has been created
(this may take a few moments as the data are loaded
into the data model), you can create a measure and a
KPI using Excel’s Power Pivot capabilities. Excel has a
way to super-charge its conditional formatting by
creating KPIs in Power Pivot. If you do not have this
add-in added to Excel yet, see instructions in Lab 7-3
steps 1-4. KPIs require three decisions:
Identify a base performance metric, and create a
measure. Measures can be implicit or explicit.
Implicit measures are measures created in a
PivotTable—any time you drag and drop a field into
the values section of the PivotTable, it becomes an
implicit measure. Implicit measures are restricted to
the value field settings’ standard aggregations
(SUM, COUNT, MIN, MAX, DISTINCTCOUNT, or
AVG). These implicit measures cannot be used to
create KPIs.
Explicit measures can be created in the Power Pivot
Data Model window or in the Excel main window
from the Measure dialog box in the Power Pivot tab
on the Excel ribbon.
Identify a target value to compare the measure to.
Create a KPI to signal performance of the measure in
comparison to the baseline, and determine the range of
values that indicate poor performance, good
performance, and great performance.
We will need to create three measures, the sums of
each of the year’s sales Transactions.
8. Navigate to the Power Pivot tab in the ribbon. Click
Measures, then Select New Measure. . .
12. Repeat the same steps used to create the measure for
2014 sales to create measures for 2015 sales and 2016
sales.
13. Now we will create the KPIs to compare 2015 sales to
2014, and 2016 sales to 2015. In the Power Pivot tab of
the ribbon, click KPIs and select New KPI. . .
Source: Microsoft Excel 2016
page 308
Occasionally, if the KPI status is
automatically added to your PivotTable, the stoplight
signals show as –1, 0, and 1. If you uncheck and
recheck the status field from the fields list, this will
correct the issue and the stoplight icons will show.
If you expand the KPI fields, you see three options:
The Value (2016 Sales) will show the actual sale totals
associated with the year 2016 (or sliced by month or day,
depending on the other values you drill into in the
PivotTable).
The Goal will show 2015 sales totals—this is the
measure that you are using to compare 2016 sales
against. The Goal is for the sales to be at least 2 percent
higher than the previous year’s sales.
The Status will show stoplight icons indicating red,
yellow, or green circles based on the thresholds you
selected when setting the KPI.
17. Create a PivotTable that shows the KPI status of 2015
and 2016 sales by month. To do so, drag and drop
Months into the Rows and Status for both KPIs into the
Values.
Source: Microsoft Excel 2016
page 309
If you just place a check mark in the
box next to the month field, you will notice that the
PivotTable defaults to reading Month values as
numerical data instead of calendar data, so it places it
as a value and sums the month numbers. You just
need to drag and drop month outside of Values and
into Rows.
18. Take a Screenshot (label it 7-4A).
19. To provide some drill-down capabilities, add the Day
field to the Rows (beneath Month).
Q2. Do you notice a pattern with how frequently
the “bad” (red icon) days appear in 2016 in
relation to 2015?
Q3. What do you think is the potential problem
with comparing days (e.g., comparing
September 1, 2016 to September 1, 2015)?
How could this be improved?
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials. The 2016 Dillard’s
data cover all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
Power Pivot Excel add-in. To create a date table, we’ll
extract and load the data through Power Pivot instead of
through the Get & Transform tab. If you don’t see Power
Pivot as a tab in the Excel ribbon, you will need to
activate the add-in.
page 310
page 311
3. The Table Import Wizard window will
open. Input the SQL Server name and the Database
name that you received from your instructor, then click
Next.
page 312
5. We need to bring in only two attributes. In
Lab 7-3, we had to parse out the different date parts in
order to group our data by month and year, instead of
just by day. In this lab, we will use Excel’s Power Pivot
tool to create a Date table. The tool will be able to
parse out the date parts for us, instead of us having to
do so with our query. This will also allow us to view
more interesting date parts, such as the day of the
week (not just the date).
Input the following query into the Table Import
Wizard window to extract the total amount of
Transactions for each day in the database:
Select Tran_Date, SUM(Tran_Amt) AS Sales
From Transact
Group By Tran_Date
After entering the SQL text, click Validate to ensure
the query will run, and then click Finish.
page 314
9. Select OK to create the PivotTable in a
New Worksheet.
page 316
15. The data will be automatically refreshed in
the Power Pivot tool and in the Excel worksheet with
the PivotTable. Close the Power Pivot tool.
End of Lab
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials. The 2016 Dillard’s
data cover all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Microsoft SQL Server Management Studio (available on
the Remote Desktop at the University of Arkansas)
Excel 2016 (available on the Remote Desktop at the
University of Arkansas)
Power Pivot Excel add-in. To create a date table, we’ll
extract and load the data through Power Pivot instead of
through the Get & Transform tab. If you don’t see Power
Pivot as a tab in the Excel ribbon, you will need to
activate the add-in.
Prerequisite
Labs 7-4 and 7-5. If you haven’t completed these labs,
then you can still read through the steps in Labs 7-4 and
7-5 to see the screenshots of the ETL process in Excel
(Lab 7-5) and the KPI creation process (Lab 7-4) to be
ready for this lab.
page 317
page 319
15. Notice what happens as you select
different states: Not only do the data change to reflect
the KPI status for the state that you selected, but the
stores that are associated with that state shift to the top
of the store slicer, making it easier to drill down.
16. Take a screenshot (label it 7-6B).
We can ease drill-down capabilities even more by
creating a hierarchy between state and store.
17. Open the Power Pivot tool by clicking Manage from
the Power Pivot tab in the Excel ribbon.
18. From the Power Pivot Home tab, switch to Diagram
View.
19. Select both the State and the Store attributes from the
Query table, then right-click one of the attributes to
create a hierarchy.
Source: Microsoft Excel 2016
End of Lab
page 321
Data
The data for this lab and all other Dillard’s labs must be
accessed through the University of Arkansas Remote
Desktop. Directions for accessing the Remote Desktop
can be found at www.mhhe.com/richardsondaa2e. See
your instructor for login credentials. The 2016 Dillard’s
data cover all transactions over the period 1/1/2014 to
10/17/2016.
Software needed
Tableau (available on the Remote Desktop at the
University of Arkansas)
page 323
Tableau
End of Lab
1https://www.linkedin.com/pulse/20130905053105-64875646-the-75-kpis-every-manager-
needs-to-know.
2http://corporate.walmart.com/2016grr/enhancing-sustainability/moving-toward-a-zero-
waste-future (accessed August 2017).
3https://www.linkedin.com/pulse/20130905053105-64875646-the-75-kpis-every-manager-
needs-to-know/ (accessed October 13, 2017).
page 326
Chapter 8
Financial Statement Analytics
A Look Back
Chapter 7 focused on generating and evaluating key performance
metrics that are used primarily in managerial accounting. By
measuring past performance and comparing it to targeted goals, we
are able to assess how well a company is working toward a goal.
Also, we can determine required adjustments to how decisions are
made or how business processes are run, if any.
A Look Ahead
In Chapter 9, we highlight the use of data analytics for the tax
function. First, we consider how tax departments get the data they
need from the financial reporting system. Second, we investigate
how data analytics is used to help with tax compliance issues and
tax planning.
page 327
Sometimes the future is now. The StockSnips app uses sentiment analysis, machine
learning, and artificial intelligence to aggregate and analyze news related to publicly
traded companies on Nasdaq and the New York Stock Exchange to “gain stock
insights and track a company’s financial and business operations.” The use of Data
Analytics helps classify the new to help predict revenue, earnings, and cash flows,
which are in turn used to predict the stock performance. What will Data Analytics do
next?
OBJECTIVES
After reading this chapter, you should be able to:
page 328
EXHIBIT 8-1
Vertical Analysis of a Common Size Financial Statement
Other Classes of Ratios
For other indicators of financial health, there are four main types of
ratios: liquidity, activity, solvency (or financing), and profitability. In
practice, these ratios may vary slightly depending on which accounts
the user decided to include or exclude.
Liquidity is the ability to satisfy the company’s short-term
obligations using assets that can be most readily converted into
cash. Liquidity ratios help measure the liquidity of a company. Here
are some common liquidity ratios:
Times interest earned ratio = Income before interest and taxes/Interest expense
EXHIBIT 8-2
Comparison of Ratios among Three Companies
Auditors will use ratio analysis to pinpoint potential audit issues
by considering how a company’s financial statements depart from
industry performance, a close competitor, or even the same
company’s prior-year performance. Competitors might use ratio
analysis to understand the vulnerabilities of a competitor. Bond
investors might use ratio analysis to see if a bond covenant is
violated (e.g., some bond contracts require a borrower to maintain a
current ratio above 1.0 to help ensure the loan can be paid off).
page 332
Change percent = (Current year amount – Base year amount)/Base year amount
When you calculate the trend over a large period of time relative
to a single base year, you create an index. An index is a metric that
shows how much any given subsequent year has changed relative to
the base year. The formula is the same as above, but we lock the
base year value when creating our formula, shown in Exhibit 8-4.
EXHIBIT 8-4
Index Showing Change in Value Relative to Base Year
page 333
PROGRESS CHECK
1. Which ratios would a financial institution be most interested
in when determining whether to grant a loan to a business?
2. What would a horizontal trend tell you about a firm’s
performance?
Showing Trends
Sparklines and trendlines are used to help, financial statement users
easily see the data visually and give meaning to the underlying
financial data. A sparkline is a small visual trendline or bar chart that
efficiently summarizes numbers or statistics in a single spreadsheet
cell. Because it generally can fit in a single cell within a spreadsheet,
it can easily add to the data without detracting from the tabular
results.
For what types of reports or spreadsheets should sparklines be
used? It usually depends on the type of reporting that is selected.
For example, if used in a digital dashboard that already has many
charts and dials, additional sparklines might clutter up the overall
appearance. However, if used to show trends where it replaces or
complements lots of numbers, it might be used as a very effective
visualization. The nice thing about sparklines is they are generally
small and just show simple trends rather than all the details
regarding the horizontal and vertical axes that you would expect on a
normal graph.
Exhibit 8-5 provides an example of the use of sparklines in a
horizontal trend analysis for Microsoft. It shows the relative value of
each line item and the overall trend.
EXHIBIT 8-5
Visualizing Financial Data with Heat Maps and Sparklines
page 334
EXHIBIT 8-6
Sunburst Diagram Showing Composition of a Balance Sheet
For some additional examples of visualizations that show
financial data, including tree diagrams, geographic maps, chord
diagrams, and heat maps for word frequency in management
discussion and analysis, explore the following website:
rankandfiled.com.
PROGRESS CHECK
3. How might sparklines be used to enhance the DuPont
analysis? Would you show the sparklines for each
component of the DuPont ROE disaggregation, or would
you propose it be shown only for the total?
TEXT MINING AND SENTIMENT
ANALYSIS
LO 8-
3
Describe
the value
of text
mining
and
sentimen
t
analysis
of
financial
reporting
.
page 335
To provide an illustration of the use and predictive ability of text
mining and sentiment analysis, Loughran and McDonald2 use text
mining and sentiment analysis to predict the stock market reaction to
the issuance of a 10-K form by examining the proportion of negative
words used in a 10-K report. Exhibit 8-7 comes from their research
suggesting that the stock market reaction is related to the proportion
of negative words (or inversely, the proportion of positive words).
They call this method overlap. Thus, using this method to define the
tone of the article, they indeed find a direct association, or
relationship, between the proportion of negative words and the stock
market reaction to the disclosure of 10-K reports.
EXHIBIT 8-7
Stock Market Reaction (Excess Return) of Companies Sorted by Proportion of
Negative Words
The lines represent the words from a financial dictionary (Fin-Neg) and a standard English
dictionary (H4N-INF).
Source: Loughran, Tim, and Bill McDonald. (2011). “When Is a Liability Not a Liability?
Textual Analysis, Dictionaries, and 10-Ks.” Journal of Finance 66, no. 1, pp. 35–65.
They measure proportion first by developing a dictionary of 2,337
negative words in the financial context and then counting how many
of those words are used as compared to the total words used (called
Fin-Neg in Exhibit 8-7). One of their arguments is that a financial
dictionary is better than a dictionary created from standard English
usage. For that reason, they differentiate their financial dictionary
(Fin-Neg) from the negative words used in normal English usage (as
shown in Exhibit 8-7 as H4N-Inf). Whereas cost, expense, or liability
might be viewed as negative in normal English, they are not
considered to be negative words in the financial dictionary. The most
frequent negative words in the financial dictionary include words like
loss, claims, impairment, adverse, restructuring, and litigation.
PROGRESS CHECK
4. Which would you predict would have more positive
sentiment in a 10-K, the footnotes to the financial
statements or the MD&A (management discussion and
analysis) of the financial statements?
5. Why would you guess the results between the proportion of
negative words and the stock market reaction to the 10-K
issuance diverge the Fin-Neg and the H4N-Inf dictionary?
page 336
EXHIBIT 8-8
Creating an XBRL Instance Document
EXHIBIT 8-9
Organization of Accounts within the XBRL Taxonomy
The current U.S. GAAP Financial Reporting Taxonomy can be
explored interactively at xbrlview.fasb.org. It defines more than
19,000 elements with descriptions and links to the page 337
FASB codification. For example, the XBRL tag for
cash is labeled “Cash” and is defined as follows:
The XBRL tag for cash and cash equivalents footnote disclosure
is labeled as “CashAndCashEquivalentsDisclosureTextBlock” and is
defined as follows:
The entire disclosure for cash and cash equivalent footnotes, which may include the
types of deposits and money market instruments, applicable carrying amounts,
restricted amounts and compensating balance arrangements. Cash and equivalents
include: (1) currency on hand (2) demand deposits with banks or financial institutions
(3) other kinds of accounts that have the general characteristics of demand deposits
(4) short-term, highly liquid investments that are both readily convertible to known
amounts of cash and so near their maturity that they present insignificant risk of
changes in value because of changes in interest rates. Generally, only investments
maturing within three months from the date of acquisition qualify.4
Investors and analysts have been reluctant to use the data because of concerns
about its accuracy, consistency, and reliability. Inconsistent or incorrect data tagging,
including the use of custom tags in lieu of standard tags and input mistakes, causes
translation errors, which make automated analysis of the data unduly difficult.5
IBM labels revenue as “Total revenue” and uses the tag “Revenues”, whereas Apple,
labels their revenue as “Net sales” and uses the tag “SalesRevenueNet”. This is a
relatively simple case, because both companies used tags from the FASB taxonomy.
Users are typically not interested in the subtle differences of how companies tag or
label information. In the previous example, most users would want Apple and IBM’s
revenue, regardless of how it was tagged. To that end, we create standardized
metrics.6
page 339
EXHIBIT 8-10
Balance Sheet from XBRL Data
Source: https://www.calcbench.com/xbrl_to_excel
page 340
EXHIBIT 8-11
DuPont Ratios Using XBRL Data
Source: https://www.calcbench.com/xbrl_to_excel.
You’ll note for the Quarter 2 analysis in 2009, for DuPont (Ticker
Symbol = DD), if you take its profit margin, 0.294, multiplied by asset
turnover of 20.1 percent multiplied by the financial leverage of 471.7
percent, you get a return on equity of 27.8 percent.
PROGRESS CHECK
6. How does XBRL facilitate Data Analytics by analysts?
7. How might standardized XBRL metrics be useful in
comparing the financial statements of General Motors,
Alphabet, and Alibaba?
8. Assuming XBRL-GL is able to disseminate real-time
financial reports, which real-time financial elements
(account names) might be most useful to decision makers?
And which information might not be useful?
9. Using Exhibit 8-11 as the source of data and using the raw
accounts, show the components of profit margin, operating
leverage and financial leverage and how they are combined
to equal ROE for Q2 2009 for DuPont (Ticker = DD).
page 341
Summary
Data Analytics extends to the financial accounting and
financial reporting space.
Key Words
common size financial statements (328) A type of
financial statement that contains only basic accounts that
are common across companies.
page 342
ANSWERS TO PROGRESS
CHECKS
1. Liquidity ratios (e.g., current ratio or quick ratio) would
tell the bank whether the business could make
payments. Solvency ratios (e.g., debt-to-equity ratio)
would indicate how leveraged the company was and
the likelihood of paying us back. It may also determine
the interest rate we charge.
2. The horizontal analysis shows the trend over time. We
could see if revenues are going up and costs are going
down as the result of good management or the opposite
in the case of inefficiencies or decline.
3. Answers may vary on how to visualize the data. It might
depend on the type of reporting that is selected. For
example, is it solely a digital dashboard, or is it a report
with many facts and figures where more sparklines
might clutter up the overall appearance? The nice thing
about sparklines is they are generally small and just
show simple trends rather than details about the
horizontal and vertical axes.
4. The MD&A section of the 10-K has management
reporting on what happened in the most recent period
and what they expect will happen in the coming year.
They are usually upbeat and generally optimistic about
the future. The footnotes are generally background
looking and would be much more factual-based,
careful, and conservative. We would expect the MD&A
section to be much more optimistic than the footnotes.
5. Accounting has its own lingo. Words that might seem
negative for the English language are not necessarily
negative for financial reports. For this reason, the
results diverge based on whether the standard English
usage dictionary (H4N-inf) or the financial dictionary
(Fin-Neg) is used. The relationship between the excess
stock market return and the financial dictionary is what
we would expect.
6. By each company providing tags for each piece of its
financial data as computer readable, XBRL allows
immediate access to each type of financial statement
user, be they financial analysts, investors, lenders, for
their own specific use.
7. When journal entries and transactions are made in an
XBRL-GL system, there is the possibility of real-time
financial reporting. In the author’s opinion, income
statement information (including sales, cost of goods
sold, and SG&A expenditures) would be useful to
financial users on a real-time basis. Any information
that does not change frequently would not be as useful.
Examples include real-time financial elements,
including goodwill; long-term debt; and property, plant,
and equipment.
8. Standardized metrics are useful for comparing
companies because they allow for similar accounts to
have the same title regardless of the account names
used by the various companies. They allow for ease of
comparison across multiple companies.
9. Profit margin = (Revenues – Cost of
revenue)/Revenues = ($7.088B – $5.007B)/ $7.088B =
29.4%
Operating leverage = Sales/Assets = ($7.088B /
$35.258B) = 20.1%
Financial leverage = Assets/Equity = $35.258B /
$7.474B = 471.7%
ROE = Profit margin × Operating leverage (or Asset
turnover) × Financial leverage = 0.294 × 0.201 × 4.717
= 0.278
page 343
Discussion Questions
1. Which would you predict would have more positive
sentiment in a 10-K, the financial statements or the
MD&A (management discussion and analysis) of the
financial statements? More positive sentiment in the
footnotes or MD&A? Why?
2. Would you recommend the Securities and Exchange
Commission require the use of sparklines on the face of
the financial statements? Why or why not?
3. Why do audit firms perform analytical procedures to
identify risk? Which type of ratios (liquidity, solvency,
activity, and profitability ratios) would you use to
evaluate the company’s ability to continue as a going
concern?
4. Go to https://xbrl.us/data-rule/dqc_0015-lepr/ and find
the XBRL element name for Interest expense and
Sales, General, and Administrative expense.
5. Go to https://xbrl.us/data-rule/dqc_0015-lepr/ and find
the XBRL element name for Other NonOperating
Income and indicate whether XBRL says that should
normally be a debit or credit entry.
6. Go to finance.yahoo.com and type in the ticker symbol
for Apple (AAPL) and click on the statistics tab. Which
of those variables would be useful in assessing
profitability?
7. Can you think of any other settings, besides financial
reports, where tagged data might be useful for fast,
accurate analysis generally completed by computers?
How could it be used in a hospital setting? Or at your
university?
8. Can you think of how sentiment analysis might be used
in a marketing setting? How could it be used in a
hospital setting? Or at your university? When would it
be especially good to measure the sentiment?
Problems
1. Can you think of situations where sentiment analysis
might be helpful to analyze press releases or earnings
announcements? What additional information might it
provide that is not directly in the overall announcement?
Would it be useful to have sentiment analysis
automated to just get a basic sentiment measure
versus the base level of sentiment expected in a press
announcement or earnings announcement?
2. We noted in the text that negative words in page 345
the financial dictionary include words like
loss, claims, impairment, adverse, restructuring, and
litigation. What are other negative words might you add
to that list? What are your thoughts on positive words
that would be included in the financial dictionary,
particularly those that might be different than standard
English dictionary usage?
3. You’re asked to figure out how the stock market
responded to Amazon’s announcement on June 16,
2017, that it would purchase Whole Foods—arguably a
transformational change for Amazon, Walmart, and the
whole retail industry.
Required:
a. Go to finance.yahoo.com, type in the ticker symbol for
Amazon (AMZN), click on historical data, and input
the dates around June 16, 2017. Specifically, see how
much the stock price changed on June 16.
b. Do the same analysis for Walmart (WMT) over the
same dates, which was arguably most directly
affected, and see what happened to its stock price.
4. The preceding question asked you to figure out how the
stock market responded to Amazon’s announcement
that it would purchase Whole Foods. The question now
is if the stock market for Amazon had higher trade
volume on that day than the average of the month
before.
Required:
a. Go to finance.yahoo.com, type in the ticker symbol for
Amazon (AMZN), click on historical data, and input
the dates from May 15, 2017, to June 16, 2017.
Download the data, calculate the average volume for
the month prior to June 16, and compare it to the
trading volume on June 16. Any effect on trading
volume of the Whole Foods announcement by
Amazon?
b. Do the same analysis for Walmart (WMT) over the
same dates and see what happened to its trading
volume. Any effect on trading volume of the Whole
Foods announcement by Amazon?
5. Go to Loughran and McDonald’s sentiment word lists at
https://sraf.nd.edu/textual-analysis/resources/ and
download the Master Dictionary. These lists are what
they’ve used to assess sentiment in financial
statements and related financial reports. Give five
words that are considered to be “negative” and five
words that are considered to be “constraining.” How
would you use this in your analysis of sentiment of an
accounting report?
6. Go to Loughran and McDonald’s sentiment word lists at
https://sraf.nd.edu/textual-analysis/resources/ and
download the Master Dictionary. These lists are what
they’ve used to assess sentiment in financial
statements and related financial reports. Give five
words that are considered to be “litigious” and five
words that are considered to be “positive.”
page 346
Lab 8-1 Create a Horizontal and
Vertical Analysis Using XBRL Data
Company summary
This lab will pull in XBRL data from Fortune 100
companies listed with the SEC. You have the option to
analyze a pair of companies of your choice based on your
own interest level. This lab will have you compare other
companies as well.
Data
The data used in this analysis are XBRL-tagged data from
Fortune 100 companies. The data are pulled from
FinDynamics, which in turn pulls the data from the SEC.
Technique
You will use a combination of spreadsheet formulas and
live XBRL data to generate a spreadsheet that is
adaptable and dynamic. In other words, you will create a
template that can be used to answer several financial
statement analysis questions.
Software needed
Google Sheets (sheets.google.com)
iXBRLAnalyst script
(https://findynamics.com/gsheets/ixbrlanalyst.gs)
where:
company = ticker symbol (e.g., “AAPL” for Apple Inc.)
tag = XBRL tag or normalized tag (e.g.,
“NetIncomeLoss” or “[Net Income]”)
year = reporting year (e.g., “2017”)
period = fiscal period (e.g., “Q1” for 1st Quarter or “Y”
for year)
scale = rounding (e.g., “k,” “thousands,” or “1000” for
thousands) [Note: There is an error with rounding, so it is
suggested to simply divide the formula by the scale
instead, e.g. =XBRLFact(c,t,y,p)/scale.]
Because companies frequently use different tags to
represents similar concepts (such as the tags ProfitLoss
or NetIncomeLoss to identify Net Income), it is important
to make sure you’re using the correct values.
FinDynamics attempts to coordinate the diversity of tags
by using normalized tags that use formulas and
relationships instead of direct tags. Normalized tags must
be contained within brackets []. Some examples are given
in Lab Table 8-1A.
If you’re looking for specific XBRL tags, you can
explore the current XBRL taxonomy at xbrlview.fasb.org.
Statement of
Balance Sheet Income Statement
Cash Flows
[Cash, Cash [Revenue] [Cash From
Equivalents and [Cost of Revenue] Operations
Short-Term [Gross Profit] (CFO)]
Investments]
[Selling, General & [Changes in
[Short-Term Administrative Working
Investments] Expense] Capital]
Statement of
Balance Sheet Income Statement
Cash Flows
[Accounts [Research & [Changes in
Receivable, Development Accounts
Current] Expense] Receivables]
[Inventory] [Depreciation [Changes in
[Other Current (&Amortization), IS] Liabilities]
Assets] [Non-Interest [Changes in
[Current Assets] Expense] Inventories]
[Net of Property, [Other Operating [Adjustments of
Plant & Expenses] Non-Cash
Equipment] [Operating Items, CF]
[Long-Term Expenses] [Provision For
Investments] [Operating Income] Doubtful
[Intangible [Other Operating Accounts]
Assets, Net] Income] [Depreciation
[Goodwill] [Non-Operating (&Amortization),
Income (Expense)] CF]
[Other
Noncurrent [Interest Expense] [Stock-Based
Assets] Compensation]
[Costs and
[Noncurrent Expenses] [Pension and
Assets] Other
[Earnings Before
Retirement
[Assets] Taxes]
Benefits]
[Accounts [Income Taxes]
[Interest Paid]
Payable and [Income from
Accrued [Other CFO]
Continuing
Liabilities, Operations] [Cash from
Current] Investing (CFI)]
[Income from
[Short-Term Discontinued [Capital
Borrowing] Operations, Net of Expenditures]
[Long-Term Taxes] [Payments to
Debt, Current] [Extraordinary Items, Acquire
[Other Current Gain (Loss)] Investments]
Liabilities] [Net Income]
Statement of
Balance Sheet Income Statement
Cash Flows
[Current [Net Income [Proceeds from
Liabilities] Attributable to Investments]
[Other Parent] [Other CFI]
Noncurrent [Net Income [Cash From
Liabilities] Attributable to Financing
[Noncurrent Noncontrolling (CFF)]
Liabilities] Interest] [Payment of
[Liabilities] [Preferred Stock Dividends]
[Preferred Dividends and Other [Proceeds from
Stock] Adjustments] Sale of Equity]
[Common [Comprehensive [Repurchase of
Stock] Income (Loss)] Equity]
[Additional Paid- [Other [Net Borrowing]
in Capital] Comprehensive
[Other CFF]
Income (Loss)]
[Retained [Effect of
Earnings [Comprehensive
Exchange Rate
(Accumulated Income (Loss)
Changes]
Deficit)] Attributable to
Parent] [Total Cash,
[Equity Change]
Attributable to [Comprehensive
Income (Loss) [Net Cash,
Parent] Continuing
Attributable to
[Equity Operations]
Noncontrolling
Attributable to [Net CFO,
Interest]
Noncontrolling Continuing
Interest] Operations]
[Stockholders’ [Net CFI,
Equity] Continuing
[Liabilities & Operations]
Equity] [Net CFF,
Continuing
Operations]
[Net Cash, DO]
Statement of
Balance Sheet Income Statement
Cash Flows
[Net CFO, DO]
[Net CFI, DO]
[Net CFF, DO]
page 348
A B
1 Company AAPL
2 Year 2016
3 Period Y
4 Scale 1000000
End of Lab
Lab 8-2 Create Dynamic Common
Size Financial Statements
XBRLAnalyst allows us to easily create common size
financial statements. Using the skills learned in Lab 8-1,
now extend the analysis to identify some companies
based on their financial performance. The page 350
Fortune 100 companies listed in Lab Exhibit
8-2A operate in a variety of industries. Their FY2016
revenue and assets appear below:
Revenue Assets
Company (millions) (millions)
FY2016 FY2016
BANK OF AMERICA (BAC), $80,104 $2,187,702
through its subsidiaries,
provides various banking and
financial products and services
for individual consumers, small-
and middle-market businesses,
institutional investors,
corporations, and governments
in the United States and
internationally.
WALMART (WMT) operates $482,130 $199,581
retail stores in various formats
worldwide. The company
operates in three segments:
Walmart U.S., Walmart
International, and Sam’s Club.
Revenue Assets
Company (millions) (millions)
FY2016 FY2016
CISCO (CSCO) designs, $49,247 $121,652
manufactures, and sells Internet
protocol (IP)–based networking
and other products related to
the communications and
information technology
industries worldwide.
COCA-COLA (KO) is a $41,863 $87,270
beverage company engaging in
the manufacture, marketing,
and sale of nonalcoholic
beverages worldwide.
BOEING (BA) engages in the $94,571 $89,997
design, development,
manufacture, sale, and support
of commercial jetliners, military
aircraft, satellites, missile
defense, human space flight,
and launch systems and
services worldwide.
EBAY (EBAY) provides online $8,979 $23,847
platforms, tools, and services to
help individuals and merchants
in online and mobile commerce
and payments in the United
States and internationally.
AMAZON (AMZN) operates as $135,987 $83,402
an online retailer in North
America and internationally.
Revenue Assets
Company (millions) (millions)
FY2016 FY2016
MERCK (MRK) provides $39,807 $95,377
various health solutions through
its prescription medicines,
vaccines, biologic therapies,
animal health, and consumer
care products worldwide.
WALT DISNEY COMPANY $55,632 $92,033
(DIS) is an entertainment
company that operates
television and movie studios as
well as theme parks.
MONDELEZ (MDLZ) produces $25,923 $61,538
consumer food products, such
as Oreo cookies.
In Lab Exhibit 8-2B, you’ll find the common size ratios for
each Lab Exhibit 8-2A company’s income statement (as a
percentage of revenue) and balance sheet (as a
percentage of assets).
page 352
End of Lab
Lab 8-3 Analyze Financial
Statement Ratios
Financial analysts, investors, lenders, auditors, and many
others perform ratio analysis to help review and evaluate
a company’s financial statements and financial
performance. This analysis allows the stakeholder to gain
an understanding of the financial health of the company
and gives insights to allow more insightful and, hopefully,
more effective decision making.
In this lab, you will access XBRL data to complete
data analysis and generate financial ratios to compare the
financial performance of several companies. Financial
ratios can more easily be calculated using spreadsheets
and XBRL. You will (1) select an industry to analyze, (2)
create a copy of a spreadsheet template, (3) input ticker
symbols from three U.S. public companies, and (4)
calculate financial ratios and make observations about the
state of the companies using these financial ratios.
Data
Financial Elements from XBRL from SEC Filings
Software needed
Google Account
Google Sheets
Browser connected to Internet
page 353
End of Lab
page 355
Data
We have provided a subset of the XBRL database in two
database files, an Access database and a SQLite
database. This lab will specifically walk through
connecting to the Access database, XBRL.accdb, and
how to work with that data in Excel. If you prefer to work
with the data in SQLite, you can answer the questions
directly in the database with SQL queries.
We have used the Arelle open-source XBRL platform
to build our subset, which in turn pulls the data from the
SEC.
Technique
You will use both the database tool of your choice
(Microsoft Access or SQLite) and Microsoft Excel. You
will use the database tool to view the data, then you will
work with the data in Microsoft Excel by connecting to a
database and using PivotTables.
Software needed
Microsoft Access (or SQLite)
Microsoft Excel
Table
Description
Name
Entity Information on the entity that submitted the
filing
Filing Information about individual filings
Report Link from the information about the filing to the
information in the filing
Period Date information
Unit To what degree any observation was recorded
Part 3: Perform an Analysis of the
Data – Identify Large Accelerated
Filers
To answer the first question (to identify the number of
large, accelerated filers), we will first assess the data in
the database, then we will connect the database to Excel
to further analyze the data.
3. Begin by identifying which tables contain the data you
will need to answer the problem. Look at the Table
Explanations figure (Lab Exhibit 8-4B).
Q3. Which tables seem to have relevant data to (1)
describe a filer to determine if it is categorized
as large, accelerated filers and (2) determine
the filing date?
page 357
17. It will take a little while for the data to load, but once it
loads, place Name in the Rows. This will create a
distinct list of all the element names included in the
Aspect table.
18. To filter for the names that contain Cash, click the filter
button next to Row Labels on the PivotTable, and
select Label Values, then select Contains.
19. Type Cash in the Label Filter box, then click OK.
20. Take a screenshot of your PivotTable (label it 8-4B).
End of Lab
Chapter 9
Tax Analytics
A Look Back
In Chapter 8, we focus on how to access and analyze financial
statement data. We highlight the use of XBRL to quickly and
efficiently gain computer access to financial statement data. Next,
we discuss how ratios are used to analyze financial performance.
We also discuss the use of Sparklines to help users visualize trends
in the data. Finally, we discuss the use of text mining to analyze the
sentiment in financial reporting data.
A Look Forward
In Chapter 10, we bring all of the accounting Data Analytics concepts
together with a set of exercises that walk all the way through the
IMPACT model. The chapter serves as a great way to bring together
all of the elements learned in the course.
page 361
Knowing the tax liability for a move to a new jurisdiction is important for corporations
and individuals alike. For example, a tax accountant might have advised LeBron
James not to sign with the Los Angeles Lakers in summer 2018 because it is
expected it will cost him $21 million more in extra state income taxes since California
has higher taxes than Ohio. Tax data analytics for this type of “what-if scenario
analysis” is important for tax planning purposes. It has wide applications when
contemplating new legislation, a merger possibility, a shift in product mix, or a plan to
set up operations in a new low-tax jurisdiction. Amazon recently used this when
considering the tax incentives for property taxes, payroll taxes, and sales taxes for its
second headquarters location (or its HQ2) which landed near Washington, DC.
Source: https://www.forbes.com/sites/seanpackard/2018/07/02/lebrons-move-could-
cost-him-21-million-in-extra-state-taxes/#6517d3156280, accessed August 2, 2018;
https://www.cnbc.com/2018/11/13/amazon-tax-incentives-in-new-york-city-virginia-
and-nashville.html,accessedAugust2,2018.
OBJECTIVES
After reading this chapter, you should be able to:
page 362
With more and more data available, just like other areas in
accounting, there is an increased focus on tax analytics. New
regulations are requiring greater detail, and tax regulators are getting
more adept at the use of analytics. In addition to the regulator side,
tax filers now have more data to support their tax calculations.
Here are a few ways increased access to data and tax analytics
are used by regulators and by companies:
IRS and tax analytics. The IRS has a huge trove of data about
each taxpayer. There are three main sources of information,
including the following:
Not only do they have data of the reportable financial transactions
that occur during the year (including W-2s, Form 1099s, Schedule
K-1s), but also the IRS has a repository of tax returns from prior
years that they have stored in a data warehouse.
The IRS mines and monitors personal data from social media (such
as Facebook, Twitter, Instagram, etc.)1 about taxpayers. For
example, posts about a new car, new house, or fancy vacation
could help the IRS capture the taxpayer dodging or misreporting
income. Divorce lawyers certainly use the same tactics to learn the
lifestyle and related income of a divorcing spouse!
The IRS has personal financial data about each taxpayer, including
Social Security numbers, bank accounts, and property holdings.
While most of this is gathered from prior returns and transactions
(see item 1), the IRS can also access your credit report during an
audit or criminal investigation to determine if spending/credit looks
proportional to income and if they are trying to collect an
assessment.
Each of these sources of information can help the IRS to
establish a profile (using the profiling test approach discussed in
Chapter 3). The IRS has an algorithm called Discriminant Function
that pulls historical data for average amount and type of deductions
related to income level and predicts the likelihood of underreported
income. When the amount self-reported by the taxpayer is
significantly less than the amount estimated, additional investigation
and a potential tax audit might be warranted if the potential tax
revenue is greater than the expected cost of the investigation.
Documenting book-tax differences. One way for tax regulators to
assess if companies are paying sufficient tax is to look at the
differences between the amount of income reported for financial
reporting purposes (like form 10-Q or 10-K submitted to the SEC)
and the amount reported to the IRS (or other tax authorities) for
income tax purposes. Increasingly, tax software and analytics (such
as Hyperion or Corptax) is used to help with the reconciliation to
find both permanent and temporary differences between the two
methods of computing income and also to provide needed support
for IRS schedule M-3 (Form 1120).
R&D Tax Credit. The R&D Tax Credit is a tax credit under Internal
Revenue Code section 41 for companies that incur research and
development (R&D) costs. To receive this credit, firms must
document an appropriate level of detail before receiving R&D tax
credit. For example, companies have to link an employee’s time
directly to a research activity or to a specific project to qualify for the
tax credit. Let’s suppose that a firm spent money on qualifying R&D
expenditures but simply did not keep the sufficient detail needed as
supporting evidence to receive the credit. Analytics could be used to
consider to find the needed detail (timesheets, calendars, project
timelines, document meetings between various employees, time
needed for management review, etc.) to qualify for the R&D tax
credit.
page 363
PROGRESS CHECK
1. What are examples of tools the IRS has to monitor tax
evasion?
2. How can tax analytics support and potentially increase the
amount of R&D tax credit taken by a company?
The tax function typically uses data from the financial reporting
system (or enterprise system). However, the financial reporting
system is primarily designed and used for financial accounting
purposes, where transactions that have an economic impact are
recorded as an input for the financial statements and other financial
reporting purposes. In addition, these financial reporting systems
along with other data have also been used for management
accounting purposes to allow management to calculate the cost of a
product or to optimize a product mix that would maximize profits for
the firm. There is generally not a completely separate information
system solely collecting tax data needed for tax compliance and tax
planning.
With little integration between the financial reporting system and
the needs of the tax function, tax departments would manually
collect and extract data from its financial reporting system and
generalized data warehouse. After gathering data from these
generalized data warehouses, tax departments would use Excel
spreadsheets to capture and store the detail needed to support tax
calculations. Such lack of integration hampered efforts of tax
accountants to have the needed information to comply with tax law,
to minimize current taxes and to allow for tax planning for future
transactions.
With recent advances in technology, there are increasing
opportunities for tax departments to have greater control of their
data, which allows them to work more effectively and efficiently.
Specifically, instead of use of a generalized data warehouse,
enterprise systems increasingly use specific data marts for their tax
function. Data marts are defined as being a subset of the data
warehouse oriented toward a specific need. Such a tax data mart is
used to extract past and real-time data from the financial reporting
system that is most applicable to the tax function. Tax departments
are able to specify what data might affect their tax calculations for
their tax data mart and have a continuous feed of that data. Such a
tax data mart allows tax departments to more completely own the
data than from a more generalized data warehouse or generalized
data mart. They can add to that tax data mart, other relevant
information that might come from other sources.
They are also able to keep it as a centralized repository so that
different users of the tax function can have access to the data.
Exhibit 9-1 provides a good illustration of how data is accumulated
and subsequently dedicated for the tax function. Consistent with the
IMPACT model, tax data warehouses and tax data marts help tax
departments to “master the data” to address tax questions and
issues inside the company.
page 364
EXHIBIT 9-1
Tax Data in a Data Warehouse
Accounting firms can also keep track of its clients using another
type of data mart; for example, a tax data mart kept at an accounting
firm that might have marketing implications. Let’s suppose an
accounting firm has a tax data mart that keeps track of clients and
their unrealized capital gains. The 2018 Tax Cuts and Jobs Act Tax
Reform offers a major change to investors, allowing them to invest
in opportunity zones (in low-income communities) to defer or
completely eliminate taxes on realized capital gains if reinvested in
opportunity zones. While only a fraction of the estimated total
unrealized capital gains market of $6.1 trillion actually qualifies for
opportunity zones,2 there seems to be an almost endless set of
investors that could reap tax savings via an opportunity zone. If a tax
data mart allows accounting firms to know which investors have
unrealized capital gains, they can effectively market tax assistance,
education about opportunity zones, or market investments in
opportunity funds to them directly.
PROGRESS CHECK
3. Why do tax departments need to extract data for tax
calculation from a financial reporting system?
4. How is a tax data mart specifically able to target the needs
of the tax department?
page 365
PROGRESS CHECK
5. Why is ETR (effective tax rate) a good example of a tax
cost KPI? Why is ETR over time considered to be a good
tax sustainability KPI?
6. Why would a company want to track the levels of late filing
or error penalties as a tax risk KPI?
page 367
page 368
What-If Scenarios
What-if scenario analysis tests the impact of various input data on
an expected output. In tax, this means the manipulation of inputs—
such as multiple tax rates, a series of transactions, and varying profit
margins—to estimate the future outputs, including estimated book
income, cash taxes paid, and effective tax rates. These analyses
attempt to optimize the inputs to reach a desired goal, such as
minimizing the effective tax rate or generating a portfolio of possible
outputs given the inputs. In these cases, we need to estimate the
possible inputs and outputs as well as determine the expected
probabilities of those items.
For example, assume the Pennsylvania General Assembly is
debating a reduction in the statutory corporate income tax rate from
10% to either 8% or 7% with a positive (+5%), neutral, or negative
(−5%) change in corporate income. A company with expected
earnings before tax of $1,000,000 might see potential tax savings
shown in Table 9-1.
TABLE 9-1
Estimated Change in Tax Burden under Different Income Tax Proposals
Based on average earnings before tax of $1,000,000. Negative values represent tax
savings.
TABLE 9-3
Expected Value of Each of the Scenarios
PROGRESS CHECK
7. What are some data a tax manager would need in order to
perform a what-if analysis of the potential effects of a stock
buyback?
8. How does having more metadata help a tax accountant
minimize taxes?
Summary
Recent advances in Data Analytics extend to the tax
functions, allowing them to work more effectively,
efficiently, and with greater control over the data.
Key Words
2018 Tax Cuts and Jobs Act Tax Reform (364) Tax
legislation offering a major change to the existing tax
code.
data mart (363) A subset of the data warehouse focused
on a specific function or department to assist and support
its needed data requirements.
page 371
ANSWERS TO PROGRESS
CHECKS
1. The IRS has all reportable financial (taxable)
transactions at their disposal (including W-2s, Form
1099s, Schedule K-1s, etc.); access to social media
feeds for taxpayers; and access to credit reports, bank
accounts, etc., to help monitor the potential for tax
evasion.
2. Analytics could be used to find the needed detail
(timesheets, calendars, project timelines, document
meetings between various employees, time needed for
management review, etc.) to qualify for the R&D Tax
Credit.
3. Tax data marts are a repository of data from the
financial reporting and other systems to get the data to
support tax department needs.
4. Tax departments are able to specify what data might
affect their tax calculations for their tax data mart and
have a continuous feed of that data. This data mart is
essentially one where the tax department can, in some
sense, “own” the data because no other group has
rights to modify it.
5. The ETR (effective tax rate) is generally used as a
measure of the tax cost used by the tax department to
understand how well they are keeping the tax cost at a
minimum. The lower the effective tax rate, the more
effective the tax department is at finding ways to
structure transactions to minimize taxes and find
applicable tax deductions and tax credits (like the R&D
tax credit or other tax loopholes). Monitoring the level of
the ETR over time helps us know if the tax department
is persistent and consistent in reducing the taxes paid,
or if this rate is highly variable. Generally, most tax
professionals would consider the more stable the ETR
over time, the better. Tracking ETR over time as part of
the tax sustainability KPIs allows management and the
tax department figure out if the ETR is persistent or if
the rate bounces around each year in an unsustainable
way.
6. The greater the number of levels of late filings or error
penalties, the more vulnerable the company is to
penalties, tax audits, and missed tax saving
opportunities.
7. Data may include the possible price of the stock, the
potential capital gains incurred by the stockholders, and
number of shares.
8. The more metadata, the better the tax accountant can
accurately calculate the amounts of taxable and
nontaxable items. For example, they can more clearly
identify expenses that qualify for the research and
development credit or track meal and entertainment
expenses that may trigger tax presence in other
locations.
Discussion Questions
1. Explain how the IRS might use social media data to
profile taxpayers who might be underpaying taxes.
What additional information would the IRS need to
consider in addition to social media data to build a full
taxpayer profile?
2. Why would a company be interested in documenting
the book-tax differences to identify potential items of
interest to the IRS?
3. Explain why the needs of the tax accountant are
different than the needs of the financial accountants.
Why does this lead to a tax data warehouse or tax data
mart?
4. Why would tracking a client’s unrealized capital gains
be important to businesses trying to capitalize on the
tax opportunities inherent in opportunity zones (a new
investment opportunity available as a result of the Tax
Cuts and Jobs Act of 2017)? How would accounting
firms access this data regarding their clients?
5. Why would employee turnover of the tax personnel be a
good KPI to track a company’s overall tax efficiency and
effectiveness? What does low employee turnover (as
compared to high turnover) allow a tax department to
do?
Problems
1. How do visualizations of tax compliance assist a
company in its efforts to reduce tax risk and minimize
the costs of tax preparation and compliance? In your
opinion, what would be needed to consistently make
visualizations a key part of the tax department
evaluation of tax risk and tax cost minimization?
2. How does tax planning differ from tax compliance? Why
might the company leadership be more excited about
the value-creating efforts of tax planning versus that of
tax compliance?
3. How do Data Analytics facilitate what-if scenario
analysis? How does the presence of a tax data mart
help with the needed data to support such analysis?
4. In your opinion, which of the four general categories of
tax KPIs mentioned in the text would be most important
to the CEO? Support your opinion.
5. Explain why tax sustainability would be of interest to the
tax department. What does it allow them to do if they
are able to gain tax sustainability versus what they are
not able to do without tax sustainability?
6. Descriptive analytics help calculate tax liability more
accurately. Give some examples of tax-related
descriptive analytics.
7. Predictive analytics help identify future tax liabilities.
What data would a tax accountant need in order to
perform a predictive analysis?
8. Explain how probability helps refine a what-if analysis.
9. Assume that a company has the option of staying in a
tax jurisdiction with an effective tax rate of 20 percent or
moving to a different location where the effective tax
rates are 11 percent and 4 percent. What other drivers
besides the tax rate may affect the decision to stay or
move?
page 374
10. If a company knows that the IRS will
change a tax calculation in the future, such as the
capitalization of research and experimental expense in
2021, what actions might management take today to
reduce their tax liability when the new policy goes into
effect?
11. Match the tax analytics definitions to their terms: data
mart, data warehouse, tax planning, tax data mart,
what-if scenario analysis.
Tax
Tax Analytics Definition Analytics
Term
A subset of the data warehouse focused on
a specific function or department to assist
and support its needed data requirements
A repository of data accumulated from
internal and external sources, including
financial data, to help management decision
making
Predictive analysis of potential tax liability
and the formulation of a plan to reduce the
amount of taxes paid
A subset of a company-owned data
warehouse focused on the specific needs of
the tax department
Evaluation of the impact of different tax
scenarios/alternatives on various outcome
measures including the amount of taxable
income or tax paid
page 375
Data
Ch 9 State_SalesTax.xlsx
Technique
Some experience with spreadsheets and simple
visualization in Tableau is useful for this lab.
Software needed
Excel
Screen capture tool (Windows: Snipping Tool; Mac:
Cmd+Shift+4)
Tableau
page 376
6. Select the bins that you entered for the Bin Range.
Source: Microsoft Excel 2016
page 377
8. Click OK.
Source: Microsoft Excel 2016
page 379
16. Take a screenshot of the filled map and label it “Lab 9-1
Filled Map.”
17. Right-click the label for Filled Map (previously labeled
Sheet 1) to duplicate the sheet.
18. Using the different options available in the Show Me
tab, create another visual that you find useful. Re-label
the sheet appropriately. If your Show Me tab has
disappeared, you can click Ctrl +1 on your keyboard for
it to reappear.
19. Take a screenshot of your new visual and label it “Lab
9-1 Visual.”
End of Lab
Data
The data for this lab and other Dillard’s labs is available
at http://walton.uark.edu/enterprise/. Your instructor will
either give you specific instructions on how to access the
data, or there will be information available in Connect.
The 2016 Dillard’s data covers all transactions over the
period 1/1/2014 to 10/17/2016.
Additionally, the data found in the Ch 9
State_SalesTax.xlsx is used.
Software needed
Microsoft SQL Server Management Studio (available on
the VMWare at the University of Arkansas)
Microsoft Excel
page 381
End of Lab
Data
The data for this lab and other Dillard’s labs is available
at http://walton.uark.edu/enterprise/. Your instructor will
either give you specific instructions on how to access the
data or there will be information available on Connect.
The 2016 Dillard’s data covers all transactions over the
period 1/1/2014 to 10/17/2016.
Additionally, the data found in the Ch 9
State_SalesTax.xlsx is used.
page 382
Software needed
Microsoft SQL Server Management Studio (available on
the VMWare at the University of Arkansas)
Microsoft Excel
page 383
page 384
Source: Microsoft Excel 2016
page 385
13. Copy the sparkline all the way down your data so that
you can see how the State Tax Owed changed year
over year for each state.
Source: Microsoft Excel 2016
page 386
End of Lab
Data
The data for this lab and other Dillard’s labs is available
at http://walton.uark.edu/enterprise/. Your instructor will
either give you specific instructions on how to access the
data, or there will be information available on Connect.
Additionally, the data found in the Ch 9
State_SalesTax.xlsx is used.
Optionally, a data file for Arkansas’ cities sales tax is
included: Ch 9 Lab - Comprehensive Lab 3 Total Sales
Tax in AR Cities.xlsx
Software needed
Microsoft SQL Server Management Studio (available on
the VMWare at the University of Arkansas)
Microsoft Excel
End of Lab
Data
The data for this lab and other Dillard’s labs is available
at http://walton.uark.edu/enterprise/. Your instructor will
either give you specific instructions on how to access the
data, or there will be information available on Connect.
Additionally, the data found in the Ch 9
State_SalesTax.xlsx is used.
Software needed
Microsoft SQL Server Management Studio (available on
the VMWare at the University of Arkansas)
Microsoft Excel
page 388
page 389
Remember that when you select the
labels in your Y and X ranges, place a check mark next
to Labels, as shown in the visual.
6. Click OK to run the regression.
1https://washington.cbslocal.com/2014/04/16/report-irs-data-mining-facebook-twitter-
instagram-and-other-social-media-sites/,accessed August 2018.
2https://www.forbes.com/sites/jenniferpryce/2018/08/14/theres-a-6-trillion-opportunity-in-
opportunity-zones-heres-what-we-need-to-do-to-make-good-on-it/#527391d46ffc,
accessed August 15, 2018.
3“Defining Success: What KPIs Are Driving the Tax Function Today” PwC, September 2017,
https://www.pwc.com/gx/en/tax/publications/assets/pwc_tax_function_of_the_future_tax_f
unction_KPI_sept17.pdf, accessed August 14, 2018.
page 390
Chapter 10
Project Chapter (Basic)
A Look Back
Chapter 9 discussed the application of Data Analytics to tax
questions and looked at how data can drive strategy and help
managers understand the underlying tax behavior.
A Look Forward
Chapter 11 will revisit the Dillard’s sales and returns data to provide
an advanced overview of different analytical tools and techniques to
provide additional understanding of the data.
page 391
Tools like Tableau and Power BI are popular because they enable quick analysis of
simple descriptive and diagnostic analytics. By creating visual answers to data
problems, accountants can tell stories that help inform management decisions, aid
auditors, and provide insight into financial data.
Both Tableau and Power BI enable more simplified analysis by incorporating
natural language processing into their cloud-based offerings. Instead of dragging
dimensions and measures to build the analyses, you can simply ask a question in a
natural sentence, and the tool will map your question to your existing data model.
OBJECTIVES
After reading this chapter, you should be able to:
page 392
page 393
When you open the O2C Tableau Workbook, you will see the
data pre-populated and ready for analysis, similar to Exhibit 10-2.
You are now ready to complete the questions in this set.
EXHIBIT 10-2
O2C Data Ready for Analysis in Tableau
page 398
page 400
EXHIBIT 10-3
Procure-to-Pay Data
EXHIBIT 10-4
P2P Data Ready for Analysis in Tableau
Q2-1. What risks are present if you take too long to pay our
accounts payable?
Q2-2. What are some analyses you could perform that would
provide insight into how efficiently your company is
processing payments to suppliers? Are there any KPIs
that would be appropriate here?
Q2-3. In your opinion, what would be an appropriate
benchmark for the average number of discount dollars
lost as a percentage of available discount dollars? How
about erroneous payments as a percentage of total
payments? Would management want these numbers to
be higher or lower?
page 407
page 408
Chapter 11
Project Chapter (Advanced):
Analyzing Dillard’s Data to Predict
Sales Returns
A Look Back
Chapter 10 had a project chapter that emphasized basic data
analytic skills related to the order to cash and purchase to pay
processes.
page 409
Unwanted and damaged goods either get tossed out or sent through a lengthy
chain of liquidators and wholesalers, paying pennies on the dollar to the
retailer before eventually selling them to bargain-hunting consumers.*
Because accountants are required to estimate sales returns (and the diminished
value of returned items), and offset sales in the same period that the original sales
are made, accountants need to establish a reasonable and hopefully reliable method
to estimate such returns. This chapter establishes various descriptive, diagnostic,
and predictive analytics that may be used to help evaluate the estimate of sales
returns.
Source: https://www.cnbc.com/2016/12/16/a-260-billion-ticking-time-bomb-the-costly-
business-of-retail-returns.html, accessed April 2019.
https://www.forbes.com/sites/stevendennis/2018/02/14/the-ticking-time-bomb-of-e-
commerce-returns/#46d599754c7f, accessed April 2019.
OBJECTIVES
After reading this chapter, you should be able to:
page 410
Source: SQL
3. To write a new query, select New Query from the menu at the top of
the SQL Server application. Ensure that the database selected is
WCOB_DILLARDS.
Source: SQL
4. To view the top 10 rows in the TRANSACT table, type the following
query into the query window:
SELECT TOP 10 *
FROM TRANSACT
5. To see the result of the query, click Execute. F5 also works to run
queries as a PC shortcut.
Source: SQL
page 413
2. To focus on only returns, we can add Tran Type to the Filters shelf.
Remove the checkmark in the box next to P so that the only data
we see are Returns data, and click OK.
This will allow you to modify the same bar chart by adding more
detail while still preserving the original chart.
8. Rename the new sheet (defaulted to being named Returns by
Century (2)) Sandbox so that it is recognizable as a sheet for
exploring.
9. Double-click the Deptdec Desc dimension to further drill down into
the product details. Deptdec Desc will be added to the Rows shelf.
0. Continue working with the data in a variety of ways to explore it.
Removing DeptCent Desc provides you a way to look at the returns
by Decade without the hierarchy. Adding Dept Desc provides even
more detail. You can also click the Show Me tab to change the way
your data is visualized.
Q1-7. Write down three insights that you have gained from
exploring the data in the Sandbox sheet.
1. Create a new sheet by clicking the icon to the right of the current
sheet you are working on:
Source: ©Tableau Software, Inc. All rights reserved.
7. Drag and drop the two sheets, Returns by Century and Returns by
State, into the dashboard and arrange them so that they are one on
top of the other.
8. Click anywhere in Returns by Century to bring up interactive buttons
to the right. Click the Filter button (it looks like a funnel) to use this
sheet as a filter.
4. Remove the Quarter pill from the Rows shelf—this will make it
easier to focus on each month over the three years of data
provided.
Q1-11. Which month saw the highest amount of returns in 2016?
2015? 2014? Why do you think these months see such high
amounts of returns?
After looking through total sums of returns across products,
states, and months, it’s time to turn our focus to a more precise
measure of returns: the percentage of returned sales.
Q1-12. Why can we draw more precise insights from analyzing
percentage of returned sales than just analyzing sums of
returns?
Q1-13. Do you think the same two months that saw high sums
of returns in 2014, 2015, and 2016 will also be the two
months with the highest percentage of returned sales?
Why or why not?
In order to explore percentage of returned sales, we first need to
transform the data using Excel’s Power Query tools, then we’ll pull
the transformed data into Excel to see how the percentage of
returned sales differs from the sums of returns across states and
across months.
page 419
page 420
4. Year and Month are not easy to filter when they’re classified as a
Number, so click the # sign on each variable and change them to
String. This will have Tableau treat those variables as text, making
them easier to filter.
Source: ©Tableau Software, Inc. All rights reserved.
page 421
Source: ©Tableau Software, Inc. All rights reserved.
2. In the Conditional Column window that pops up, fill in page 423
the condition (you can leave the column name as
‘Custom,’ we will pivot this column shortly, so the name is
unimportant). Indicate that anytime the month variable equals 1,
then the column should display “Holiday,” otherwise, it should
display “Non-Holiday”. Once you’ve input all of the information, click
OK.
5. Once the duplicate column is created, we can pivot the page 424
Holiday/Non-Holiday column. First you will need to
click the Transform tab on the ribbon of the Power Query Editor
window.
6. Select the Holiday/Non-Holiday custom column, then click Pivot
Column. Use the column you just copied, % of Sales Returned –
Copy as the values column. Click OK.
Source: Microsoft Excel 2016
0. In the t-Test window, you will need to input your variable ranges. For
Variable 1 Range, select all of the values that correspond with the
Holiday column.
Source: Microsoft Excel 2016
1. Follow the same pattern for Variable 2 by selecting all of the data
that correspond with the Non-Holiday column.
page 426
Q2-1. Based on the p-values (or the t-statistic and critical values),
are the returns as a percentage of sales in January greater,
less than, or the same as the returns as a percentage of
sales for the rest of the year?
Q2-2. What can we conclude about returns?
page 427
First, you will need to create dummy variable columns for “AR”
and “Non-AR”—follow the same steps that you did in steps 1-7 to
create the Holiday and non-Holiday variables (Open the Power
Query window by selecting Edit from the Query tab in the ribbon.
From the Add Column tab, create a conditional column to separate
AR from Non-AR states. Next, duplicate the % of Sales Returned
column again. From the Transform tab, Pivot your new custom
column for AR/Non-AR - use the copy of % of Sales Returned as the
values).
Your next step will be to run a new t-test, similar to the steps you
completed in steps 8-12.
Q2-3. Using the p-values (or the t-statistic and critical values),
are the returns as a percentage of sales in Arkansas and
January greater, less than, or the same as the returns as
a percentage of sales for the rest of the country?
Q2-4. What can we conclude about returns?
9. Change the default to Line and then click OK. page 428
7. Now you’re ready to pivot the year column. Select the year column,
and then click Pivot Column from the Transform tab.
9. The last step to prepare this data for analysis is to remove zeros
and null values from your new 2014 and 2015 columns. Select the
drop-down next to the column for 2014 and remove the checkmarks
next to (null) and 0.
4. Scroll to find the Regression tool in the Analysis Tools page 432
window and click OK.
1Accounting Standards Codification (ASC) 606, Revenue from Contracts with Customers,
as amended, and created by Accounting Standards Update (ASU) 2014-09, Revenue
from Contracts with Customers.
page 433
page 434
Appendix A
Basic Statistics Tutorial
page 435
The sample arithmetic mean is the sum of all the data points
divided by the number of observations. The median is the midpoint
of the data and is especially useful when there are skewed numbers
one way or another. The mode is the observation that occurs most
frequently.
PROBABILITY DISTRIBUTIONS
There are three primary probability distributions used in statistics and
data analytics, including normal distribution, the uniform distribution,
and the poisson distribution.
Normal Distribution
A normal distribution is arguably the most important probability
distribution because it fits so many naturally occurring phenomenon
in and out of accounting—from the distribution of return on assets to
the IQ of the human population.
The normal distribution is a bell-shaped probability distribution
that is symmetric about its mean, with the data points closer to the
mean more frequent than those data points further from its mean. As
shown in Exhibit A-1, data within one standard deviation (+/− one
standard deviation) includes 68 percent of the data points. Within
two standard deviations, 95 percent of the data points; three
standard deviations, 99.7 percent of the data points.
EXHIBIT A-1
Normal Distribution and the Frequency of Observations around Its Mean (Using 1, 2,
or 3 Standard Deviations)
HYPOTHESIS TESTING
As we learn in Data Analytics, data by itself is not really that
interesting. It is using data to answer, or at least address, questions
posed by management that makes it interesting.
Management might pose a question in terms of a hypothesis, like
their belief that sales at their stores are higher on Saturdays than on
Sundays. Perhaps they want to know this answer to decide if they
will need more staff to support sales (e.g., cashiers, shelf stockers,
parking lot attendants, etc.) on Saturday as compared to Sunday. In
other words, management holds an assumption that sales are higher
on Saturday than on Sundays.
Usually hypotheses are paired in two’s: the null hypothesis and
the alternate hypothesis.
The first is the base case, often called the null hypothesis, and
assumes the hypothesized relationship does not exist. In this case,
the null hypothesis would be stated as follows:
Null hypothesis: H0: Sales on Saturday are less than or equal to
sales on Sunday.
The alternate hypothesis would be the case that management
believes to be true.
Alternate hypothesis: HA: Sales on Saturday are greater than
sales on Sunday.
For the null hypothesis to hold, we would assume that Saturday
sales are the same as (or less than) Sunday sales. Evidence for the
alternate hypothesis occurs when null hypothesis does not hold and
is rejected at some level of statistical significance. In other words,
before we can reject or fail to reject the null hypothesis, we need to
do a statistical test of the data with sales on page 437
Saturday and Sundays and then interpret the results
of that statistical test.
STATISTICAL TESTING
There are two types of results from a statistical test of hypotheses
that may occur or may be interpreted in different ways: the p-value
and/or the critical values.
The p-Value
We describe a finding as statistically significant by interpreting the p-
value.
A statistical test of hypothesis may return a p-value. The p-value
is the result of a test that either rejects or fails to reject the null
hypothesis. The p-value is compared to a threshold value, called the
significance level (or alpha). A common value used for alpha is 5
percent or 0.05 (as is 1 percent or 0.01).
The p-value is compared to the alpha threshold. A result is
statistically significant when the p-value is less than alpha. This
signifies a change was detected: that the default hypothesis can be
rejected.
If p-value > alpha: Fail to reject the null hypothesis (i.e., not
significant result).
If p-value <= alpha: Reject the null hypothesis (i.e., significant
result).
For example, if we were performing a test of whether Saturday
sales were greater than Sunday sales and the test statistic was a p-
value of .09, we would state something like, “The test found that the
Saturday sales are not different than Sunday sales, failing to reject
the null hypothesis at a 5% level of significance.”
This statistical result should then be reported to management,
reporting the results of the statistical test.
EXHIBIT A-2
Statistical Testing Using Alpha, p-Values, and Confidence Intervals
page 438
page 439
There are many things to note about the regression results. The
first is that the overall regression model did better than chance at
predicting the college completion rate as shown by the “F”-score. We
note that by seeing the p-score representing “Significance F” result is
very small, almost zero, suggesting there virtually zero probability
that the completion rate can be explained by no independent
variables than a model that has independent variables. This is
exactly the situation we want suggesting we should be able to
identify a factor that explains completion rates.
There is another statistic used to measure how the overall
regression model did at predicting the dependent variable of
completion rates. The adjusted R-squared is a value between 0 and
1. An adjusted R-squared value of 0 represents no ability of the
model to explain the dependent variable and an adjusted R-squared
value of 1 represents perfect ability of the model to explain the
dependent variable. In this case, the adjusted R-squared value is
0.642, which represents a reasonably high ability to explain the
changes in the college completion rate.
The statistics also report that the SAT score (SAT_AVG) helps
predict the completion rate. This is shown by the “t Stat” that is
greater than 2 (or less than –2) for SAT_AVG (with t Stat of 47.74)
and a p-value less than an alpha of 0.05 (as shown with the p-value
of 1.564E-285). As expected, given the positive coefficient on
SAT_AVG, the greater the SAT score, the greater the college
completion rate.
page 440
Appendix B
Accessing the Excel Data Analysis
Toolpak
Excel offers a toolpak that helps perform much of the data analysis,
called the Excel Data Analysis Toolpak.
To run a correlation, form a histogram, run a regression, or
perform other similar analysis using the Excel Data Analysis Toolpak,
we need to make sure our Analysis Toolpak is loaded up, by looking
at the ribbon of Data > Analysis and seeing if the Data Analysis
Add-In has been installed.
page 441
Step 2:
To perform the additional data analysis, please select Data >
Analysis > Data Analysis. A dialog box will open.
In this text, we will highlight the use of the following analysis tools:
Correlation: To understand the if and the extent to which variables
are related to each other.
Descriptive statistics: To understand the basic statistics, including the
mean, standard deviation, minimums, and maximums of a data set.
Histogram: To understand the frequency of the data using a display
of rectangles with area proportional to the underlying frequency of
the data.
Regression: To understand the relation between specific dependent
variable values and independent variable inputs.
T-tests: To understand the probability of a difference in means
between either two independent samples or a paired sample through
time.
page 442
Appendix C
Excel (Formatting, Sorting,
Filtering, and PivotTables)
Revenues 50000
Expenses
Cost of Goods Sold 20000
Research and Development Expenses 10000
Selling, General, and Administrative Expenses 10000
Interest Expense 3000
Required:
1. Add a comma as a 1000 separator for each number.
2. Insert the words “Total Expenses” below the list of expenses.
3. Calculate subtotal for Total Expenses using the SUM() command.
4. Insert a single bottom border under Interest Expense and under the
Total Expenses subtotal.
5. Insert the words “Net Income,” and calculate Net Income (Revenues
– Total Expenses).
6. Format the top and bottom numbers of the column with a $ currency
sign.
7. Insert a Bottom Double Border to underline the final Net Income
total.
page 443
Solution:
1. Open Appendix C Data.xlsx and access the sheet named “Income
Statement Formatting.”
2. Add a comma as a 1000 separator for each number.
Highlight the column with all of the numbers. Right click on
Format Cells. . . to open this dialog box:
Microsoft Excel 2016
page 444
Here is the result:
Revenues 50,000
Expenses
Cost of Goods Sold 20,000
Research and Development Expenses 10,000
Selling, General, and Administrative Expenses 10,000
Interest Expense 3,000
Total Expenses 43,000
5. Insert a single bottom border under Interest Expense and under the
Total Expenses subtotal.
Use the icon indicated to add the bottom border.
Microsoft Excel
page 445
7. Format the top and bottom numbers of the column with
a $ currency sign.
Right click on each number and Format Cells, select currency
and no decimal points and click OK.
Microsoft Excel
Revenues $50,000
Expenses
Cost of Goods Sold 20,000
Research and Development Expenses 10,000
Selling, General, and Administrative Expenses 10,000
Interest Expense 3,000
Total Expenses 43,000
page 446
Microsoft Excel
2. Let’s sort by sales price from largest to smallest. Input Sales into
the Sort by, select Largest to Smallest in the dialog box, and select
OK.
Microsoft Excel
page 447
Microsoft Excel
Looking down at the bottom of this list, we see that the lowest
sales price appears to be bananas for $2.52.
(Level 3) Filtering the Data
Next, let’s filter the data to only look at only the banana transactions.
3. Let’s sort the data. To do so, go to Data > Sort & Filter > Filter.
4. An upside down triangle (or a chevron) will appear. Click the
chevron in cell F1, click Select All to unselect all, and then select
only the word “Banana”.
5. The resulting data should appear as follows:
Microsoft Excel
Microsoft Excel
page 449
Filters: Placing a field in the Filters area will allow you to filter
the data based on that field, but it will not show that field in the
data. For example, if you wanted to filter based on a date, but
didn’t care to view a particular date, you could use this area of
the field list. With more recent versions of Excel, there are
improved methods for filtering, but this legacy feature is still
functional.
4. Make sure all data is selected as follows in Table/Range and select
OK.
Microsoft Excel
5. The empty pivot table will open up in a new worksheet, ready for the
pivot table analysis.
Columns:
Rows: [Description]
page 450
The resulting pivot table will look like this:
6. The analysis suggests that the gross margin for apples is $140.39;
for apricots, $78.02 and for bananas, $77.08.
page 451
Data Dictionary:
Sales_Transactions table:
page 452
3. Once you click Enter, the formula should copy all the way down—
once again exhibiting the benefits of working with Excel tables
instead of ranges.
page 453
Appendix D
SQL Part 1
Introduction to SELECT
SELECT indicates which attributes you wish to view. For example,
the Customers table contains a complete customer list with several
descriptive attributes for each of the company’s customers. If you
would like to see a full customer list, but you just want to see
FirstName, LastName, and State, you can just select those three
attributes in the first line of your query:
SELECT FirstName, LastName, State
Introduction to FROM
FROM lets the database management system know which table(s)
contains the attributes that you are selecting. For instance, in the
query begun above, the three attributes in the SELECT clause come
from the Customers table. So that query can be completed with the
following FROM clause:
FROM Customers
Try putting that query all together to see the results:
SELECT FirstName, LastName, State
FROM Customers
page 454
FIGURE D-1
Source: Microsoft Excel 2016
If you wish to view the same three columns, but you want to see
the LastName column as the first column, so that the results more
closely resemble a phone book, you can change the order of the
attributes listed in your SELECT statement:
SELECT LastName, FirstName, State
FROM Customers
Now the query returns the same number of records, but with a
different order of attributes (columns), seen in Figure D-2:
FIGURE D-2
Source: Microsoft Excel, 2016
SELECT FROM Practice
1. Create a query that will return only the Inventory_Description and
Price from the Inventory table.
2. Create a query that will show only the Order_date and CustomerID
from the Sales_Order table.
3. Create a query that will show the City and State from the Customers
table.
page 455
Introduction to WHERE
WHERE behaves like a filter in Excel. An example of using WHERE
to modify the query in is the following:
SELECT LastName, FirstName, State
FROM Customers
WHERE State = “Arkansas”
That query would return only the customers who were from
Arkansas, the result is shown in Figure D-3:
FIGURE D-3
Source: Microsoft Excel, 2016
Text Datatypes
Both InventoryID and Inventory_Description are text datatypes. Most
text datatypes are descriptive or categorical elements in the
database. When you filter for criteria from a text attribute, the criteria
must be surrounded in quotes. Examples:
WHERE State = “Arkansas”
WHERE Inventory_Description = “Dalton Dress Boot”
page 456
Number Datatypes
Price, on the other hand, is a number datatype. You could sum or
average the contents of that attribute and arrive at a meaningful
value. Another example of number datatypes are Quantity_Sold in
the Sales_Order table. When you filter for criteria from a number
attribute, there is no need to format the criteria at all. Examples:
WHERE Price = 395
WHERE Quantity = 2
Date Datatypes
For an example of the third datatype, date, look at the Sales_Order
table to find the Order_Date attribute. When you filter for criteria from
a date attribute, the date should be enclosed in # signs and follow
the following format #mm/dd/yyyy# Examples:
WHERE Order_Date = #01/02/2019#
WHERE Order_Date = #12/31/2018#
Date formats in other database management systems: Date
formatting in SQL is variable across relational database
management systems.
In SQLite, date format is ‘yyyy-mm-dd’ For example, ‘2019-01-02’ or
‘2018-12-31’
In SQL Server, date format is ‘yyyymmdd’ For example ‘20190102’
or ‘20181231’
Other methods of filtering, or, do we always have to filter for an
exact match?
Each of the WHERE examples we’ve seen so far have used the
equals sign operator. But there are many other ways to filter other
than for exact matches. For now, we’ll just start with a few other
operators, shown in Exhibit D-1:
EXHIBIT D-1
Operator Description
> used Returns all records that have numbers in that field
with a greater than the criteria specified.
number
datatype
> used Returns all records that follow the criteria
with a text alphabetically (a–z).
datatype
> used Returns all records that have numbers in that field less
with a than the criteria specified.
number
datatype
> used Returns all records that precede the criteria
with a text alphabetically (a–z).
datatype
Operator Description
>= and <= Similar to the above criteria, but will also include
numbers or text that is an exact match to what is listed
in the criteria.
<> functions as the inverse as the exact match (=) filter, it
will return all of the records except those that match
the criteria listed in the WHERE clause.
page 457
FIGURE D-4
Source: Microsoft Excel 2016
To extract all of the records from the Customers table that follow
the last name “jones” alphabetically:
SELECT *
FROM Customers
WHERE LastName > “Jones”
That query returns the following records shown in Figure D-5:
FIGURE D-5
Source: Microsoft Excel 2016
FIGURE D-6
Source: Microsoft Excel 2016
page 458
Introduction to ORDER BY
In Figure D-6 above, when you added Jeremy Jones to the output,
you might have been surprised that the order of the records didn’t
change. The default order of SQL queries is ascending based on the
first column selected. When you SELECT *, the default will be in the
order of the Primary Key, which is the order of the records in the
original table.
If you would like to sort the records in a query output based on
any other column, you can do so with the ORDER BY clause.
The syntax of an ORDER BY clause is the following:
Notice how the two figures have the same information, the same
order of attributes, and the same number of records, but the ordering
of the records has changed.
To revise the same query, but this time to order the results by
both Last Name and First Name (ascending):
SELECT LastName, FirstName, State
FROM Customers
ORDER BY LastName ASC, FirstName ASC
That query returns the following records shown in Figure D-8:
FIGURE D-8
Source: Microsoft Excel 2016
page 459
FIGURE D-9
Source: Microsoft Excel 2016
FIGURE D-10
Source: Microsoft Excel 2016
FIGURE D-11
Source: Microsoft Excel 2016
Introduction to GROUP BY
In the introduction to aggregates, we worked through an example
that provided the grand total count of orders in the Sales Order table:
SELECT COUNT(Sales_Order_ID) AS Count_Total_Orders
FROM Sales_Orders
That query results in a grand total of 10, but what if we would like
to see how that data splits up among customers who have ordered
from us? This is where GROUP BY comes in. GROUP BY works as
the “engine” that powers subtotaling the data. After the key word
GROUP BY, you indicate the attribute by which you would like to
slice the data. In this case, we want to slice the grand total by
CustomerID.
page 461
SELECT COUNT(Sales_Order_ID) AS Count_Total_Orders
FROM Sales_Orders
GROUP BY CustomerID
The problem with this query, is that it does slice the data by
customer, but it doesn’t actually show us the CustomerID associated
with each subtotal. The output is shown in Figure D-12:
FIGURE D-12
Source: Microsoft Excel 2016
If we want to actually view the CustomerID that is associated with
each subtotal, we need to not only put the attribute in the GROUP
BY field, but also add it to the SELECT field.
Remember from earlier in this tutorial, that the order in which you
place the attributes in the SELECT clause indicates the order that
those columns will display in the output. For this output, it would
make the most sense to see CustomerID before Count_Total,
because CustomerID is acting as a label for the totals. We can
modify the query to include CustomerID in the following way:
SELECT CustomerID, COUNT(Sales_Order_ID) AS
Count_Total_Orders
FROM Sales_Orders
GROUP BY CustomerID
This provides the following output, shown in Figure D-13:
FIGURE D-13
Source: Microsoft Excel 2016
Similarly, we can extend the second example provided in the
Aggregates section that created a grand total of the quantity sold
from the Sales_Order table. If we would prefer to not see the grand
total quantity sold, but instead slice that total by InventoryID in order
to see the subtotal of the quantity of each inventory item sold, we
can create the following query:
SELECT InventoryID, SUM(Quantity_Sold) AS
Total_Quantity_Sold
FROM Sales_Orders
GROUP BY InventoryID
page 462
FIGURE D-14
Source: Microsoft Excel 2016
GROUP BY Practice
1. Create a query that would show the total quantity of items sold each
day. Re-name the aggregate Total_Quantity_Sold.
2. Create a query that would show the total number of Customers we
have stored in the Customers table, and group them by the State
the customers are from. Re-name the aggregate column in the
output Num_Customers.
Introduction to HAVING
Occasionally when running a query to gather subtotals (using a
GROUP BY clause), you do not want to see all of the results, but
instead would rather filter the results for certain subtotals.
Unfortunately, SQL cannot filter aggregate measures in the WHERE
clause, but fortunately, we have a different clause that can—
HAVING.
Any time you wish to filter your query results based on aggregate
values (e.g., SUM(Quantity_Sold), you can do so in the HAVING
clause.
For example, in the previous section about GROUP BY, we
created a query to see the total count of orders each customer had
been on. The output showed that the vast majority of our customers
had participated in only one order. But what if we wanted to only see
the customer(s) who had participated in more than one order?
We can create the following query to add in this filter:
SELECT CustomerID, COUNT(Sales_Order_ID) AS
Count_Total_Orders
FROM Sales_Orders
GROUP BY CustomerID
HAVING COUNT(Sales_Order_ID) > 1
As it turns out, there is only one customer who participated in
more than one order, as we can see in the query output, shown in
Figure D-15:
FIGURE D-15
Source: Microsoft Excel 2016
The format of the HAVING clause is similar to WHERE:
HAVING aggregate(attribute) = number
page 463
FIGURE D-16
Source: Microsoft Excel 2016
HAVING Practice
1. Create a query that would show the total quantity of items sold each
day. Re-name the aggregate Total_Quantity_Sold. Show only the
days on which more than 6 items were sold.
2. Create a query that would show the total number of Customers we
have stored in the Customers table, and group them by the State
the customers are from. Re-name the aggregate column in the
output Num_Customers. Show only the states that more than one
customer is from.
page 465
Appendix E
SQLite
Windows:
1. Go to https://sqlitebrowser.org/dl/.
2. Choose the DB Browser for SQLite - .zip (no installer) for 64-bit
Windows option.
3. In your Downloads folder, open the zip file and drag the DB
Browser for SQLite folder to the desktop.
4. Open the folder on the desktop and open DB Browser for
SQLite.exe.
Source: SQL
page 467
Mac:
1. Go to https://sqlitebrowser.org/dl/
2. Choose the DB Browser for SQLite option under macOS.
3. In your Downloads folder, open the DMG and drag DB Browser for
SQLite to your Applications or Desktop folder.
4. Open your Applications or Desktop folder and double-click DB
Browser for SQLite. If you receive a message indicating that the
app you are trying to install is not a Microsoft-verified app, select
Install Anyway.
Source: SQL
Source: SQL
page 468
2. Navigate to the Appendix E Data file to open it.
3. The first view will be of the Database Structure. You can expand the
tables to get a glimpse of the attributes that are stored in each table
and their datatypes.
Source: SQL
4. Clicking into the Browse Data tab will allow you to switch views
between tables to view the data that is stored in each table.
Source: SQL
page 469
5. To execute a SQL query, click the Execute SQL tab.
Source: SQL
Source: SQL
Appendix F
Power Query
Excel’s Get and Transform tools are a part of the Power BI suite that
is integrated into Excel 2016. These tools allow you to connect
directly to a dataset stored in a variety of locations, including other
Excel files; .csv files; the web; and a multitude of relational
databases, including Microsoft Access, SQL Server, Teradata,
Oracle, PostGreSQL, and MySQL.
Throughout this text, the majority of the times we analyze the
Dillard’s dataset in the Comprehensive Labs, we will load the data
from SQL Server into Excel using this Get and Transform tool.
When we extract the data, we may want to extract entire tables,
or we may want to extract only a portion via a SQL query.
In this appendix, we will connect to the Dillard’s data. The
Dillard’s data is stored on the University of Arkansas’ remote
desktop, so make sure to log in to the desktop in order to work
through these steps. Ask your instructor for login information if you
do not have it already.
CONNECT TO SQL SERVER
THROUGH EXCEL’S GET AND
TRANSFORM TOOL
1. Open Excel in the University of Arkansas remove desktop. From the
Data tab on the ribbon, click New Query. Then select From
Database > From SQL Server Database.
2. The following box will pop up, into which you should page 471
provide the name of the Server and the Database
name that your instructor provides you. For the majority of the
exercises, we use the Database name WCOB_DILLARDS. Labs 3-
4, 3-5, and 4-4 use a different database, titled
UA_DILLARDS_2016.
Source: SQL
Source: SQL
6. Select the table(s) that you would like to load into page 472
Excel. If you would like to select more than one table,
place a checkmark in the box next to Select multiple items.
Source: SQL
page 473
Clicking Load will load the data directly into an Excel table.
Clicking Edit will open the Power Query window for you to
transform the data before it is loaded into Excel (add or delete
columns, remove or transform null values, aggregate data, etc.)
8. To Edit (Transform) the data, click Edit.
9. The Power Query ribbon has several tabs that provide useful ways
to transform the data. A few of the buttons that we use throughout
the text are called out for the Home tab and the Transform tab on
the ribbon below.
Home tab on the ribbon:
Click the Close & Load button when you are finished transforming
the data to load it into Excel.
The Remove Rows button provides options to remove rows with
nulls in selected columns, with duplicates in selected columns, or
based on other criteria
Transform tab on the ribbon:
page 474
Loading the data to the data model will allow us to work with a
large dataset in a PivotTable, even though the dataset itself is too
large for the worksheet.
page 475
Appendix G
Tableau
Before jumping into the labs, you may wish to introduce yourself to
Tableau through this appendix if you have never used the Tableau
tool.
To access Tableau, you can use the University of Arkansas’
remote desktop (see your instructor for instructions on how to access
it), or you can download a free academic usage license of Tableau
by following this URL: https://www.tableau.com/academic/students.
Tableau will work on a PC or a Mac. The images in this textbook will
reflect Tableau for PC, but it is very similar to Tableau for Mac.
Tableau can connect to a variety of datatypes, including Excel,
Access, and SQL Server. We will connect to the dataset Appendix
G Data.xlsx. If you worked through Appendix C about PivotTables,
this is the same dataset that you worked with previously.
1. Open Tableau.
2. Immediately upon opening Tableau, you will see a list of file types
that you can connect to. We’ll connect to an Excel file, so click
Microsoft Excel.
©Tableau Software, Inc. All rights reserved.
page 477
3. Navigate to where your file is stored and click Open.
Tableau automatically detects the data types of the attributes
you import. In this dataset, the attributes probably all imported as
the data type you would expect. Notice that the first two, Invoice #
and Customer # imported as number. Continue looking at the
attributes, and you will notice the globe icon above Zip Code. This
is Tableau showing you one of its best features, it shows that the
Zip Code data was imported as geographic data. This will allow
you to create maps.
4. To begin working with the data, click Sheet 1 in the bottom left.
©Tableau Software, Inc. All rights reserved.
page 478
5. To begin working with the data, double-click on the
measure Gross Margin.
©Tableau Software, Inc. All rights reserved.
Appendix H
SQL Part 2
And if you click the Venn diagram, you can see the following
details about how the tables are related:
page 481
This is very similar to how you would write a query to gather the
same information directly in the Access database, where one of the
tables is indicated in the FROM clause, the second table is indicated
in the INNER JOIN clause, and the keys that are common between
the two tables are indicated with an equal sign between them in the
ON clause:
SELECT *
FROM Customers
INNER JOIN Sales_Orders
ON Customers.CustomerID = Sales_Orders.CustomerID
As the Venn diagram suggests, an INNER join will show all of the
data for which there is a match between the two tables. However, it
is important to notice what that means it leaves out – it will not return
any of the data for which there is NOT a match between the two
tables.
In this instance, there is actually one customer held in the
Customers table that is not included in the Sales_Orders table
(Customer 3, Edna Orgeron). Why would this happen? Perhaps this
fictional company records data on potential customers, so even
though someone may have not actually purchased anything yet, the
company can still contact them. Whatever the reason might be—the
fact that CustomerID 3 does not exist in both tables—CustomerID 3
will not be included in the results.
If the above SQL query were to be run, the following result would
return:
Source: SQL
Notice that the red box surrounding the records for customers 2
and 4 do not include anything for customer 3.
page 482
Appendix I
Power BI
page 484
Report Mode: The first option, represented with an icon that looks
like a bar chart, is for Report mode. This is the default view and is
where you can build your visualizations and explore your data.
Data Mode: The second option, represented with an icon that
looks like a table or a spreadsheet, is for Data mode. If you click
into this icon, you can view the raw data that you have imported
into Power BI. You can also create new measures or new columns
from this mode.
Model Mode: The third option, which looks like a database
diagram, is for Model mode. If you click into this icon, you enter
PowerPivot. From this mode, you can edit the table and attribute
names or edit relationships between tables.
page 486
b. To the right of the blank canvas is your Fields list and
your options for Visualizations.
Source: Powe BI Desktop
Visualizations: You can drag any of these options over into the
canvas to begin designing a visualization. Once you have tiles on
your report, you can change the type of visualization being used to
depict a set of fields by clicking the tile then selecting any of the
visualization options to change the way the data is presented.
Fields: This section is similar to your PivotTable field list. You can
expand the tables to see the attributes that are within each and
placing a check mark in the fields will add them to an active tile.
Values, Filters, etc.: this section will vary based on the tile and
the fields you are actively working with. Any time you add a field to
a visualization, that field gets automatically added to the filters,
which cuts out the need to manually add filters or slicers to your
PivotTable.
c. Immediately above the canvas is the familiar ribbon that you can
expect from Microsoft applications. The four tabs—Home, View,
Modeling, and Help—stay consistent across the three different
modes (report, data, and model), but the options that you can
select will vary based on the mode in which you are working.
page 487
7. To begin working with the data, Expand the Customer
table to place a checkmark in the State field.
page 488
This will make the tile more interesting by changing
the size of the symbol associated with each state—the larger the
symbol, the higher the quantity sold in that state.
9. You can also change the way the data is presented by selecting a
different visualization type. Select the first option to view the data in
a horizontal bar chart.
page 489
2. To activate the Q&A, ctrl + click the icon. The
following window will pop-up, and you can select from the list of
questions that Power BI has come up with, or you can type directly
into the “Ask a question about your data” box.
Source: Microsoft Excel 2016
page 490
3. You can also add a question directly to the canvas by
selecting Ask a Question from the Home tab on the ribbon. In the
screenshot that follows, I typed “sum of quantity sold by state” to get
a replicated visualization of the first visualization we made by
manually selecting the fields State and Quantity Sold:
Source: Powe BI Desktop
There are many other exciting benefits that Power BI can do,
but with this introduction you should have the confidence to jump in
and explore more that Power BI has to offer. To get more step-by-
step help with Power BI, you can work through the final portion of
Lab 4-3, which replicates a Tableau lab in Power BI.
page 491
Appendix J
Dillard’s ER Diagram
page 492
Appendix K
Data Dictionaries
COLLEGESCORECARD
Attribute Description
UNITID A unique identifier for the institution
INSTNM Institution name
CITY City
STABBR State postcode
CONTROL 1 = Public. 2 = Private nonprofit. 3 = Private for-
profit
Attribute Description
CCBASIC Carnegie Classification, basic:
—2 Not applicable
0 (Not classified)
1 Associate’s Colleges: High Transfer-High
Traditional
2 Associate’s Colleges: High Transfer-Mixed
Traditional/Nontraditional
3 Associate’s Colleges: High Transfer-High
Nontraditional
4 Associate’s Colleges: Mixed
Transfer/Vocational & Technical-High Traditional
5 Associate’s Colleges: Mixed
Transfer/Vocational & Technical-Mixed
Traditional/Nontraditional
6 Associate’s Colleges: Mixed
Transfer/Vocational & Technical-High
Nontraditional
7 Associate’s Colleges: High Vocational &
Technical-High Traditional
8 Associate’s Colleges: High Vocational &
Technical-Mixed Traditional/Nontraditional
9 Associate’s Colleges: High Vocational &
Technical-High Nontraditional
10 Special Focus Two-Year: Health Professions
11 Special Focus Two-Year: Technical
Professions
12 Special Focus Two-Year: Arts & Design
13 Special Focus Two-Year: Other Fields
14 Baccalaureate/Associate’s Colleges:
Associate’s Dominant
15 Doctoral Universities: Highest Research
Activity
Attribute Description
16 Doctoral Universities: Higher Research Activity
17 Doctoral Universities: Moderate page 493
Research Activity
18 Master’s Colleges & Universities: Larger
Programs
19 Master’s Colleges & Universities: Medium
Programs
20 Master’s Colleges & Universities: Small
Programs
21 Baccalaureate Colleges: Arts & Sciences
Focus
22 Baccalaureate Colleges: Diverse Fields
23 Baccalaureate/Associate’s Colleges: Mixed
Baccalaureate/Associate’s
24 Special Focus Four-Year: Faith-Related
Institutions
25 Special Focus Four-Year: Medical Schools &
Centers
26 Special Focus Four-Year: Other Health
Professions Schools
27 Special Focus Four-Year: Engineering Schools
28 Special Focus Four-Year: Other Technology-
Related Schools
29 Special Focus Four-Year: Business &
Management Schools
30 Special Focus Four-Year: Arts, Music &
Design Schools
31 Special Focus Four-Year: Law Schools
32 Special Focus Four-Year: Other Special Focus
Institutions
33 Tribal Colleges
ADM_RATE Admission rate
Attribute Description
SAT_AVG Average equivalent SAT of students admitted
UGDS Enrollment of undergraduate certificate/degree-
seeking students
UGDS_WHITE Total share of enrollment of undergraduates who
are White
UGDS_BLACK Total share of enrollment of undergraduates who
are Black
UGDS_HISP Total share of enrollment of undergraduates who
are Hispanic
UGDS_ASIAN Total share of enrollment of undergraduates who
are Asian
UGDS_AIAN Total share of enrollment of undergraduates who
are American Indian/Alaska Native
UGDS_NHPI Total share of enrollment of undergraduates who
are Native Hawaiian/Pacific Islander
UGDS_2MOR Total share of enrollment of undergraduates who
are two or more races
UGDS_NRA Total share of enrollment of undergraduates who
are nonresident aliens
UGDS_UNKN Total share of enrollment of undergraduates
whose race is unknown
PPTUG_EF Share of undergraduate degree/certificate-
seeking students who are part-time
NPT4_PUB Average net price for Title IV institutions (public)
NPT4_PRIV Average net price for Title IV institutions (private
for-profit and nonprofit)
COSTT4_A Average cost of attendance
TUITFTE Net tuition revenue per full-time equivalent
student
Attribute Description
INEXPFTE Instructional expenditures per full-time equivalent
student
PFTFAC Proportion of faculty that is full-time
PCTPELL Percentage of undergraduates who receive a Pell
Grant
C150_4 Completion rate for first-time, full-time students at
four-year institutions (six-year)
PFTFTUG1_EF Share of undergraduate students who are first-
time, full-time, degree seeking undergraduates
RET_FT4 First-time, full-time student retention rate at four-
year institutions
PCTFLOAN Percent of all federal undergraduates receiving a
federal student loan
page 494
LENDING CLUB
LoanStats
LoanStatNew Description
acc_now_delinq The number of
accounts on which the
borrower is now
delinquent
acc_open_past_24mths Number of trades
opened in past 24
months
LoanStatNew Description
addr_state The state provided by
the borrower in the
loan application
all_util Balance to credit limit
on all trades
annual_inc The self-reported
annual income
provided by the
borrower during
registration
annual_inc_joint The combined self-
reported annual
income provided by
the co-borrowers
during registration
application_type Indicates whether the
loan is an individual
application or a joint
application with two
co-borrowers
avg_cur_bal Average current
balance of all
accounts
bc_open_to_buy Total open to buy on
revolving bankcards
bc_util Ratio of total current
balance to high
credit/credit limit for all
bankcard accounts.
chargeoff_within_12_mths Number of charge-offs
within 12 months
LoanStatNew Description
collection_recovery_fee post charge off
collection fee
collections_12_mths_ex_med Number of collections
in 12 months
excluding medical
collections
delinq_2yrs The number of 30+
days past-due
incidences of
delinquency in the
borrower’s credit file
for the past 2 years
delinq_amnt The past-due amount
owed for the accounts
on which the borrower
is now delinquent.
desc Loan description
provided by the
borrower
dti A ratio calculated
using the borrower’s
total monthly debt
payments on the total
debt obligations,
excluding mortgage
and the requested LC
loan, divided by the
borrower’s self-
reported monthly
income
LoanStatNew Description
dti_joint A ratio calculated
using the co-
borrowers’ total
monthly payments on
the total debt
obligations, excluding
mortgages and the
requested LC loan,
divided by the co-
borrowers’ combined
self-reported monthly
income
earliest_cr_line The month the
borrower’s earliest
reported credit line
was opened
emp_length Employment length in
years. Possible values
are between 0 and 10
where 0 means less
than one year and 10
means 10 or more
years.
emp_title The job title supplied
by the borrower when
applying for the loan.*
fico_range_high The upper boundary
range the borrower’s
FICO at loan
origination belongs to
LoanStatNew Description
fico_range_low The lower boundary
range the borrower’s
FICO at loan
origination belongs to
funded_amnt The total amount
committed to that loan
at that point in time
page 495
funded_amnt_inv The total amount
committed by
investors for that loan
at that point in time
grade LC assigned loan
grade
home_ownership The home ownership
status provided by the
borrower during
registration or
obtained from the
credit report; our
values are RENT,
OWN, MORTGAGE,
OTHER
id A unique LC assigned
ID for the loan listing
il_util Ratio of total current
balance to high
credit/credit limit on all
install accounts
LoanStatNew Description
initial_list_status The initial listing
status of the loan;
possible values are
W, F
inq_fi Number of personal
finance inquiries
inq_last_12m Number of credit
inquiries in past 12
months
inq_last_6mths The number of
inquiries in past 6
months (excluding
auto and mortgage
inquiries)
installment The monthly payment
owed by the borrower
if the loan originates
int_rate Interest rate on the
loan
issue_d The month in which
the loan was funded
last_credit_pull_d The most recent
month LC pulled
credit for this loan
last_fico_range_high The upper boundary
range the borrower’s
last FICO pulled
belongs to
last_fico_range_low The lower boundary
range the borrower’s
last FICO pulled
belongs to
LoanStatNew Description
last_pymnt_amnt Last total payment
amount received
last_pymnt_d Last month payment
was received
loan_amnt The listed amount of
the loan applied for by
the borrower. If at
some point in time,
the credit department
reduces the loan
amount, then it will be
reflected in this value.
loan_status Current status of the
loan
max_bal_bc Maximum current
balance owed on all
revolving accounts
member_id A unique LC assigned
Id for the borrower
member
mo_sin_old_il_acct Months since oldest
bank installment
account opened
mo_sin_old_rev_tl_op Months since oldest
revolving account
opened
mo_sin_rcnt_rev_tl_op Months since most
recent revolving
account opened
mo_sin_rcnt_tl Months since most
recent account
opened
LoanStatNew Description
mort_acc Number of mortgage
accounts
mths_since_last_delinq The number of
months since the
borrower’s last
delinquency
mths_since_last_major_derog Months since most
recent 90-day or
worse rating
mths_since_last_record The number of
months since the last
public record.
mths_since_rcnt_il Months since most
recent installment
accounts opened
mths_since_recent_bc Months since most
recent bankcard
account opened.
mths_since_recent_bc_dlq Months since most
recent bankcard
delinquency
mths_since_recent_inq Months since most
recent inquiry.
mths_since_recent_revol_delinq Months since most
recent revolving
delinquency.
next_pymnt_d Next scheduled
payment date
page 496
LoanStatNew Description
num_accts_ever_120_pd Number of accounts
ever 120 or more
days past due
num_actv_bc_tl Number of currently
active bankcard
accounts
num_actv_rev_tl Number of currently
active revolving trades
num_bc_sats Number of
satisfactory bankcard
accounts
num_bc_tl Number of bankcard
accounts
num_il_tl Number of installment
accounts
num_op_rev_tl Number of open
revolving accounts
num_rev_accts Number of revolving
accounts
num_rev_tl_bal_gt_0 Number of revolving
trades with balance
>0
num_sats Number of
satisfactory accounts
num_tl_120dpd_2m Number of accounts
currently 120 days
past due (updated in
past 2 months)
LoanStatNew Description
num_tl_30dpd Number of accounts
currently 30 days past
due (updated in past 2
months)
num_tl_90g_dpd_24m Number of accounts
90 or more days past
due in last 24 months
num_tl_op_past_12m Number of accounts
opened in past 12
months
open_acc The number of open
credit lines in the
borrower’s credit file
open_acc_6m Number of open
trades in last 6
months
open_il_12m Number of installment
accounts opened in
past 12 months
open_il_24m Number of installment
accounts opened in
past 24 months
open_act_il Number of currently
active installment
trades
open_rv_12m Number of revolving
trades opened in past
12 months
open_rv_24m Number of revolving
trades opened in past
24 months
LoanStatNew Description
out_prncp Remaining
outstanding principal
for total amount
funded
out_prncp_inv Remaining
outstanding principal
for portion of total
amount funded by
investors
pct_tl_nvr_dlq Percent of trades
never delinquent
percent_bc_gt_75 Percentage of all
bankcard accounts >
75% of limit
policy_code Publicly available
policy_code=1;new
products not publicly
available
policy_code=2
pub_rec Number of derogatory
public records
pub_rec_bankruptcies Number of public
record bankruptcies
purpose A category provided
by the borrower for
the loan request.
pymnt_plan Indicates if a payment
plan has been put in
place for the loan
recoveries Post charge-off gross
recovery
LoanStatNew Description
revol_bal Total credit revolving
balance
revol_util Revolving line
utilization rate, or the
amount of credit the
borrower is using
relative to all available
revolving credit.
sub_grade LC assigned loan
subgrade
tax_liens Number of tax liens
term The number of
payments on the loan;
values are in months
and can be either 36
or 60
title The loan title provided
by the borrower
tot_coll_amt Total collection
amounts ever owed
page 497
tot_cur_bal Total current balance
of all accounts
tot_hi_cred_lim Total high credit/credit
limit
total_acc The total number of
credit lines currently in
the borrower’s credit
file
total_bal_ex_mort Total credit balance
excluding mortgage
LoanStatNew Description
total_bal_il Total current balance
of all installment
accounts
total_bc_limit Total bankcard high
credit/credit limit
total_cu_tl Number of finance
trades
total_il_high_credit_limit Total installment high
credit/credit limit
total_pymnt Payments received to
date for total amount
funded
total_pymnt_inv Payments received to
date for portion of
total amount funded
by investors
total_rec_int Interest received to
date
total_rec_late_fee Late fees received to
date
total_rec_prncp Principal received to
date
total_rev_hi_lim Total revolving high
credit/credit limit
url URL for the LC page
with listing data
verification_status Indicates if income
was verified by LC,
not verified, or if the
income source was
verified
LoanStatNew Description
verified_status_joint Indicates if the co-
borrowers’ joint
income was verified
by LC, not verified, or
if the income source
was verified
zip_code The first 3 numbers of
the zip code provided
by the borrower in the
loan application.
revol_bal_joint Sum of revolving
credit balance of the
co-borrowers, net of
duplicate balances
sec_app_fico_range_low FICO range (high) for
the secondary
applicant
sec_app_fico_range_high FICO range (low) for
the secondary
applicant
sec_app_earliest_cr_line Earliest credit line at
time of application for
the secondary
applicant
sec_app_inq_last_6mths Credit inquiries in the
last 6 months at time
of application for the
secondary applicant
sec_app_mort_acc Number of mortgage
accounts at time of
application for the
secondary applicant
LoanStatNew Description
sec_app_open_acc Number of open
trades at time of
application for the
secondary applicant
sec_app_revol_util Ratio of total current
balance to high
credit/credit limit for all
revolving accounts
sec_app_open_act_il Number of currently
active installment
trades at time of
application for the
secondary applicant
sec_app_num_rev_accts Number of revolving
accounts at time of
application for the
secondary applicant
sec_app_chargeoff_within_12_mths Number of charge-offs
within last 12 months
at time of application
for the secondary
applicant
sec_app_collections_12_mths_ex_med Number of collections
within last 12 months
excluding medical
collections at time of
application for the
secondary applicant
LoanStatNew Description
sec_app_mths_since_last_major_derog Months since most
recent 90-day or
worse rating at time of
application for the
secondary applicant
page 498
hardship_flag Flags whether or not
the borrower is on a
hardship plan
hardship_type Describes the
hardship plan offering
hardship_reason Describes the reason
the hardship plan was
offered
hardship_status Describes if the
hardship plan is
active, pending,
canceled, completed,
or broken
deferral_term Amount of months
that the borrower is
expected to pay less
than the contractual
monthly payment
amount due to a
hardship plan
hardship_amount The interest payment
that the borrower has
committed to make
each month while they
are on a hardship plan
LoanStatNew Description
hardship_start_date The start date of the
hardship plan period
hardship_end_date The end date of the
hardship plan period
payment_plan_start_date The day the first
hardship plan
payment is due—for
example, if a borrower
has a hardship plan
period of 3 months,
the start date is the
start of the three-
month period in which
the borrower is
allowed to make
interest-only
payments
hardship_length The number of
months the borrower
will make smaller
payments than
normally obligated
due to a hardship plan
hardship_dpd Account days past
due as of the hardship
plan start date
hardship_loan_status Loan status as of the
hardship plan start
date
LoanStatNew Description
orig_projected_additional_accrued_interest The original projected
additional interest
amount that will
accrue for the given
hardship payment
plan as of the
Hardship Start Date;
this field will be null if
the borrower has
broken his/her
hardship payment
plan
hardship_payoff_balance_amount The payoff balance
amount as of the
hardship plan start
date
hardship_last_payment_amount The last payment
amount as of the
hardship plan start
date
disbursement_method The method by which
the borrower receives
his/her loan; possible
values are CASH,
DIRECT_PAY
debt_settlement_flag Flags whether or not
the borrower, who has
charged-off, is
working with a debt-
settlement company.
LoanStatNew Description
debt_settlement_flag_date The most recent date
that the
Debt_Settlement_Flag
has been set
settlement_status The status of the
borrower’s settlement
plan; possible values
are COMPLETE,
ACTIVE, BROKEN,
CANCELLED,
DENIED, DRAFT
settlement_date The date that the
borrower agrees to
the settlement plan
settlement_amount The loan amount that
the borrower has
agreed to settle for
settlement_percentage The settlement
amount as a
percentage of the
payoff balance
amount on the loan
settlement_term The number of
months that the
borrower will be on
the settlement plan
page 499
RejectStats
RejectStats
Description
File
Amount The total amount requested by the borrower
Requested
Application The date which the borrower applied
Date
Loan Title The loan title provided by the borrower
Risk_Score For applications prior to November 5, 2013, the risk
score is the borrower’s FICO score; for applications
after November 5, 2013, the risk score is the
borrower’s Vantage score
Debt-To- A ratio calculated using the borrower’s total monthly
Income debt payments on the total debt obligations,
Ratio excluding mortgage and the requested LC loan,
divided by the borrower’s self-reported monthly
income
Zip Code The first 3 numbers of the zip code provided by the
borrower in the loan application
State The state provided by the borrower in the loan
application
Employment Employment length in years; possible values are
Length between 0 and 10, where 0 means less than one
year and 10 means 10 or more years.
Policy Code publicly available policy_code=1;new products not
publicly available policy_code=2
OK PCARD
Attribute Description
SourceYearMonth Year and month of the transaction
Attribute Description
SourceType Data source, e.g. Bank
CardholderLastName Cardholder’s last name
CardholderFirstInitial Cardholder’s first initial
ItemDescription Description of item purchased
Amount Purchase amount in U.S. dollars
BusinessUnit Identifier for business unite
MerchantName Supplier’s name, provided by the issuing
bank
TransactionDate Date of purchase
PostedDate Date of transaction posting to account
MCCDescription Merchant Category Code, provided by the
issuing bank
page 500
Glossary
2018 Tax Cuts and Jobs Act Tax Reform (366) Tax legislation
offering a major change to the existing tax code.
A
audit data standards (ADS) (205) The audit data standards define
common tables and fields that are needed by auditors to perform
common audit tasks. The AICPA developed these standards.
B
Balanced Scorecard (271) A particular type of digital dashboard
that is made up of strategic objectives, as well as KPIs, target
measures, and initiatives, to help the organization reach its target
measures in line with strategic goals.
Benford’s law (103) An observation about the frequency of
leading digits in many real-life sets of numerical data. The law states
that in many naturally occurring collections of numbers, the
significant lending digit is likely to be small.
Big Data (4) Datasets that are too large and complex for
businesses’ existing systems to handle utilizing their traditional
capabilities to capture, store, manage, and analyze these datasets.
C
causal modeling (106) A data approach similar to regression, but
used when the relationship between independent and dependent
variables where it is hypothesized that the independent variables
cause or are associated with the dependent variable.
classification (9, 106) A data approach that attempts to assign
each unit in a population into a few categories potentially to help with
predictions.
clustering (10, 106) A data approach that attempts to divide
individuals (like customers) into groups (or clusters) in a useful or
meaningful way.
co-occurrence grouping (10) A data approach that attempts to
discover associations between individuals based on transactions
involving them.
common data model (10, 103) A tool used to map existing
database tables and fields from various systems to a standardized
set of tables and fields for use with analytics.
common size financial statement (328) A type of financial
statement that contains only basic accounts that are common across
companies.
composite primary key (43) A special case of a primary key that
exists in linking tables. The composite primary key is made up of the
two primary keys in the table that it is linking.
computer-assisted audit techniques (CAATs) (228) Automated
scripts that can be used to validate data, test controls, and enable
substantive testing of transaction details or account balances and
generate supporting evidence for the audit.
continuous auditing (208) A process that provides real-time
assurance over business processes and systems.
continuous data (143) One way to categorize quantitative data, as
opposed to discrete data. Continuous data can take on any value
within a range. An example of continuous data is height.
continuous monitoring (208) A process that constantly evaluates
internal controls and transactions and is the chief responsibility of
management.
continuous reporting (208) A process that provides real-time
access to the system status and accounting information.
D
Data Analytics (4) The process of evaluating data with the
purpose of drawing conclusions to address business questions.
Indeed, effective Data Analytics provides a way to search through
large structured and unstructured data to identify unknown patterns
or relationships.
data dictionary (14, 44) Centralized repository of descriptions for
all of the data attributes of the dataset.
data mart (365) A subset of the data warehouse focused on a
specific function or department to assist and support its needed data
requirements.
data reduction (10, 98) A data approach that attempts to reduce
the amount of information that needs to be considered to focus on
the most critical items (i.e., highest cost, highest risk, largest impact,
etc.).
data request form (47) A method for obtaining data if you do not
have access to obtain the data directly yourself.
data warehouse (204, 365) A data warehouse is a repository of
data accumulated from internal and external data sources, including
financial data, to help management decision making.
page 501
F
financial statement analysis (328) Used by investors, analysts,
auditors, and other interested stakeholders to review and evaluate a
company’s financial statements and financial performance.
flat file (41, 204) A means of storing data in one place, such as in
an Excel spreadsheet, as opposed to storing the data in multiple
tables, such as in a relational database.
foreign key (43) An attribute that exists in relational databases in
order to carry out the relationship between two tables. This does not
serve as the “unique identifier” for each record in a table. These
must be identified when mastering the data from a relational
database in order to extract the data correctly from more than one
table.
fuzzy match (124) A computer-assisted technique of finding
matches that are less than 100 percent perfect by finding
correspondencies between portions of the text of each potential
match.
fuzzy matching (229) Process that finds matches that may be less
than 100 percent matching by finding correspondences between
portions of the text or other entries.
H
heterogeneous systems approach (204) Heterogeneous
systems represent multiple installations or instances of a system. It
would be considered the opposite of a homogeneous system.
homogeneous systems approach (203) Homogeneous systems
represent one single installation or instance of a system. It would be
considered the opposite of a heterogeneous system.
horizontal analysis (331) An analysis that shows the change of a
value from one period to the next.
I
index (332) A metric that shows how much any given subsequent
year has changed relative to the base year.
interval data (143) The third most sophisticated type of data on
the scale of nominal, ordinal, interval, and ratio; a type of quantitative
data. Interval data can be counted and grouped like qualitative data,
and the differences between each data point are meaningful.
However, interval data do not have a meaningful 0. In interval data, 0
does not mean “the absence of” but is simply another number. An
example of interval data is the Fahrenheit scale of temperature
measurement.
K
key performance indicator (KPI) (269) A particular type of
performance metric that an organization deems the most important
and influential on decision making.
page 502
L
link prediction (10, 106) A data approach that attempts to predict
a relationship between two data items.
M
mastering the data (40) The second step in the IMPACT cycle; it
involves identifying and obtaining the data needed for solving the
data analysis problem, as well as cleaning and preparing the data for
analysis.
monetary unit sampling (MUS) (234) Allows auditors to evaluate
account balances. MUS is more likely to pull accounts with large
balances (higher risk and exposure) because it focuses on dollars,
not account numbers.
N
nominal data (142) The least sophisticated type of data on the
scale of nominal, ordinal, interval, and ratio; a type of qualitative
data. The only thing you can do with nominal data is count, group,
and take a proportion. Examples of nominal data are hair color,
gender, and ethnic groups.
normal distribution (143) A type of distribution in which the
median, mean, and mode are all equal, so half of all the
observations fall below the mean and the other half fall above the
mean. This phenomenon is naturally occurring in many datasets in
our world, such as SAT scores and heights and weights of newborn
babies. When datasets follow a normal distribution, they can be
standardized and compared for easier analysis.
O
ordinal data (142) The second most sophisticated type of data on
the scale of nominal, ordinal, interval, and ratio; a type of qualitative
data. Ordinal can be counted and categorized like nominal data and
the categories can also be ranked. Examples of ordinal data include
gold, silver, and bronze medals.
P
performance metric (268) Any calculation measuring how an
organization is performing, particularly when that measure is
compared to a baseline.
predictive analytics (94, 228) Procedures used to generate a
model that can be used to determine what is likely to happen in the
future. Examples include regression analysis, forecasting,
classification, and other predictive modeling.
predictor (or independent or explanatory) variable (9) A
variable that predicts or explains another variable, typically called a
predictor or independent variable.
prescriptive analytics (95, 228) Procedures that model data to
enable recommendations for what should be done in the future.
These typically include developing more advanced machine learning
and artificial intelligence models to recommend a course of action
based on a current problem.
primary key (42) An attribute that is required to exist in each table
of a relational database and serves as the “unique identifier” for each
record in a table.
production or live systems (204) Production (or live systems) are
those active systems that collect and report and are directly affected
by current transactions.
profiling (10, 100) A data approach that attempts to characterize
the “typical” behavior of an individual, group, or population by
generating summary statistics about the data (including mean,
standard deviations, etc.).
proportion (142) The primary statistic used with quantitative data.
Proportion is calculated by counting the number of items in a
particular category, then dividing that number by the total number of
observations.
Q
qualitative data (142) Categorical data. All you can do with these
data are count and group, and in some cases, you can rank the data.
Qualitative data can be further defined in two ways: nominal data
and ordinal data. There are not as many options for charting
qualitative data because they are not as sophisticated as quantitative
data.
quantitative data (143) More complex than qualitative data.
Quantitative data can be further defined in two ways: interval and
ratio. In all quantitative data, the intervals between data points are
meaningful, allowing the data to be not just counted, grouped, and
ranked, but also to have more complex operations performed on
them such as mean, median, and standard deviation.
R
ratio analysis (328) A tool that attempts to evaluate relationships
among different financial statement items to help understand a
company’s financial and operating performance.
ratio data (143) The most sophisticated type of data on the scale
of nominal, ordinal, interval, and ratio; a type of quantitative data.
They can be counted and grouped just like qualitative data, and the
differences between each data point are meaningful like with interval
data. Additionally, ratio data have a meaningful 0. In other words,
once a dataset approaches 0, 0 means “the absence of.” An
example of ratio data is currency.
regression (9, 106) A data approach that attempts to estimate or
predict, for each unit, the numerical value of some variable using
some type of statistical model.
relational database (41) A means of storing data in order to
ensure that the data are complete, not redundant, and to help
enforce business rules. Relational databases also aid in
communication and integration of business processes across an
organization.
page 503
S
similarity matching (10, 106) A data approach that attempts to
identify similar individuals based on data known about them.
sparkline (333) A small visual trendline or bar chart that efficiently
summarizes numbers or statistics in a single spreadsheet cell.
standard normal distribution (144) A special case of the normal
distribution used for standardizing data. The standard normal
distribution has 0 for its mean (and thus, for its mode and median, as
well), and 1 for its standard deviation.
standardization (144) The method used for comparing two
datasets that follow the normal distribution. By using a formula, every
normal distribution can be transformed into the standard normal
distribution. If you standardize both datasets, you can place both
distributions on the same chart and more swiftly come to your
insights.
standardized metrics (338) Metrics used by data vendors to allow
easier comparison of company reported XBRL data.
structured data (100) Data that are organized and reside in a
fixed field with a record or a file. Such data are generally contained
in a relational database or spreadsheet and are readily searchable
by search algorithms.
summary statistics (97) Describe the location, spread, shape,
and dependence of a set of observations. These commonly include
the count, sum, minimum, maximum, mean or average, standard
deviation, median, quartiles,correlation covariance, and frequency
that describe a specific measurable value.
supervised approach/method (103) Approach used to learn more
about the basic relationships between independent and dependent
variables that are hypothesized to exist.
support vector machines (110) A discriminating classifier that is
defined by a separating hyperplane that works first to find the widest
margin (or biggest pipe).
systems translator software (204) Systems translator software
maps the various tables and fields from varied ERP systems into a
consistent format.
T
tax data mart (365) A subset of a company-owned data
warehouse focused on the specific needs of the tax department.
tax planning (369) Predictive analysis of potential tax liability and
the formulation of a plan to reduce the amount of taxes paid.
test data (109) A set of data used to assess the degree and
strength of a predicted relationship established by the analysis of
training data.
training data (109) Existing data that have been manually
evaluated and assigned a class, which assists in classifying the test
data.
U
unsupervised approach/method (103) Approach used for data
exploration looking for potential patterns of interest.
V
Vendor address - Warehouse address Software such as Tableau
can calculate distances, but it requires a little more work. See
http://www.vizwiz.com/2012/01/tableau-tip-calculating-distance.html
to learn how.
vertical analysis (328) An analysis that shows the proportional
value of accounts to a primary account, such as Revenue
W
what-if scenario analysis (370) Evaluation of the impact of
different tax scenarios/alternatives on various outcome measures
including the amount of taxable income or tax paid.
X
XBRL (99, 336) XBRL stands for eXtensible Business Reporting
Language and is a type of XML (extensible markup language) used
for organizing and defining financial elements.
XBRL (eXtensible Business Reporting Language) (99) A global
standard for exchanging financial reporting information that uses
XML.
XBRL taxonomy (336) Defines and describes each key data
element (like cash or accounts payable). The taxonomy also defines
the relationships between each element (like inventory is a
component of current assets and current assets is a component of
total assets).
XBRL-GL (340) Stands for XBRL-General Ledger; relates to the
ability of enterprise system to tag financial elements within the firm’s
financial reporting system.
page 504
Index
A
Access. See Microsoft Access
Accountants, skills for analytic, 12
Accounting
analytic models for, 94–97
auditing and, 5–6
Data Analytics and, 5–7
data reduction and, 98–100
decision support systems and, 112–113
regression approach, 108–109
profiling example in management, 102
summary statistics, 97–98
Accounting data, using/storing, 40–41
Account organization, XBRL taxonomy, 337
Accounts receivable
Question 1.1: How Effectively Are We Collecting Our Cash?, 392–
396
Question 1.3: What Is the Total Revenue and Balance in Accounts
Receivable, 398–399
ACL software, 230
Activity ratios, 329–330
Address and Refine Results
audit data analytics and, 230
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
67
Lab 2-6: Comprehensive Case: Dillard’s Store Data: How to
Create an Entity-Relationship Diagram, 78
Lab 2-7: Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables In a Query, 80
Lab 2-8: Comprehensive Case: Dillard’s Store Data: Connecting
Excel to a SQL Database, 89–90
Lab 3-3: Classification, 130
Lab 3-4: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part 1), 135
Lab 3-5: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part II), 137
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166
Lab 4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
188–196
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 199
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 250
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 263
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 265
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau, 292
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 317–319
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 349
Lab 8-4: Use SQL to Query an XBRL Database, 360
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
385–386
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 389
LendingClub, 17–19
management accounting, 275–276
Advanced Environmental Recycling Technologies (AERT), 102
Age analysis, descriptive analytics, 229, 231–232
Aggregates/aliases, expand SELECT SQL, 459–460
Ahmed, A. S., 108n3
Alarms, continuous monitoring, 208–209
Alibaba, 3, 10, 96, 340
Alphabet, 340
Alternative stacked bar chart, 153
Amazon, 3, 10, 96, 114, 279–280, 345, 409
Amazon (AMZN), 345
Amazon Prime, 281
Amazon RDS, 41
American Institute of Certified Public Accountants (AICPA), 47, 205
Analytics mindset, 12
Analyze and Refine Results, 314–315 (lab)
Analyze the Financial Ratios, 354 (lab)
Apple, Inc. (AAPL), 29, 329, 331, 332, 344, 346, 347, 353
Applied statistics, predictive analytics and, 229, 243
Arelle.org, 356
Artificial intelligence (AI), prescriptive analytics and, 96, 113–114,
228, 229, 243
Asset turnover ratio, 330
Audience, effective communication and, 159–160
Audit Data Analytics
Address and Refine Results, 230. See also Address and Refine
Results
Benford’s law, 236–239
communicate insights, 230
descriptive analytics and, 230–235, 239–242
diagnostic analytics, 235–236
examples of, 229
identify the problem, 226
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 248–
250
Lab 6-2: Perform Substantive Tests of Account Balances, 250–256
Lab 6-3: Finding Duplicate Payments, 256–257
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 257–263
nature/extent/timing of, 226
perform the test plan, 226–228
predictive analytics and, 242–243
sentiment analysis, 243
track outcomes, 230
See also Auditing
Audit Data Standards (ADS), 47, 205, 210
Auditing
automated systems for, 210
clustering approach in, 105–106
Data Analytics and, 5–6
data reduction and, 98–100
Lab 1-3: Data Analytics in Auditing, 33–34
Lab 5-5: Identify Audit Data Requirements, 221–222
predictive analytics, regression and, 108
profiling in, 103
remote, 209–210
tax compliance and, 364
workflow, working papers, 209–210
See also Audit Data Analytics
Auditing standards (PCAOB), 207
Auditors
Data Analytics and, 5–6
Question Set 1: Order-To-Cash (O2C), 392–400
Question Set 2: Procure-to-Pay (P2P), 400–406
Audit plan
automating, steps for, 208
characteristics of, 207
Lab 5-6: Prepare Audit Plan, 222–223
methodology/standards, 207
page 505
B
Background information, select Fortune 100 companies, 350 (lab)
Balanced Scorecard
components of, 271–272
defined, 271, 277
example, 267, 272
key performance indicators, 270–274
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
284–292
strategy map template, 275
See also Scorecard
Balance sheet composition
sunburst diagram, visualize, 334
XBRL data, 339
Bar charts, 145, 154
Bay Area Rapid Transit (BART), 93
Benchmarks, financial statements and, 331
Benford’s law, 103–104, 115
diagnostic analytics and, 229
predicting distribution, 236–239
Berinato, Scott, 141
Big Data, 4, 20
Bjerrekaer, J. D., 39
Boeing Co., 339
Boundaries, support vector machine, 111
Box, cloud computing, 219
Box and whisker plots, 148
Box Chart, 152
Bristol-Myers Squibb (BMY), 353
Bullet graph, 270
Business, Data Analytics effects on, 4–5
Business process
defining, 392
Order-To-Cash (O2C) sales cycle, 392–400
Procure-To-Pay (P2P), 400–406
C
Calcbench data vendor, 338, 339, 342
Cash, accounts receivable and, 392–396
Cash tag, XBRL and, 337
Categorical data, 142–143
Causal modeling, 106, 115
Central tendency, describing sample by, 434–435
Certified management accountant (CMA), 328
Certified public accountant (CPA), 328
Change amount, 332
Change in value relative to base year, 332
Change percent, 332
Charting data
create good, study bad, 151–154
qualitative, 145–147
quantitative, 147–148
refining charts, 156–158
types of charts, summary of, 148
See also Data visualization
Chevron (CVX), 353
Chick-Fil-A, 434
Chief audit executive (CAE), 203
Citigroup (C), 353
Class, 106
Classification
defined, 9, 115
evaluating, 111
goals of, predictive analytics and, 109
Lab 3-3: Classification, 127–130
lease, flowchart, 113
model, trade-off, complexity v., 112
overfitting, 111–112
predictive analytics and, 96, 229, 242
steps of, 109
terminology of, 109–111
Classification analysis, setup/conduct, 119–120
Classification model, 106
Clean data, 50
Cloud folder, 219–220 (lab)
Cluster analysis
auditing and, 105–106
high volume stores, 320–322 (lab)
unsupervised approach, 103
Clustering
defined, 10, 115
diagnostic analytics and, 96, 229, 242
COLLEGESCORECARD data, 492–493
College Scorecard data, 57, 125–126 (lab)
Color
charts and, 157–158
visualizing financial data, 333–334
See also Data visualization
Column charts, 146
Columns, tables and, 42–43
Combine Visualizations into a Dashboard, 218 (lab)
Committee of Sponsoring Organization (COSO), 207
Common data model
defined, 210
Lab 5-1: Create a Common Data Model, 215–217
Lab 5-2: Create a Dashboard Based on a Common Data Model,
217–219
AICPA and, 204–206
Common size financial statement, 328–329, 332, 341, 349–352 (lab)
Common table functions, 356 (lab)
Communicate Findings/Results
audit data analytics and, 230
charting data, 156–158
content/organization, 158–159
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
67
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166–168
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 176–177
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 263
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 315
revising message, 160
See also Charting data; Data visualization
Communicate Insights
LendingClub, 19
tracking outcomes and, 1, 11–12
Complexity of model, classification of v., 112
Composite primary key, 43, 53
Comprehensive Case
Lab 1-4: Dillard’s Store Data, 34–37
Lab 2-6: Dillard’s Store Data: How to Create an Entity-Relationship
Diagram, 75–78
Lab 2-7: Dillard’s Store Data: How to Preview Data from Tables In
a Query, 78–80
Lab 2-8: Dillard’s Store Data: Connecting Excel to a SQL
Database, 80–90
Lab 2-9: Dillard’s Store Data: Joining tables, 90–91
Lab 3-4: Dillard’s Store Data: Data Abstract (SQL) and Regression
(Part 1), 130–135
Lab 3-5: Dillard’s Store Data: Data Abstract (SQL) and Regression
(Part II), 135–137
Lab 4-3: Dillard’s Store Data: Create Geographic Data
Visualizations in Tableau and in Power BI, 177–196
Lab 4-4: Dillard’s Store Data: Visualizing Regression in Tableau,
196–199
Lab 6-4: Dillard’s Store Data: Hypothesis Testing (Part I), 257–263
Lab 6-5: Dillard’s Store Data: Hypothesis Testing (Part II—Data
Visualization), 263
Lab 7-3: Dillard’s Store Data: Creating KPIs in Excel (Part I), 293–
299
Lab 7-4: Dillard’s Store Data: Creating KPIs in Excel (Part II), 299–
307
page 506
Lab 7-5: Dillard’s Store Data: Creating KPIs in Excel (Part III),
307–315
Lab 9-2: Case 1: Dillard’s Store Data: Calculate Sales Tax for
Dillard’s States, 379–381
Lab 9-3: Case 2: Dillard’s Store Data: Calculate Sales Tax for
Dillard’s States Part 2—Compare Year over Year, 381–386
Lab 9-4: Case 3: Dillard’s Store Data: Calculate Sales Tax for
Dillard’s States Part 3—Calculate City Tax and Compare Tax
Owed Year over Year, 386–397
Lab 9-5: Dillard’s Store Data: Does a State’s Tax Rate Affect
Dillard’s Decision to Open Stores There?, 387–389
Computer-assisted audit techniques (CAATs), 228–230, 229, 244
Conceptual chart, 142
Conceptual data, 143
Confidence interval, 437
Confidence level, 234
Connect, PwC tool, 210, 211
ConocoPhillips (COP), 353
Content, data visualization and, 158–159
Continuous auditing, 103, 208, 211
Continuous data, 143, 161
Continuous monitoring, 208
alarms/exceptions, 208–209
defined, 211
Continuous reporting, 208, 211
Co-occurrence grouping, 10, 21
cluster analysis and, 103
defined, 115
diagnostic analytics and, 96
Corptax, 362
Cost behavior, 269–270
Costco (Cost), 353
Coughlin, Tom, 103
Create Four Visualizations, 218 (lab)
Current ratio, 329
D
Daily Mail, 152
Dashboards, 101, 141
balanced scorecard dashboard, 275
digital, 270, 277
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 168–177
Lab 5-2: Create a Dashboard Based on a Common Data Model,
218–219
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 263–265
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
284–292
Data
Big, 4, 20
cleaning, 50
ethics breach and, 39
gather/review, 8–9
quality, 50–52
relationships, relational databases and, 42–43
storing, 48–49
validate, 49–50
variability/spread, describing, 435
Data Analysis ToolPak, Excel add-in
accessing, 440–441
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 258–261
tutorial, 440–441
Data Analytics
auditing and, 5–6
automating. See Automating data analytics, 206–208
business and, 4–5
defined, 4, 21
financial reporting and, 6–7
four categories of, 94–97
IMPACT cycle, 8
Lab 1-1: Data Analytics in Financial Accounting, 28–31
Lab 1-2: Data Analytics in Managerial Accounting, 31–33
Lab 2-1: Create a Request for Data Extraction, 59–60
taxes and, 7
Database maps, 209
Databases
computer languages for, 48–49
data dictionary, 44–45
ETL process, 45–49
management, software, 41
relationships, relational, 42–43
table attributes, 42–43
types of, 29
Database Schema, 41
Data dictionary, 14, 21
COLLEGESCORECARD, 492–493
defined, 53
LendingClub, 44–45, 494–498
LoadStats, 494–498
OK PCARD, 499
RejectStats, 499
Data-driven chart, 142
Data environment, modern, 202–203
Data management, taxes and, 363–364
Data marts, 363, 370
Data profiling. See Profiling data
Data quality, XBRL and, 338–339
Data reduction, 10–11, 21
cluster analysis and, 103
defined, 98, 115
descriptive analytics and, 95–96, 98–100
Lab 3-1: Data Reduction Using Fuzzy Matching, 122–125
Data request, 46–47, 59 (lab)
Data request form, 47, 53
Data scale, charting data, 157
Datasets
ethics and, 39
See also Data dictionary; Dillard’s Stores Inc.; LendingClub;
Sláinte
Data types, 142–143
Data visualization, 12
audience/tone, effective communication, 159–160
bar charts, 154
box charts, 152
categorical data, choosing, 142–143
chart types, 142
color, charts and, 157–158
content/organization and, 158–159
create good charts, study bad, 151–154
data scale/increments and, 157
declarative, explanatory v., 144–145
designing, 275
heat map, 139
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166–168
Lab 5-2: Create a Dashboard Based on a Common Data Model,
218–219
Lab 7-7: Comprehensive Case: Dillard’s Store Data: Advanced
Models in Tableau, 320–324
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375–
379
normal distribution, 143–144
pie chart, stacked bar chart v., 153
purpose of, determine, 141–142
qualitative data, charts for, 145–147
quantitative data, charts for, 147–148
Question 1.2: How Can We Explore the Product Hierarchy
Through Data Visualization?, 412–422
Question 3.1: By Looking at Line Charts for 2014 and 2015, Does
the Average Percentage of Sales Returned in 2014 Seem to
Be Predictive of Returns in 2015, 427–429
Question Set 1: Descriptive and Exploratory Analysis, 410–422
rank-ordered bar chart, 153
refining charts, 156–158
relative size of accounts, 333–334
revising message, 160
sparklines/heat maps, 333
stacked bar chart, 154
tracking KPS, tax data and, 365–366
trends, sparkline/trendlines, 333
USA Drug Overdose, 140
visuals, tools for choosing, 149–151
See also Charting data
page 507
E
eBay, 3
EDGAR database (SEC), 29
Effective tax rate (ETR), 365–366
Electronic working papers, 209–210
Lab 5-3: Set up a Cloud Folder, 219–220
platforms for, 210
ELT process, loading data, 52
Encoding, data quality and, 51
English dictionary (H4N-INF), 335
Enterprise data
common data model, 204–206
systems approaches to, 203–204
Enterprise Risk Management (COSO), 207
Entity-relationship diagram (ERD), 75–78 (lab)
Equifax, 21
Equity multiplier ratio, 330
ER Diagram, Dillard’s Stores Inc., 491
Errors, data quality and, 52
Estimated misstatement, 234
Estimating sales returns, question sets for
Q. 1.1: Which Attributes Could Help Predict Percentage of
Returned Sales?, 410–412
Q. 1.2: How Can We Explore the Product Hierarchy Through Data
Visualization?, 412–422
Q. 2.1: Is the Percentage of Sales Returned Significantly Higher in
January After the Holiday Season?, 422–426
Q. 2.2: Is the Percentage of Sales Returned Significantly Different
in Arkansas Than the Rest of the Country?, 426–427
Q. 3.1: By Looking at Line Charts for 2014 and 2015, Does the
Average Percentage of Sales Returned in 2014 Seem to Be
Predictive of Returns in 2015, 427–429
Q. 3.2: Using Regression, What Can We Predict for Returns as a
Percentage of Sales Based on Historical Transactions?, 429–
432
Ethics, breach of, datasets and, 39
ETL process
automating data analytics and, 206–207
defined, 53
extract, 46–47
Lab 2-1: Create a Request for Data Extraction, 58–60
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
61
Lab 2-5: College Scorecard Extraction and Data Preparation, 73–
75
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 169–171
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 197–198
page 508
F
Facebook, 7, 11, 21
Facebook (FB), 21, 353
False positive, 209
FASB taxonomy, 338
Favorable variances, 269
Fawcett, T., 9n
Filled geographic maps, 148
Financial accounting, data analytics in, 28–31 (lab)
Financial Accounting Standards Board (FASB), 29
Financial analysis, text mining/sentiment analysis, 334–335
Financial dictionary (Fin-Neg), 335
Financial reporting
Data Analytics and, 6–7
real-time, XBRL/XBRL-GL, 340
Financial Statement Analysis
common size financial statement, 328–329, 331–332
defined, 341
descriptive, 328
diagnostic financial analytics, 331
EXBRL examples, 340
index showing change in value relative to base year, 332
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 346–349
Lab 8-2: Create Dynamic Common Size Financial Statements,
349–352
Lab 8-3: Analyze Financial Statement Ratios, 352–354
predictive financial analytics, 331–332
ratios, comparison among three companies, 331
ratio types, 329–330
vertical/horizontal analysis, 328–329, 331–332
Financing ratio, 330
Findings. See Address and Refine Results; Communicate
Findings/Results
FinDynamics, 346, 347
Flat file, 41, 53, 204, 211
Forbes.com, 361
Forbes Insights/KPMG report, 5–6
Foreign keys, 43, 53
Fortune 100, 346, 350
Frequency distribution, 375–377 (lab)
FROM, SQL clause, 453–454, 463–464
Fujitsu, 338
Fuzzy Lookup add-in, 121 (lab), 239–241
Fuzzy match, 98, 99
defined, 244
diagnostic analytics and, 229, 239–241
Lab 3-1: Data Reduction Using Fuzzy Matching, 122–125
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 249–
250
G
Gartner Magic Quadrant for Business Intelligence and Analytics
Platform, 149
Generalized audit software (GAS), 230
General Motors (GM), 340
Generate a Request for Data, 285 (lab)
Good classification, 109
Google, 7, 114
Google Account, 352–354 (lab)
Google Drive, 219
Google Sheets
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 346
Lab 8-3: Analyze Financial Statement Ratios, 352–354
GROUP BY, SQL clause, 460–462
H
Halo, PwC tool, 201, 210, 211
Harriott, J. S., 8n, 40n
Harvard Business Review, 141
HAVING, SQL clause, 462–463
Heat map, data visualization, 139, 146, 333
Heterogeneous systems approach, data structure, 204, 211
Hewlett-Packard Co. (HP), 225
Histogram, data visualization, 375–377 (lab)
Homogeneous systems approach, data structure, 203–204, 211
Horizontal financial statement analysis, 328–329, 331–332, 341,
346–349 (lab)
Hyperion, 362
Hypothesis testing
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 257–263
Q. 2.1: Is the Percentage of Sales Returned Significantly Higher in
January After the Holiday Season?, 422–426
Q. 2.2: Is the Percentage of Sales Returned Significantly Different
in Arkansas Than the Rest of the Country?, 426–427
statistics and, 436–437
I
IBM, 338
IBM DB2, 41
IDEA software, 230
age analysis, 231–232
Benford’s law, 238
fuzzy address match, 241
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 248–
250
monetary unit sample (MUS), 235
sample size, 234
sorting, 233
summary statistics, 233
page 509
Identify Questions
Lab 1-1: Data Analytics in Financial Accounting, 28–29
Lab 1-2: Data Analytics in Managerial Accounting, 31–32
Lab 1-3: Data Analytics in Auditing, 33–34
Lab 1-4: Dillard’s Store Data (comprehensive case), 35–36
Lab 2-1: Create a Request for Data Extraction, 58–59
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
61
Lab 2-3: Resolve Common Data Problems in Excel and Access,
68
Lab 2-5: College Scorecard Extraction and Data Preparation, 74
Lab 2-6: Comprehensive Case: Dillard’s Store Data: How to
Create an Entity-Relationship Diagram, 76
Lab 2-7: Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables In a Query, 78–79
Lab 2-9: Comprehensive Case: Dillard’s Store Data: Joining
tables, 90
Lab 3-2: Regression in Excel, 125
Lab 3-3: Classification, 127
Lab 3-4: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part 1), 131
Lab 3-5: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part II), 135
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 169
Lab 4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
178
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 197
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 248
Lab 6-2: Perform Substantive Tests of Account Balances, 251
Lab 6-3: Finding Duplicate Payments, 256
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 258
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 264
Lab 7-1: Evaluate Management Requirement and Identify Useful
KPIs from a List, 284
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
284–285
Lab 7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part I), 295
Lab 7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part II), 300
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 309
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 316
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 346
Lab 8-3: Analyze Financial Statement Ratios, 352–353
Lab 8-4: Use SQL to Query an XBRL Database, 355
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375
Lab 9-2: Comprehensive Case 1: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States, 379
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
382
Lab 9-4: Comprehensive Case 3: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 3—Calculate City Tax and
Compare Tax Owed Year over Year, 386
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 388
management accounting, 268–270
Identify the Location of the Data, 222 (lab)
Identify the Problem
auditing data analytics, 226
Lab 3-1: Data Reduction Using Fuzzy Matching, 121
IMPACT cycle
data, gather/review, 8–9
data visualization, 141
outcomes, track, 11–12
questions, identify, 8
results, address/refine, 11
test plan, perform, 9–11, 94–97
IMPACT model
audit data analytics and, 226–230
hands-on, Lendingclub example. See LendingClub entries
KPIs for decision-making and, 272, 366
mastering the data, 40
tax data and, 363
Import and Validate the Data
Lab 5-1: Create a Common Data Model, 215
Lab 5-2: Create a Dashboard Based on a Common Data Model,
218
Income tax liability, 365
Increments, charting data, 157
Independent variables, 9, 21
Index, 332, 341
INNER join, 480–481
Inner join, 239
INNER JOIN ON, SQL clause, 464–465
Input Ticker Symbols, 354 (lab)
Instagram, 7, 21
Instance document, XBRL and, 336
Internal auditing
data reduction and, 98–99
importance of, 203
profiling and, 103
International characters, data quality and, 51
Interval data, 143, 161
Inventory turnover ratio, 330
Invoices, paying, Question Set 2: Procure-To-Pay (P2P), 400–406
IRS and tax analytics, 362
Isson, J. P., 8n, 40n
iXBRLAnalyist script, 346 (lab)
J
James, LeBron, 361
JD Edwards, 203, 213
Johnson & Johnson (JNJ), 353
JPMorgan Chase (JPM), 353
K
Kaplan, Robert S., 271
Kenya Red Cross, 267
Key performance indicators (KPIs), 141, 268–269
balanced scorecard and, 270–274
defined, 277
financial performance/operational, 273
Lab 7-1: Evaluate Management Requirement and Identify Useful
KPIs from a List, 282–283
Lab 7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part I), 293–299
Lab 7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part II), 299–307
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 307–315
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 315–319
monitor/track, tax data analytics, 365–366
page 510
Kirkegaard, E., 39
KPIs. See Key performance indicators (KPIs)
L
Labs
1-0: How to Complete Labs in This Text, 27–28
1-1: Data Analytics in Financial Accounting, 28–31
1-1: Data Analytics in Financial Accounting, 28–31
1-2: Data Analytics in Managerial Accounting, 31–33
1-3: Data Analytics in Auditing, 33–34
1-4: Dillard’s Store Data (comprehensive case), 35–37
2-1: Create a Request for Data Extraction, 58–60
2-2: Use PivotTables to Denormalize and Analyze the Data, 60–67
2-3: Resolve Common Data Problems in Excel and Access, 67–71
2-4: Generate Summary Statistics in Excel, 71–73
2-5: College Scorecard Extraction and Data Preparation, 73–75
2-6: Comprehensive Case: Dillard’s Store Data: How to Create an
Entity-Relationship Diagram, 75–78
2-8: Comprehensive Case: Dillard’s Store Data: Connecting Excel
to a SQL Database, 80–90
2-9: Comprehensive Case: Dillard’s Store Data: Joining tables,
90–91
3-1: Data Reduction Using Fuzzy Matching, 121–125
3-2: Regression in Excel, 125–126
3-3: Classification, 127–130
3-4: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part 1), 130–135
3-5: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part II), 135–137
4-1: Use PivotCharts to Visualize Declarative Data, 166–168
4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 168–177
4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
177–196
4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 196–199
5-1: Create a Common Data Model, 215–217
5-2: Create a Dashboard Based on a Common Data Model, 217–
219
5-3: Set up a Cloud Folder, 219–220
5-4: Review Changes to Working Papers, 220–221
5-5: Identify Audit Data Requirements, 221–222
5-6: Prepare Audit Plan, 222–223
6-1: Evaluate the Master Data for Interesting Addresses, 248–250
6-2: Perform Substantive Tests of Account Balances, 250–256
6-3: Finding Duplicate Payments, 256–257
6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 263–265
7-1: Evaluate Management Requirement and Identify Useful KPIs
from a List, 282–283
7-2: Create a Balanced Scorecard Dashboard in Tableau, 284–
292
7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs in
Excel (Part I), 293–299
7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs in
Excel (Part II), 299–307
7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs in
Excel (Part III), 307–315
7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs in
Excel (Part IV—Putting It All Together), 315–319
7-7: Comprehensive Case: Dillard’s Store Data: Advanced Models
in Tableau, 320–324
8-1: Create a Horizontal and Vertical Analysis Using XBRL Data,
346–349
8-2: Create Dynamic Common Size Financial Statements, 349–
352
8-3: Analyze Financial Statement Ratios, 352–354
8-4: Use SQL to Query an XBRL Database, 355–360
9-1: State Sales Taxes and Create a Data Visualization, 375–379
9-2: Comprehensive Case 1: Dillard’s Store Data: Calculate Sales
Tax for Dillard’s States, 379–381
9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate Sales
Tax for Dillard’s States Part 2—Compare Year over Year, 381–
386
9-4: Comprehensive Case 3: Dillard’s Store Data: Calculate Sales
Tax for Dillard’s States Part 3—Calculate City Tax and
Compare Tax Owed Year over Year, 386–397
9-5: Comprehensive Case 4: Dillard’s Store Data: Does a State’s
Tax Rate Affect Dillard’s Decision to Open Stores There?, 387–
389
Question Set 1: Descriptive and Exploratory Analysis, 410–422
Question Set 2: Procure-To-Pay (P2P), 392–400
Question Set 3: Predictive Analytics, 427–432
Question set 1 Order-To-Cash (O2C), 392–400
Languages
data quality and, 51
SQL, 48
text mining, sentiment analysis and, 335
XML, EBRL and, 336
Left join, 239
LEFT join, SQL clause, 482
Legislation, tax planning what-if scenarios and, 369–370
LendingClub
Credit Risk Scores, customer, 17, 19
credit score data, 116
data, 494–498
data, gather/review, 13–15
data dictionary, 44–45
datasets/data dictionary, website, 14
debt-to-income ratio, declined loan applications by, 16, 19
debt-to-income ratio, loans declined by, 19
declined loan data, 14
employment length, declined loan applications by, 16
insights, communicate, 19
Lab 1-2: Data Analytics in Managerial Accounting, 31–33
Lab 1-3: Data Analytics in Auditing, 33–34
Lab 2-3: Resolve Common Data Problems in Excel and Access,
67–71
Lab 2-4: Generate Summary Statistics in Excel, 71–73
Lab 3-3: Classification, 127–128
loan rejection, predicting, 112
loans issued, 13
outcomes, tracking, 19
pivot tables, 16, 18, 19
questions, identify, 13
regression, predictive analytics and, 108–109
RejectStatsA dataset, 15
reported loan purpose, 13
results, address/refine, 17–19
test plan, 15–19
Linear classifiers, 110
Line charts, 148, 427–429
page 511
Link prediction
defined, 10, 21, 115
example, 11
predictive analytics and, 96, 106
Liquidity ratio, 329
Load data. See ETL process, 52
Look for Audit Procedures that Evaluate Data, 221–222 (lab)
Loughran, Tim, 335, 345
Lyft, 334
M
Machine learning, prescriptive analytics and, 96, 113–114, 228, 243
Magic quadrant, 149
Management accounting
balanced scorecard/KPIs, 270
cost behavior, 269–270
data visualization, 275
drill-down/refine results, 275–276
evaluate data quality, 274–275
identify questions, 268–270
key performance indicators (KPIs)/variance analysis and, 268–269
KPIs for, 273
Lab 7-1: Evaluate Management Requirement and Identify Useful
KPIs from a List, 282–283
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
284–292
Lab 7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part I), 293–299
Lab 7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part II), 299–307
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 315–319
Lab 7-7: Comprehensive Case: Dillard’s Store Data: Advanced
Models in Tableau, 320–324
predictive analytics, regression and, 108
profiling in, 102
relevant costs, 268
Management discussion, word frequency, 334
Managerial accounting, data analytics in, 32–33 (lab)
Managers
Question Set 1: Order-To-Cash (O2C), 392–400
Question Set 2: Procure-To-Pay (P2P), 400–406
Manipulating data, 12
Mapping data, 215–217 (lab)
Marr, Bernard, 282
Mastering the Data and Performing the Analysis
Lab 7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part I), 295–299
Master the Data and Prepare for Analysis
Lab 8-3: Analyze Financial Statement Ratios, 353
Master the Data and Prepare for Analysis Using Excel
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375
Master the Data
6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 264–265
audit data analytics and, 226–228
defining, 40, 53
extract, 45–49
Lab 1-1: Data Analytics in Financial Accounting, 29–30
Lab 1-2: Data Analytics in Managerial Accounting, 32–33
Lab 1-3: Data Analytics in Auditing, 33–34
Lab 1-4: Dillard’s Store Data (comprehensive case), 36–37
Lab 2-1: Create a Request for Data Extraction
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
61–66
Lab 2-3: Resolve Common Data Problems in Excel and Access,
68–71
Lab 2-5: College Scorecard Extraction and Data Preparation, 74–
75
Lab 2-6: Comprehensive Case: Dillard’s Store Data: How to
Create an Entity-Relationship Diagram, 76–78
Lab 2-7: Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables In a Query, 79–80
Lab 2-8: Comprehensive Case: Dillard’s Store Data: Connecting
Excel to a SQL Database, 81–88
Lab 2-9: Comprehensive Case: Dillard’s Store Data: Joining
tables, 90–91
Lab 3-1: Data Reduction Using Fuzzy Matching, 121–122
Lab 3-2: Regression in Excel, 126
Lab 3-3: Classification, 127–128
Lab 3-4: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part 1), 131
Lab 3-5: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part II), 135
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 169–171
Lab 4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
178–185
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 197–198
Lab 5-1: Create a Common Data Model, 215
Lab 6-2: Perform Substantive Tests of Account Balances, 251–256
THERE APPEARS TO BE A STAGE MISSING
Lab 6-3: Finding Duplicate Payments, 256
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 258–261
Lab 7-1: Evaluate Management Requirement and Identify Useful
KPIs from a List, 284
Lab 7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part II), 300–307
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 309–313
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 316–317
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 346–348
Lab 8-4: Use SQL to Query an XBRL Database, 355–356
Lab 9-2: Comprehensive Case 1: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States, 379–380
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
382–383
Lab 9-4: Comprehensive Case 3: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 3—Calculate City Tax and
Compare Tax Owed Year over Year, 386–387
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 388
load the data, 52
management accounting, 274–275
Question Set 1: Descriptive and Exploratory Analysis, 419
transform, 49–50
page 512
page 513
N
NASDAQ, 327
New York Stock Exchange, 327
Nike (NKE), 346
Nominal data, 142, 161
Normal distribution, 143–144, 161, 435–436
Norton, David P., 271
Number datatypes, SQL WHERE clause, 456
Numbers, data quality and, 51
O
Object-relational mapping (ORM), 215
Obtain data
data request, 46–47
personally, 48
Office 363, 210
Office.com, 27–28, 27–28 (lab)
Office of National Statistics, 152
OkCupid, 39
OK PCARD data, 498, 499
Online sales, analyzing, 409
Open Science Framework, 39
Oracle, 41, 340
ORDER BY, SQL clause, 458–459
Order-To-Cash (O2C), 392–400. See also Question Set 1: Order-To-
Cash (O2C)
Ordinal data, 142, 161
Organization, data visualization and, 158–159
Outcomes. See Track Outcomes
Outer join, 239
Overfitting, classification, 111–112
Overlap method, text mining and, 335
P
Parameters, statistics v., 434
Payments, Procure-to-Pay (P2P), 400–406 (lab)
Perform an Analysis of the Data
Lab 4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
185–188
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 198–199
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 261–262
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
285–292
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 314
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 348–349
Lab 8-4: Use SQL to Query an XBRL Database, 356–360
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375–
379
Performance metrics, 268–269
balanced scorecard/KPIs and, 270–274
defined, 277
Perform the Analysis
Lab 1-1: Data Analytics in Financial Accounting, 30–31
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
66–67
Lab 2-6: Comprehensive Case: Dillard’s Store Data: How to
Create an Entity-Relationship Diagram, 76–78
Lab 2-7: Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables In a Query, 79–80
Lab 2-8: Comprehensive Case: Dillard’s Store Data: Connecting
Excel to a SQL Database, 81–88
Lab 2-9: Comprehensive Case: Dillard’s Store Data: Joining
tables, 90–91
Lab 3-2: Regression in Excel, 126
Lab 3-3: Classification, 129–130
Lab 3-4: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part 1), 131–135
Lab 3-5: Comprehensive Case: Dillard’s Store Data: Data Abstract
(SQL) and Regression (Part II), 135–137
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 171–176
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 249–
250
Lab 6-3: Finding Duplicate Payments, 256–257
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 265
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
383–384
Lab 9-4: Comprehensive Case 3: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 3—Calculate City Tax and
Compare Tax Owed Year over Year, 387
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 388–389
Perform the Test Plan
audit data analytics and, 228–230
management accounting, 274–275
page 514
Q
Qualified research expenditures (QREs), 369
Qualitative chart, 142
Qualitative data
charts for, 145–147
defined, 161
Qualtrics, 434
Quantitative chart, 142
Quantitative data
charts for, 147–148
defined, 161
normal distribution, 143–144
Query, preview data from tables in, 78–80 (lab)
Questions, identify problems. See Identify Questions
Question Set 1: Descriptive and Exploratory Analysis
1.1: Which Attributes Could Help Predict Percentage of Returned
Sales?, 410–412
1.2: How Can We Explore the Product Hierarchy Through Data
Visualization?, 412–422
Question Set 1: Order-To-Cash (O2C)
1.1: How Effectively Are We Collecting Our Cash?, 392–396
1.2: Is the Delivery Process Following the Expected Procedure?,
396–398
1.3: What Is the Total Revenue and Balance in Accounts
Receivable, 398–399
1.4: What Else Can You Determine about the O2C Process?, 400
processes, 392
Question Set 2: Diagnostic Analytics—Hypothesis Testing
2.1: Is the Percentage of Sales Returned Significantly Higher in
January After the Holiday Season?, 422–426
2.2: Is the Percentage of Sales Returned Significantly Different in
Arkansas Than the Rest of the Country?, 426–427
Question Set 2: Procure-To-Pay (P2P)
2.1: How Long Are We Taking to Pay Our Invoices?, 400–404
2.2: Are There Any Erroneous Payments?, 404–405
2.3: Are We Missing Out on Discounts by Paying Late?, 405–406
2.4: What Else Can You Determine about the P2P Process?, 406
purchasing cycle processes, 400
Question Set 3: Predictive Analytics
3.1: By Looking at Line Charts for 2014 and 2015, Does the
Average Percentage of Sales Returned in 2014 Seem to Be
Predictive of Returns in 2015, 427–429
3.2: Using Regression, What Can We Predict for Returns as a
Percentage of Sales Based on Historical Transactions?, 429–
432
Quick (acid test) ratio, 329
R
R, 206
R. R. Donnelley, 338
Rankandfiled.com, 334
Rank-ordered bar chart, 153
Ratio analysis, 328, 341, 352–354 (lab)
Ratio data, 143, 161–162
Ratio types, 329–330
page 515
S
Sales, analyzing, 409
Sales returns, estimating. See Estimating sales returns, question
sets for
Sales returns, predicting percentage, 410–412
Sales tax liability, evaluate, 365
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375–
379
Lab 9-2: Comprehensive Case 1: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States, 379–381
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
381–386
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 387–389
Sample
describing, 434–435
population v., 434
Sampling, descriptive analytics and, 229, 233–235
Samsung, 21
SAP, 340
Scale, charting data, 157
Scatter plots, 148, 269–270
Scorecard, 267. See also Balanced Scorecard
Screen capture tool
Lab: 1-0: How to Complete Labs in This Text, 27–28
Lab 1-1: Data Analytics in Financial Accounting, 28
Lab 1-3: Data Analytics in Auditing, 33
Lab 1-4: Dillard’s Store Data (comprehensive case), 35
Lab 2-2: Use PivotTables to Denormalize and Analyze the Data,
60
Lab 2-3: Resolve Common Data Problems in Excel and Access,
68
Lab 2-4: Generate Summary Statistics in Excel, 71
Lab 2-5: College Scorecard Extraction and Data Preparation, 74
Lab 3-2: Regression in Excel, 125–126
Lab 4-1: Use PivotCharts to Visualize Declarative Data, 166
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 169
Lab 5-1: Create a Common Data Model, 215, 216
Lab 5-2: Create a Dashboard Based on a Common Data Model,
218
Lab 5-2:: Create a Dashboard Based on a Common Data Model,
218
Lab 5-3: Set up a Cloud Folder, 220
Lab 5-4: Review Changes to Working Papers, 221
Lab 5-5: Identify Audit Data Requirements, 222
Lab 5-6: Prepare Audit Plan, 223
Lab 6-1: Evaluate the Master Data for Interesting Addresses, 248–
250
Lab 6-3: Finding Duplicate Payments, 257
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 261
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 265
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
289, 290, 291, 292
Lab 7-3: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part I), 299
Lab 7-4: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part II), 307
Lab 7-5: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part III), 314
Lab 7-6: Comprehensive Case: Dillard’s Store Data: Creating KPIs
in Excel (Part IV—Putting It All Together), 317, 318, 319
Lab 7-7: Comprehensive Case: Dillard’s Store Data: Advanced
Models in Tableau, 321, 323, 324
Lab 8-1: Create a Horizontal and Vertical Analysis Using XBRL
Data, 349
Lab 8-2: Create Dynamic Common Size Financial Statements, 351
Lab 8-3: Analyze Financial Statement Ratios, 354
Lab 8-4: Use SQL to Query an XBRL Database, 358, 360
Lab 9-1: State Sales Taxes and Create a Data Visualization, 377,
379
Scripting language, 206
Scrubbing data, 12
Security and Exchange Commission (SEC), 29, 99
SELECT, SQL clause, 453, 459–460
SELECT FROM practice, SQL clause, 454–455
SELECT FROM WHERE practice, SQL clause, 456–457
Sentiment analysis, 243
predictive analytics and, 229, 243
text mining and, 334–335
Sequence check, 229, 241
Shared folder, create, 219–220 (lab)
Similarity matching, 10, 21
defined, 115
diagnostic analytics and, 96
predictive analysis, 106
Simsion, G. C., 42n
Singleton, T., 46n
Sláinte Sales Subset, 160
Snapchat, 21
page 516
page 517
T
Table attributes, databases and, 42–43
Tableau software, 149–151
accessing, connect to Excel, 476–478
analytics tool, 391
data storage, 48–49
data visualizations, 410–422
joins in, 480–482
Lab 4-2: Use Tableau to Perform Exploratory Analysis and Create
Dashboards, 168–177
Lab 4-3: Comprehensive Case: Dillard’s Store Data: Create
Geographic Data Visualizations in Tableau and in Power BI,
177–196
Lab 4-4: Comprehensive Case: Dillard’s Store Data: Visualizing
Regression in Tableau, 196–199
Lab 5-2: Create a Dashboard Based on a Common Data Model,
217–219
Lab 6-5: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part II—Data Visualization), 264–265
Lab 7-2: Create a Balanced Scorecard Dashboard in Tableau,
284–292
Lab 7-7: Comprehensive Case: Dillard’s Store Data: Advanced
Models in Tableau, 320–324
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375–
379
Question Set 1: Descriptive and Exploratory Analysis, 410–422
tutorial, 476–479
Tableau Workbook
Question Set 1: Order-To-Cash (O2C), 392–400
Question Set 2: Procure-To-Pay (P2P), 400–406
Table Import Wizard, 312
Tables
Lab 2-7: Comprehensive Case: Dillard’s Store Data: How to
Preview Data from Tables In a Query, 78–80
Lab 2-9: Comprehensive Case: Dillard’s Store Data: Joining
tables, 90
Lab 8-4: Use SQL to Query an XBRL Database, 356
Takeda, C., 108n3
Target, 106
Target (TGT), 353
Tax analytics
compliance and liability, 364
data for planning and, 367–370. See also Tax planning, data
analytics
data management and, 363–364
income tax liability, 365
IRS and, 362
Lab 9-1: State Sales Taxes and Create a Data Visualization, 375–
379
Lab 9-2: Comprehensive Case 1: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States, 379–381
Lab 9-3: Comprehensive Case 2: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 2—Compare Year over Year,
381–386
Lab 9-4: Comprehensive Case 3: Dillard’s Store Data: Calculate
Sales Tax for Dillard’s States Part 3—Calculate City Tax and
Compare Tax Owed Year over Year, 386–387
Lab 9-5: Comprehensive Case 4: Dillard’s Store Data: Does a
State’s Tax Rate Affect Dillard’s Decision to Open Stores
There?, 387–389
sales tax liability, 365
uses for, 362–363
visualizations, monitor/track KPIs, 365–366
Tax cost, 365–366
Tax credits, tax planning what-if scenarios and, 369–370
Tax Cuts and Jobs Act Reform of 2018, 364, 370
Tax data mart, 363, 370
Tax efficiency/effectiveness, 366
Taxes, Data Analytics and, 7
Tax planning
defined/uses for, 367, 370
legislation, deductions, credits, What-if scenarios for, 369–370
what-if scenario analysis, 368–369
Tax risk, 366
Tax sustainability, 366
TeamMate, 210
TeamMate Analytics, 230, 243
Teradata, 41
Tesla, 280, 282
Test data, classification, 109, 116
Testing data, classification, 112
Test plan
LendingClub, 15–19
performing, 9–11, 94–97, 226–228
Text datatypes, SQL WHERE clause, 455–456
Text editor, 74 (lab)
Text mining, sentiment analysis and, 334–335
Thomas, S., 108n3
Times interest earned ratio, 330
Tolerable misstatement, 234
Tone, effective communication and, 159–160
Total revenue, 398–399
Track Outcomes
audit data analytics and, 230
Lab 6-4: Comprehensive Case: Dillard’s Store Data: Hypothesis
Testing (Part I), 263
LendingClub, 19
tracking insights and, 11–12
Trade-off, 112
Training data, classification, 109, 112, 116
Transform data
Question 3.2: Using Regression, What Can We Predict for Returns
as a Percentage of Sales Based on Historical Transactions?,
429–432
Question Set 1: Descriptive and Exploratory Analysis, 419
See also ETL process, 49–50
TransUnion, 21
Tree maps, 146, 332–324 (lab)
Trendlines, visualizing, 333
T-test, interpreting output from sample, 438
Turnover ratio, 330
Twitter, 7
Typical value, describing sample by, 434–435
U
Uber, 334
UML diagram, 169
Underfitting data, 111
Unfavorable variances, 269
UNICODE, 51
Unified Modeling Language (UML), 41
Uniform distribution, probability, 436
Unique identifier, 42
Unsupervised approach, clustering, 103, 116
Upload files
Lab 5-3: Set up a Cloud Folder, 220
Lab 5-4: Review Changes to Working Papers, 220–221
U.S. GAAP Financial Reporting Taxonomy, 336–337
U.S. Supreme Court, 365
V
Validate data, 49–50
Value, describing sample by middle or typical, 434–435
Variability of data, describing, 435
Variables, types of, 9
page 518
W
Walmart (WMT), 103–106, 116, 274, 345, 353
Washington.cbslocal.com, 362
Wayfair, 281
Wayfair decision, SCOTUS, 365
Web browser
Lab 1-0: How to Complete Labs in This Text, 27
Lab 1-1: Data Analytics in Financial Accounting, 28
Lab 1-3: Data Analytics in Auditing, 33
Lab 1-4: Dillard’s Store Data (comprehensive case), 35
Lab 5-3: Set up a Cloud Folder, 219–220
Lab 5-5: Identify Audit Data Requirements, 221–222
Lab 5-6: Prepare Audit Plan, 223
Lab 8-3: Analyze Financial Statement Ratios, 352–354
See also DB Browser, SQLite
Weka software, 33 (lab)
Wells-Fargo (WFC), 353
What-if analysis
prescriptive analytics and, 229
scenario, 368–370
WHERE, SQL clause
date datatypes, 456
number datatypes, 456
text datatypes, 455–456
Whole Foods, 345
Wikipedia, 130, 135, 196
Witt, G. C., 42n
Word Cloud, 146
Word frequency, text mining and, 334–335
Word processor
Lab 1-0: How to Complete Labs in This Text, 27
Lab 1-1: Data Analytics in Financial Accounting, 28
Lab 1-2: Data Analytics in Managerial Accounting, 31
Lab 1-3: Data Analytics in Auditing, 33
Lab 1-4: Dillard’s Store Data (comprehensive case), 35
Lab 2-1: Create a Request for Data Extraction, 58
Workflow, audit, 209–210
Working capital ratio, 329
Working papers
audit workflow and, 209
Lab 5-4: Review Changes to Working Papers, 220–221
remote audit work, 209–210
See also Electronic working papers
Workpapers. See Working papers
Write a SQL Query to Transform Your Data, 216–217 (lab)
Write-off classification, 109
X
XBRL. See eXtensible Business Reporting Language (XBRL), 29
XBRLAnalyst, 339, 342
XBRL-GL (global ledger), 340, 341
XBRL instance document, 336–338
XBRL taxonomy, 336, 341
XBRL-US Center for Data Quality, 338
Xbrlview.fasb.org, 336–337
Xero, 210
Y
Young, Steve, 435
Z
Zobel, J., 158n2
Zobel, Justin, 160
Z-score, 100–101, 103
diagnostic analytics, 235–236
outlier detection, 229
standardizing distributions with, 144
page 519
page 520