SAS/SPECTRAVIEW Software and Data Mining: A Case Study

Similar documents
Getting Started. What is SAS/SPECTRAVIEW Software? CHAPTER 1

Loading Data. Introduction. Understanding the Volume Grid CHAPTER 2

Machine Learning - Clustering. CS102 Fall 2017

BIM Goes to School AUTODESK REVIT BUILDING INFORMATION MODELING. BIM in the Architectural Curriculum. Savannah College of Art and Design, USA

3 Graphical Displays of Data

JMP Clinical. Release Notes. Version 5.0

SAS/SPECTRAVIEW. User s Guide 9.1

Analytical model A structure and process for analyzing a dataset. For example, a decision tree is a model for the classification of a dataset.

Now, Data Mining Is Within Your Reach

Introduction to Social Explorer

3 Graphical Displays of Data

CICS insights from IT professionals revealed

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Note: In the presentation I should have said "baby registry" instead of "bridal registry," see

1 (eagle_eye) and Naeem Latif

CITS4009 Introduction to Data Science

PTC Employs Its Own Arbortext Software to Improve Delivery of PTC University Learning Content Materials

Closing the Hybrid Cloud Security Gap with Cavirin

A Data Flow Approach to Color Gamut Visualization

SAS Enterprise Miner : Tutorials and Examples

Oracle9i Data Mining. An Oracle White Paper December 2001

MIT 801. Machine Learning I. [Presented by Anna Bosman] 16 February 2018

Creating Dashboards That Work Learning Web Analytics

ABSTRACT. Paper

APPENDIX 4 Migrating from QMF to SAS/ ASSIST Software. Each of these steps can be executed independently.

A SAS/AF Application for Linking Demographic & Laboratory Data For Participants in Clinical & Epidemiologic Research Studies

Visualizing NCI Seer Cancer Data

SAS IT Resource Management Forecasting. Setup Specification Document. A SAS White Paper

Enterprise Miner Software: Changes and Enhancements, Release 4.1

6. Relational Algebra (Part II)

The Power of Combining Data with the PROC SQL

1. Data Analysis Yields Numbers & Visualizations. 2. Why Visualize Data? 3. What do Visualizations do? 4. Research on Visualizations

Data Quality Control: Using High Performance Binning to Prevent Information Loss

SPM Users Guide. This guide elaborates on powerful ways to combine the TreeNet and GPS engines to achieve model compression and more.

Data Analysis and Data Science

WIRELESS TRENDS IN HEALTHCARE EXECUTIVE SUMMARY

SAS/Warehouse Administrator Usage and Enhancements Terry Lewis, SAS Institute Inc., Cary, NC

Software Defined Storage. Mark Carlson, Alan Yoder, Leah Schoeb, Don Deel, Carlos Pratt, Chris Lionetti, Doug Voigt

Visualization of Internet Traffic Features

Lecture 1: Statistical Reasoning 2. Lecture 1. Simple Regression, An Overview, and Simple Linear Regression

BSc (Honours) Computer Science Curriculum Outline

SAS Environment Manager A SAS Viya Administrator s Swiss Army Knife

Quality Site Visit Report

Chapter 3: Supervised Learning

Dell EMC Hyperconverged Portfolio: Solutions that Cover the Use Case Spectrum

Linear Programming. Meaning of Linear Programming. Basic Terminology

Automatic Detection of Section Membership for SAS Conference Paper Abstract Submissions: A Case Study

A Web Application to Visualize Trends in Diabetes across the United States

Slice Intelligence!

Virtual Memory. Chapter 8

DOWNLOAD PDF BIG IDEAS MATH VERTICAL SHRINK OF A PARABOLA

2010 Web Analytics Progress and Plans in BtoB Organizations: Survey Report

Data Mining. Part 2. Data Understanding and Preparation. 2.4 Data Transformation. Spring Instructor: Dr. Masoud Yaghini. Data Transformation

A Macro to Manage Table Templates Mark Mihalyo, Community Care Behavioral Health Organization, Pittsburgh, PA

Cisco APIC Enterprise Module Simplifies Network Operations

GPS // Guide to Practice Success

Tree-based methods for classification and regression

KEYWORDS Metadata, macro language, CALL EXECUTE, %NRSTR, %TSLIT

Now That You Have Your Data in Hadoop, How Are You Staging Your Analytical Base Tables?

Week 2: Frequency distributions

A Comparative Study of Data Mining Process Models (KDD, CRISP-DM and SEMMA)

WHITE PAPER. The General Data Protection Regulation: What Title It Means and How SAS Data Management Can Help

Improve your SAS applications by using functionality built in the MS Windows API, such as accessing external DLLs, OCXs and OLE servers.

DATA MINING AND WAREHOUSING

retail Free popcorn today cinema All food 20% off women s clothing counter food court

In concert IT: How Australian organisations can reduce cost and complexity with integrated infrastructure

1 DATAWAREHOUSING QUESTIONS by Mausami Sawarkar

KDD, SEMMA AND CRISP-DM: A PARALLEL OVERVIEW. Ana Azevedo and M.F. Santos

1 Introduction RHIT UNDERGRAD. MATH. J., VOL. 17, NO. 1 PAGE 159

Qlik Sense Enterprise architecture and scalability

DATA SECURITY MANAGEMENT. Chris Hare INSIDE. What is a Network? Network Devices; Hubs; Repeaters; Bridges; Routers; Switches; Network

IBM Emulex 16Gb Fibre Channel HBA Evaluation

Customer Clustering using RFM analysis

Roadmap to the Efficient Cloud: 3 Checkpoints for the Modern Enterprise

Graph Structure Over Time

A Long-Time SAS Programmer Learns New Tricks. DASUG Presentation by Lisa Horwitz, October 20, 2017

THE CONTRAST ASSESS COST ADVANTAGE

IJMIE Volume 2, Issue 9 ISSN:

Shavlik Protect: Simplifying Patch, Threat, and Power Management Date: October 2013 Author: Mike Leone, ESG Lab Analyst

Telephone Survey Response: Effects of Cell Phones in Landline Households

Data Preprocessing. Slides by: Shree Jaswal

CORPORATE PERFORMANCE IMPROVEMENT DOES CLOUD MEAN THE PRIVATE DATA CENTER IS DEAD?

TRUE SECURITY-AS-A-SERVICE

Imelda C. Go, South Carolina Department of Education, Columbia, SC

Six Core Data Wrangling Activities. An introductory guide to data wrangling with Trifacta

HOW TO GENERATE AND UNDERSTAND THE UPLOAD LOG REPORT

TECHNICAL OVERVIEW ACCELERATED COMPUTING AND THE DEMOCRATIZATION OF SUPERCOMPUTING

APPENDIX 2 Customizing SAS/ASSIST Software

The Top Five Reasons to Deploy Software-Defined Networks and Network Functions Virtualization

Advanced SQL Processing Prepared by Destiny Corporation

Request for Proposals for Data Assessment and Analysis

Step 1 Research a Technology Domain with Smart Search

Tracking and Evaluating Changes to Address-Based Sampling Frames over Time

SQL Tuning Reading Recent Data Fast

Cloud Computing Capacity Planning

2017 Essentials Brief: Cloud

TARGETING CITIZENS WITH LOCATION BASED NOTIFICATIONS.

Mira Shapiro, Analytic Designers LLC, Bethesda, MD

Physically-Based Laser Simulation

Big Data Methods. Chapter 5: Machine learning. Big Data Methods, Chapter 5, Slide 1

Transcription:

SAS/SPECTRAVIEW Software and Data Mining: A Case Study Ronald Stogner and Aaron Hill, SAS Institute Inc., Cary NC Presented By Stuart Nisbet, SAS Institute Inc., Cary NC Abstract Advances in information technology are allowing organizations to collect and store larger amounts of detailed data. Today's challenge is for companies to tum this information into a competitive advantage. Application areas, such as data mining, database marketing and decision support, hold the promise of tuming this information info profits. One key component to this process is data visualization. This paper presents a practical example of using data visualization technology to assist companies in the decision support process. SAS/SPECTRAVIEW software is used to spot key relationships and trends in a large data set. SAS/SPECTRA VIEW Software and Data Mining Major companies today are faced with a growing duemma. They have amassed large quantities of data related to their businesses and their customers. The challenge for these companies is to tum this data into profitable information. Today's desktop platforms possess the computing power to accomplish this task, but integrated software solutions that hamess this power have trailed in development. Past software solutions have primarily focused around single computing disciplines in their attempts to solve this problem. For example, past solutions have been purely statistical or purely graphical in nature. WhUe useful, in and of themselves, these techniques are even more powerful when combined together as a part of a data mining solution. Data mining combines several disciplines in an attempt to provide a better solution for large data sets. SAS software, with its strong history of information delivery, broad range of integrated modules, and strong data warehousing capabilities, is uniquely positioned as a data mining solution. SAS Institute proposes a cost effective data mining solution referred to as SEMMA, or SAMPLE, EXPLORE, MODIFY, MODEL, and ASSESS. These terms are defined below. SAMPLE: Extract a portion of a large data set big enough to contain the significant information yet small enough to manipulate quickly. EXPLORE: Search speculatively for unanticipated trends and anomalies so as to gain understanding and ideas. This can reveal which subset of attributes will be the most productive to work with the modeling phase. Data visualization delivers intuitive tools for business professionals, while statistical techniques offer added detail for specialist. MODIFY: The insights that are gained from exploration enable marketers to group the most productive subsets and clusters of data together for further analysis and exploration. MODEL: This process involves searching automatically for a variable combination that reliably predicts a desired outcome. Data mining techniques such as neural networks, tree-based models and traditional statistical techniques can help reveal pattems in the data and provide a best fitting predictive model. ASSESS: During this evaluation process, assessment of the results gained from modeling provides indications as to which results should be conveyed to senior management, how to model new questions that have been raised by the previous results and thus proceed back to the exploration phase. Data visualization is one of the most versatile methods for performing the exploration phase of the data mining process. SAS/SPECTRAVIEW software is one of the tools available under The SAS System to perform data visualization. It allows the user to examine up to five variables at a time. Several new features have been added to assist in the data mining process. SAS/SPECTRAVIEW Enhancements Several new features have been added to the newest version of SAS/SPECTRAVIEW under release 6.12 of The SAS System. Features have been added to support data mining, some of which are discussed in more detail below. Categorization When reading data into SASISPECTRAVIEW there is a new option available, "Categorize". This allows the user to group independent variable values into data groups or 242

"bins". This feature has two main uses. First, it allows the use of non-discrete values to be used as discrete or categorical data, a technique often applied to large data samples in data mining. Secondly, it also allows the user to reduce the amount of data that must be examined at one time. For example, if a customer's income is determined to be an independent predictor, categorization can be used to reduce income into relevant ranges of income rather than examining individual income values. This not only makes the data more manageable to work with, but also decreases the complexity of the data. Duplicate Value Handling Another new option when loading data into SAS/SPECTRAVIEW is the handling of "duplicate" response values. Duplicate response values occur when multiple values of the dependent variable fall at the same independent variable location. For example, two people with the same income level, education and age have different debt levels. SASISPECTRAVIEW now allows the user to resolve these duplicates using simple statistics. Duplicate value handling is even more important when independent variables are categorized since. duplicates are then more likely. Visual Subsetting of Data Another new feature for SAS/SPECTRAVIEW is the ability to visually subset data. This feature is useful during the exploration phase of data mining, where the user spots a key trend and would like to subset this data for further analysis. Many of the visualization techniques used in the software such as cutting planes, point clouds, and volume rendering, now support the saving of data based on the visual displayed. For example, if a point cloud is displayed, a user can choose to save the data points that comprise the point cloud. Likewise, if a cutting plane were displayed, only points on that plane would be saved. Intersections of multiple visuals can also be saved. If for example, a cutting plane and a point cloud were displayed, then only points in the point cloud and on the cutting plane would be saved. To visually subset, the user need only select the visual representation(s) of choice and once a trend of interest is found, select "save" and "data set". The data points that comprise the selected visuals are saved to a SAS data set and can be used for subsequent analysis in other SAS components. Example Business Data In this paper, we will examine a data set consisting of information on patient hospital stays in a southeastem hospital. Note that the actual city names will not be used here to protect the confidentiality of the company's data. The actual names have been replaced by the names of other unrelated cities. The data set contains information on the length of stay of the hospital patients, along with other related information. In addition to the length of stay, the data set contains, the address of the patient, his or her home state and city, their age, race, and sex, as well as other information related to their visit. For the purpose of this paper we will make the following assumptions. We will assume we work for a fictitious insurance company in a southeastern state. Since hospital stays tend to be expensive for insurance companies, our company will want to examine information concerning lengthy hospital visits. For this paper we will concentrate primarily on the exploration phase of the data mining process and will show how SAS/SPECTRAVIEW can be used to assist in this area. Finally, we will also assume that we are only concerned about information pertaining to those patients who reside in our home state, where our company provides medical coverage. Exploring the Data We start by applying a where clause to the data set when we load it into SASISPECTRAVIEW. We limit our exploration to only those individuals who reside within our state. This is easy to do in SAS/SPECTRAVIEW, we simply select the "Where" clause button, enter our where clause, and press enter. We will then use the patient's home city, their age and race as our independent variables. We will examine their length of stay at the hospital as our dependent or response variable. Additionally, we will categorize the patient's age to place the patients into age groups and reduce the complexity of examining individual age values. Finally, we will take the mean of the length of stay, since we are primarily concerned with the average length of a patient's hospital stay. To easily identify lengthy hospital visits, we will color code stays in excess of ten days as red and shorter stays as green. The brighter shades of green indicate shorter stays, while brighter shades of red indicate longer stays. We start by examining particular cities that have high numbers of lengthy average hospital visits. That is, graphs with large amounts of red areas displayed. We use SAS/SPECTRAVIEW's cutting plane with a 3-D bar chart to hold a city constant and slice through the cities one at a time. Once we find a city that Is different from the general trend (i.e. lot of red), we will use the new save to data set feature to save this information for further analysis later. Note we could accomplish the former step by applying the appropriate where clause, however, this would require us to know something about our data set in advance. We will instead use SAS/SPECTRAVIEW to visually examine the data and decide based on our visual impression when a 243

city is "of interest". This way we don't need to predefine some arbitrary "long" period of stay or some "high" number of instances of these long stays. We will subset the data visually based on the trends we see in the data rather than exact values. After loading the data into SASISPECTRAVIEW and categorizing the patient age into 10 groups we have 6,600 data points from 17,657 observations. We select a bar chart to examine each city and then step through the various cities to examine general trends. If we find a city of particular interest we save that cities data to a data set via the "Save" button. Only values for that bar chart (city) will be written to the specified data set. A few trends in the data set are immediately obvious. First, in general the lengthiest hospital stays generally correspond to the older age groups, as one might expect. Consider for example, figures 1 and 2 below, the average length of stay for a group of patients in the cities of Flint and Seattle, respectively. Figure 1 Average Patient Stays for Flint Figure 2 Average Patient Stays for Seattle In both cites the longest hospital stays correspond to the older age groups. Note, however, that in Flint the difference between the age groups is less dramatic than that in Seattle. Also note that the red, or "long" stays occur at a much higher age in Seattle than in Flint. In Flint the first red bar occurs in the age group 53 to 64 years of age (determined by using SASlSPECTRAVIEW's Probe feature). In Seattle the first red bar occurs in the age group 74 to 85 years of age. Note also that in Seattle all races have long stays, while not all races have lengthy stays in Flint (middle race shown). Note also that the ability to visualize. the data is very important and can illuminate trends that might otherwise be missed. For example, assume we chose 52 years of age as a dividing age and calculated statistics on the two cities above. Using PROC MEANS and performing simple statistics on the two cities, once for each city for all persons 52 years of age and older and once for each city for those younger than 52 years of age yields the following statistics shown in table 1. N= 5049 MEAN = 8.1 Seattle N = 778 MEAN =7.0 Table 1 Average Patient Stays by Age for Flint and Seattle The statistics for the two cities are quite similar. In both cities the mean length of stay for those younger than 52 years of age is approximately one week. While for those 52 years of age and older the average stay is approximately two weeks. Based on these numbers alone, one might assume the two cities are the same. Figures 1 and 2 above clearly indicate they are not. 244

