Business analytics data analysis and decision making 5th by wayne l winston chapter 03

38 256 1
Business analytics data analysis and decision making 5th by wayne l  winston chapter 03

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

part © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in Business Analytics: Data Analysis and Chapter Decision Making Finding Relationships among Variables Introduction  The primary interest in data analysis is usually in relationships between variables  The most useful numerical summary measure is correlation  The most useful graph is a scatterplot  To break down a numerical variable by a categorical variable, it is useful to create side-by-side box plots  Excel’s® pivot table breaks down one variable by others so that all sorts of relationships can be uncovered very quickly  The diagram in the file Data Analysis Taxonomy.xlsx gives you the big picture of which analyses are appropriate for which data types and which tools are best for performing the various analyses © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Relationships Among Categorical Variables  The most meaningful way to examine relationships between two categorical variables is with counts and corresponding charts of the counts  You can find counts of the categories of either variable separately, as well as counts of the joint categories of the two variables  Corresponding percentages of totals and charts help tell the story  It is customary to display all such counts in a table called a crosstabs (for crosstabulations) This is also sometimes called a contingency table © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.1: Smoking Drinking.xlsx (slide of 2)  Objective: To use a crosstabs to explore the relationship between smoking and drinking  Solution: Data set lists the smoking and drinking habits of 8761 adults  Categories have been coded “N,” “O,” “H,” “S,” and “D” for “Non,” “Occasional,” “Heavy,” “Smoker,” and “Drinker.” © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.1: Smoking Drinking.xlsx (slide of 2)  To create the crosstabs, enter the category headings in Excel and use the COUNTIFS function to fill the table with counts of joint categories  Next, sum across rows and down columns to get totals  Then express the counts as percentages of row and percentages of column © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Relationships Among Categorical Variables and a Numerical Variable  The comparison problem is one of the most important problems in data analysis It occurs whenever you want to compare a numerical measure across two or more subpopulations  Examples:  The subpopulations are males and females, and the numerical measure is salary  The subpopulations are different regions of the country, and the numerical measure is the cost of living  The subpopulations are different days of the week, and the numerical measure is the number of customers going to a particular fast-food chain © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Stacked and Unstacked Formats  There are two possible data formats, stacked and unstacked  The data are stacked if there are two “long” variables, such as Gender and Salary The idea is that the male salaries are stacked in with the female salaries  This is the format you will see in the vast majority of situations  You will occasionally see data in unstacked format, when there are two “short” variables, such as Male Salary and Female Salary  StatTools is capable of dealing with either format and can convert from stacked to unstacked or vice versa © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Stacked and Unstacked Data Stacked Data Unstacked Data © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.2: Baseball Salaries 2011 Extra.xlsx  (slide of 2) Objective: To learn methods in StatTools for breaking down baseball salaries by various categorical variables  Solution: Data set contains the same 2011 baseball data examined previously, as well as several extra categorical variables  Create summary measures by selecting One-Variable Summary from the Summary Statistics dropdown list  Next, click the Format button and choose Stacked Then choose the Cat variable you want to categorize by and the Val variable you want to summarize © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.2: Baseball Salaries 2011 Extra.xlsx  (slide of 2) Create side-by-side boxplots, by selecting Box-Whisker Plot from the Summary Graphs dropdown list and filling in the resulting dialog box  Select the Stacked format so that you can choose a Cat variable and a Val variable © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.4: Elecmart Sales.xlsx (slide of 2)  Objective: To use pivot tables to break down the customer order data by a number of categorical variables  Solution: Data set contains data on 400 customer orders during several months for Elecmart company  Create a pivot table by clicking the PivotTable button on the Insert ribbon © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.4: Elecmart Sales.xlsx (slide of 2) © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Hiding Categories (Filtering)  You can filter out any items in a pivot table that you don’t want to see  Click the Row Labels dropdown arrow of the active field and check the items you want to filter on  A pivot table with hidden categories is shown below © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Sorting on Values or Categories  It is easy to sort in a pivot table, either by the numbers in the Values area or by the labels in a Rows or Columns field  To sort by the numbers in the Values area, right-click any number and select Sort  To sort on the labels of a Rows or Columns field, right-click any of the categories and select Sort  You can also click the dropdown arrow for the field and get the dialog box that allows both sorting and filtering © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Changing Locations of Fields (Pivoting)  You can choose where to place variables in a pivot table  For example, to place the Region variable in the Columns area, drag the Region button from the Rows area of the PivotTable Fields pane to the Columns area © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Changing Field Settings  You can change various settings in the Field Settings dialog box  To get to this dialog box:  Click the Field Setting button on the Analyze/Options ribbon  OR right-click any of the pivot table cells and select the Field Settings item  The pivot table with Value Field Settings changed to Average is shown below © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Pivot Charts  It is easy to accompany pivot tables with pivot charts  These charts adapt automatically to the underlying pivot table  To create a pivot chart, click anywhere inside the pivot table, select the PivotChart button on the Analyze/Options ribbon, and select a chart type © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Multiple Variables in the Values Area  More than a single variable can be placed in the Values area  Also, a given variable in the Values area can be summarized by more than one summarizing function © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Summarizing by Count  The variable in the Values area can be summarized by the Count function  This is useful when you want to know, for example, how many of the orders were placed by females in the South  Right-click any number in the pivot table, select Value Field Settings, and select the Count function © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Grouping  Categories in a Rows or Columns variable can be grouped  Suppose you want to summarize Sum of Total Cost by Date  Starting with a blank pivot table, check both Date and Total Cost in the PivotTable Fields pane  Then right-click any date and select Group © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Other Pivot Table Features  Showing/hiding subtotals and grand totals (check the Layout options on the Design ribbon)  Dealing with blank rows, that is, categories with no data (right-click any number, choose PivotTable Options, and check the options on the Layout & Format tab)  Displaying the data behind a given number in a pivot table (doubleclick any number in the Values area to get a new worksheet)  Formatting a pivot table with various styles (check the style options on the Design ribbon)  Moving or renaming pivot tables (check the PivotTable and Action groups on the Analyze/Options ribbon)  Refreshing pivot tables as the underlying data changes (check the Refresh dropdown list on the Analyze/Options ribbon)  Creating pivot table formulas for calculated fields or calculated items (check the Formulas dropdown list on the Analyze/Options ribbon) © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.5: Lasagna Triers.xlsx (slide of 2)  Objective: To use pivot tables to explore which demographic variables help to distinguish lasagna triers from nontriers  Solution: Data set contains data on over 800 potential customers being tracked by a frozen lasagna company  Set up a pivot table that shows counts of triers and nontriers for different categories of the variables © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Example 3.5: Lasagna Triers.xlsx (slide of 2) Pivot Table and Pivot Chart for Examining the Effect of Gender © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Slicers and Timelines  In Excel 2010, Microsoft added slicers—lists of the distinct values of any variable, which you can then filter on  You add a slicer from the Analyze/Options ribbon under PivotTable Tools  In Excel 2013, a Timeline feature was added A Timeline is like a slicer, but it is specifically for filtering on a date variable © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part Pivot Table with Slicers and a Timeline © 2015 Cengage Learning All Rights Reserved May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part ... Objective: To learn methods in StatTools for breaking down baseball salaries by various categorical variables  Solution: Data set contains the same 2011 baseball data examined previously, as well as... in whole or in part Example 3.2: Baseball Salaries 2011 Extra.xlsx  (slide of 2) Create side -by- side boxplots, by selecting Box-Whisker Plot from the Summary Graphs dropdown list and filling...  You will occasionally see data in unstacked format, when there are two “short” variables, such as Male Salary and Female Salary  StatTools is capable of dealing with either format and can

Ngày đăng: 10/08/2017, 10:35

Từ khóa liên quan

Mục lục

  • Slide 1

  • Introduction

  • Relationships Among Categorical Variables

  • Example 3.1: Smoking Drinking.xlsx (slide 1 of 2)

  • Example 3.1: Smoking Drinking.xlsx (slide 2 of 2)

  • Slide 6

  • Stacked and Unstacked Formats

  • Stacked and Unstacked Data

  • Example 3.2: Baseball Salaries 2011 Extra.xlsx (slide 1 of 2)

  • Example 3.2: Baseball Salaries 2011 Extra.xlsx (slide 2 of 2)

  • Relationships Among Numerical Variables

  • Scatterplots

  • Example 3.3: GolfStats.xlsx (slide 1 of 2)

  • Example 3.3: GolfStats.xlsx (slide 2 of 2)

  • Trend Lines in Scatterplots

  • Scatterplot with Trend Line and Equation Superimposed

  • Correlation and Covariance (slide 1 of 4)

  • Correlation and Covariance (slide 2 of 4)

  • Correlation and Covariance (slide 3 of 4)

  • Correlation and Covariance (slide 4 of 4)

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan