Download presentation

Presentation is loading. Please wait.

Published byAmira Mullennix Modified over 2 years ago

1
1 Business 90: Business Statistics Professor David Mease Sec 03, T R 7:30-8:45AM BBC 204 Lecture 8 = Finish Chapter Presenting Data in Tables and Charts (PDITAC) Agenda: 1) Go over quiz on Homework 2 2) Reminder about Homework 3 (due Tuesday) 3) Lecture over rest of Chapter PDITAC

2
2 Homework 3 - Due Tuesday 2/23 1) The dataset at gives the letter grades for a quiz I gave once.http://www.cob.sjsu.edu/mease_d/sec4lettergrades.xls a) Make a summary table for the letter grades using the PivotTable in Excel. In your summary table list the grades in the order A+, A, A-, B+, etc. Double check a few of your answers by hand. b) Make the bar chart using Excel with the grades in the same order as in part A. c) Make the pie chart using Excel. d) Make the pareto diagram using Excel. 2) The dataset contains flight status information for America West flights departing from four major West Coast airports. Make a contingency table for this data using the PivotTable feature in Excel.http://www.cob.sjsu.edu/mease_d/America_West_Flights.xls 3) Do textbook problem number 48 in Chapter Presenting Data in Tables and Charts. 4) The dataset at contains data from 20 San Jose State University graduating seniors who were asked to report their high school GPA (first column) and their current college GPA (second column).http://www.cob.sjsu.edu/mease_d/gpa-data.xls a) Make a scatter plot of this data with High School GPA on the X-axis and College GPA on the Y-axis using Excel. b) Give the equation of the least squares regression line using Excel. c) What is the slope of the least squares regression line? d) Interpret the slope of the least squares regression line. e) What is the coefficient of correlation? f) What is the value of R-squared? g) Use the least squares regression line to predict the college GPA of a student who had a high school GPA of 2.7. Important: Again, be sure to print out your solutions and bring them with you to class for the quiz.

3
3 Presenting Data in Tables and Charts Statistics for Managers Using Microsoft ® Excel 4 th Edition

4
4 Chapter Goals After completing this chapter, you should be able to: Create an ordered array Construct and interpret a frequency distribution, histogram, and polygon for numerical data Construct and interpret a cumulative percentage distribution and ogive for numerical data Create and interpret contingency tables, bar charts, and pie charts for categorical data Create and interpret a scatter diagram and a least squares regression line (in other chapter p ) Describe appropriate and inappropriate ways to display data graphically

5
5 Graphs and Tables for Two Variables (Bivariate Data) Two Numerical Variables: Scatter Diagram Two Categorical Variables: Contingency Table (also called cross-classification table or two-way table) Side-by-Side Bar Chart

6
6 Contingency Tables Using Excel Just like with summary tables, to make a contingency table in Excel, it is often useful to use a Pivot Table to count the frequencies of the different categories, especially for large datasets. This is done by selecting Data and then PivotTable and PivotChart Report. Next go to Layout and drag the name of one variable into the row and the other into the column. Pick either one and also drag it into the data area. (Be sure you name the two columns where you have the data first.)

7
7 Contingency Tables Using Excel

8
8

9
9

10
10 Contingency Tables Using Excel

11
11 Contingency Tables Using Excel

12
12 Contingency Tables Using Excel

13
13 Contingency Tables Using Excel

14
14 In class exercise #25: The file lists the genders and majors for Bus 90 students from a previous term. Make a contingency table using the Pivot Table feature in Excel. Put Gender along the side and major along the top.

15
15 In class exercise #25: The file lists the genders and majors for Bus 90 students from a previous term. Make a contingency table using the Pivot Table feature in Excel. Put Gender along the side and major along the top. ANSWER:

16
16 Graphs and Tables for Two Variables (Bivariate Data) Two Numerical Variables: Scatter Diagram Two Categorical Variables: Contingency Table (also called cross-classification table or two-way table) Side-by-Side Bar Chart