In some cases there were differences based on the patients race, as in Hartford, shown in figure 3 below. Clearly the race shown on the left had longer average hospital stays than those to the right of the chart. could use a point cloud to display patients whose length of stay equaled or exceeded four weeks. The point cloud corresponding to this subset is shown in figure 4 below. Figure 3 Average Patient Stays for Hartford Using PROC MEANS, BY race, for the observations that comprise figure 3 yields table 2 shown below. Note that the average length of stay for the race shown on the left is nearly twice that of the patients shown on the right. It would be interesting to examine the factors that may have contributed to the longer hospital stays of those patients. By exploring the data in SAS/sPECTRAVIEW, other cities that exhibited similar trends could be examined along with those patients in Hartford. Figure 4 Patients Exceeding Four Week Stays The user could then save this data to a SAS data set for further analysis. The advantage to subsetting visually is that here, the user could subset the data interactively until it was the desired size, for example only a handful of observations, and then save the data. An example partial listing of the above subset is shown below as written from SAS/SPECTRAVIEW, note race has been dropped from the listing. Race Average Stay Left Side N = 53 MEAN = 13.7 Days Right Side N = 135 MEAN = 8.5 Days Table 2 Average Patient Stays by Race Going Further There are other ways to examine data in SASISPECTRAVIEW. The examples above, using cutting planes, are based on subsetting data by holding one independent variable constant. The effect of the two remaining variables can be then isolated. It is also possible to explore data based on the dependent or response variable. The point cloud is very useful for this type of analysis. For example, in this data set, it is possible to isolate patients based on their length of stay. Using the point cloud, the user could select patients whose average stay fell between a range of two values. For example, the user Conclusions In this paper we have shown an example of how SAS/SPECTRAVIEW can be used during the exploration phase of the data mining process. The product was used 245

interactively and visually subset data based on visual analysis rather than predefined limits. This paper has shown how two samples, similar in statistical makeup, can vary visually. Such attributes may be critical to determining key trends and correct samples in the data mining process. We have also demonstrated how many of the new data mining features in SAS/SPECTAAVIEW under release 6.12 of The SAS System can be used as part of a complete data mining solution. New features like categorization and duplicate value handling allow a much broader range of data to be used within SASISPECTRAVIEW. Other features which were not discussed, like support for character variables, also enhance the use of SASISPECTRAVIEW as part of a data mining solution. Future enhancements to the product are planned to further the use of the product in the arena of data mining. SASISPECTRAVIEW is a registered trademark of SAS Institute Inc. in the USA and other companies. indicates USA registration. Authors Ronald Stogner Product Manager SASISPECTRAVIEW SAS Institute Inc. SAS Campus Drive Cary, NC 27513 (919) 677 8000 sasres@unx.sas.com Aaron Hill Marketing Analyst SAS Institute Inc. SAS Campus Drive Cary, NC 27513 (919) 677 8000 sascyh@unx.sas.com 246