17
17 In class exercise #26: Make a side-by-side bar chart for the data from ICE #25 by hand. Put the major along the x-axis and use different colored bars for the two genders.

18
18 In class exercise #26: Make a side-by-side bar chart for the data from ICE #25 by hand. Put the major along the x-axis and use different colored bars for the two genders. ANSWER:

19
19 Graphs and Tables for Two Variables (Bivariate Data) Two Numerical Variables: Scatter Diagram Two Categorical Variables: Contingency Table (also called cross-classification table or two-way table) Side-by-Side Bar Chart

20
20 Scatter Diagrams are used for bivariate numerical data Bivariate data consists of paired observations taken from two numerical variables The Scatter Diagram: one variable is measured on the vertical axis and the other variable is measured on the horizontal axis Scatter Diagrams

21
21 Scatter Diagram Example Volume per day Cost per day

22
22 Scatter Diagrams in Excel Select Insert > Chart 1 2 Select XY(Scatter) option, then click Next The data range is the y values and the x values go under the Series tab Important: Dont include column names 3

23
23 In class exercise #27: The file gives the total number of wins for each of the 117 Division 1A college football teams for the 2003 and 2004 seasons. Use Excel to make a scatter diagram for this data. Put 2003 wins on the x-axis.

24
24 In class exercise #27: The file gives the total number of wins for each of the 117 Division 1A college football teams for the 2003 and 2004 seasons. Use Excel to make a scatter diagram for this data. Put 2003 wins on the x-axis. ANSWER:

25
25 Described on pages (in a different chapter) It is the line that fits the data the best as determined by minimizing squared vertical differences The coefficient of correlation (r) measures the strength and direction of the linear relationship (positive=up, negative=down) R-squared also measures the strength of the linear relationship, but not the direction The Least Squares Regression Line

26
26 Scatter Plots of Data with Various Correlation Coefficients Y X Y X Y X Y X r = -1 r = -.6 r = +.3 r = +1

27
27 Adding the Least Squares Regression Line Using Excel Click once on the graph 1

28
28 Adding the Least Squares Regression Line Using Excel From the Chart menu select Add Trendline 2

29
29 Adding the Least Squares Regression Line Using Excel Choose the first choice (Linear) and press OK 3

30
30 Adding the Least Squares Regression Line Using Excel The line should now appear on your scatter diagram. Double click on the line then under the Options tab check the last two boxes. 4

31
31 In class exercise #28: A) Graph the least squares regression line for the football data on the scatter diagram using Excel. B) Give the equation of the least squares regression line using Excel. C) What is the slope of the least squares regression line? D) Interpret the slope of the least squares regression line. E) What is the coefficient of correlation? F) What is the value of R-squared? G) Use the least squares regression line to predict the number of 2004 wins for a team that won 12 games in 2003.

32
32 In class exercise #28: A) Graph the least squares regression line for the football data on the scatter diagram using Excel. ANSWER for Part A:

33
33 Principles of Graphical Excellence Present data in a way that provides substance, statistics and design Communicate complex ideas with clarity, precision and efficiency Give the largest number of ideas in the most efficient manner Excellence almost always involves several dimensions Tell the truth about the data

34
34 Using chart junk Failing to provide a relative basis in comparing data between groups Compressing or distorting the vertical axis Providing no zero point on the vertical axis Errors in Presenting Data

35
35 Compressing Vertical Axis Good Presentation Quarterly Sales Bad Presentation Q1Q2Q3 Q4 $ Q1Q2 Q3 Q4 $

36
36 No Zero Point On Vertical Axis Monthly Sales J F MAMJ $ JFM A MJ $ Good Presentations Monthly Sales Bad Presentation JFMAMJ $ Graphing the first six months of sales or

37
37 No Relative Basis Good Presentation As received by students. Bad Presentation FRSOJRSR Freq. 10% 30% FRSOJRSR FR = Freshmen, SO = Sophomore, JR = Junior, SR = Senior % 0% %

38
38 Chart Junk Good Presentation 1960: $ : $ : $ : $3.80 Minimum Wage $ Bad Presentation

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google