Slides by John Loucks St . Edward’s University

61
1 Slide Cengage Learning. All Rights Reserved. May not be scanned, copied duplicated, or posted to a publicly accessible website, in whole or in part. Slides by John Loucks St. Edward’s University

description

Slides by John Loucks St . Edward’s University. Chapter 2, Part A Descriptive Statistics: Tabular and Graphical Presentations. Summarizing Categorical Data. Summarizing Quantitative Data. Categorical data use labels or names to identify categories of like items. - PowerPoint PPT Presentation

Transcript of Slides by John Loucks St . Edward’s University

Page 1: Slides by John Loucks St . Edward’s University

1 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Slides by

JohnLoucks

St. Edward’sUniversity

Page 2: Slides by John Loucks St . Edward’s University

2 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Chapter 2, Part ADescriptive Statistics:

Tabular and Graphical Presentations Summarizing Categorical Data Summarizing Quantitative Data

Categorical data use labels or names to identify categories of like items.

Quantitative data are numerical values that indicate how much or how many.

Page 3: Slides by John Loucks St . Edward’s University

3 Slide© 2012 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 Categorical Data

Frequency Distribution Relative Frequency Distribution Percent Frequency Distribution Bar Chart Pie Chart

Page 4: Slides by John Loucks St . Edward’s University

4 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

A frequency distribution is a tabular summary of data showing the frequency (or number) of items in each of several non-overlapping classes.

The objective is to provide insights about the data that cannot be quickly obtained by looking only at the original data.

Frequency Distribution

Page 5: Slides by John Loucks St . Edward’s University

5 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Guests staying at Marada Inn were asked to rate the

quality of their accommodations as being excellent,

above average, average, below average, or poor. The

ratings provided by a sample of 20 guests are: Below Average Above Average Above Average Average Above Average Average Above Average

Average Above Average Below Average Poor Excellent Above Average Average

Above Average Above Average Below Average Poor Above Average Average

Frequency Distribution

Example: Marada Inn

Page 6: Slides by John Loucks St . Edward’s University

6 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

PoorBelow AverageAverageAbove AverageExcellent

2 3 5 9 1

Total 20

Rating Frequency

Example: Marada Inn

Page 7: Slides by John Loucks St . Edward’s University

7 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s COUNTIF Functionto Construct a Frequency Distribution

Excel Formula Worksheet

Note: Rows 9-21 are not shown.

A B C D1 Quality Rating Quality Rating Frequency2 Above Average Poor =COUNTIF($A$2:$A$21,C2)3 Below Average Below Average =COUNTIF($A$2:$A$21,C3)4 Above Average Average =COUNTIF($A$2:$A$21,C4)5 Average Above Average =COUNTIF($A$2:$A$21,C5)6 Average Excellent =COUNTIF($A$2:$A$21,C6)7 Above Average Total =SUM(D2:D6)8 Above Average

Page 8: Slides by John Loucks St . Edward’s University

8 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel Value Worksheet

Using Excel’s COUNTIF Functionto Construct a Frequency Distribution

Note: Rows 9-21 are not shown.

A B C D1 Quality Rating Quality Rating Frequency2 Above Average Poor 23 Below Average Below Average 34 Above Average Average 55 Average Above Average 96 Average Excellent 17 Above Average Total 208 Above Average

Page 9: Slides by John Loucks St . Edward’s University

9 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

The relative frequency of a class is the fraction or proportion of the total number of data items belonging to the class.

A relative frequency distribution is a tabular summary of a set of data showing the relative frequency for each class.

Relative Frequency Distribution

Page 10: Slides by John Loucks St . Edward’s University

10 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Percent Frequency Distribution

The percent frequency of a class is the relative frequency multiplied by 100.

A percent frequency distribution is a tabular summary of a set of data showing the percent frequency for each class.

Page 11: Slides by John Loucks St . Edward’s University

11 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Relative Frequency andPercent Frequency Distributions

PoorBelow AverageAverageAbove AverageExcellent

.10 .15 .25 .45 .05

Total 1.00

10 15 25 45 5 100

RelativeFrequency

PercentFrequencyRating

.10(100) = 10

1/20 = .05

Example: Marada Inn

Page 12: Slides by John Loucks St . Edward’s University

12 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel Formula Worksheet

Note: Columns A-B and rows 9-21 and are not shown.

Using Excel to Construct Relative Frequency and Percent Frequency

Distributions C D E F

1 Quality Rating FrequencyRelative

FrequencyPercent

Frequency2 Poor =COUNTIF($A$2:$A$21,C2) =D2/$D$7 =E2*1003 Below Average =COUNTIF($A$2:$A$21,C3) =D3/$D$7 =E3*1004 Average =COUNTIF($A$2:$A$21,C4) =D4/$D$7 =E4*1005 Above Average =COUNTIF($A$2:$A$21,C5) =D5/$D$7 =E5*1006 Excellent =COUNTIF($A$2:$A$21,C6) =D6/$D$7 =E6*1007 Total =SUM(D2:D6) =SUM(E2:E6) =SUM(F2:F6)8

Page 13: Slides by John Loucks St . Edward’s University

13 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel Value Worksheet

Using Excel to Construct Relative Frequency and Percent Frequency

Distributions

Note: Columns A-B and rows 9-21 and are not shown.

C D E F

1 Quality Rating FrequencyRelative

FrequencyPercent

Frequency2 Poor 2 0.10 103 Below Average 3 0.15 154 Average 5 0.25 255 Above Average 9 0.45 456 Excellent 1 0.05 57 Total 20 1.00 1008

Page 14: Slides by John Loucks St . Edward’s University

14 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Bar Chart

A bar chart is a graphical device for depicting qualitative data. On one axis (usually the horizontal axis), we specify the labels that are used for each of the classes. A frequency, relative frequency, or percent frequency scale can be used for the other axis (usually the vertical axis). Using a bar of fixed width drawn above each class label, we extend the height appropriately.

The bars are separated to emphasize the fact that each class is a separate category.

Page 15: Slides by John Loucks St . Edward’s University

15 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Poor BelowAverage

Average AboveAverage

Excellent

Freq

uenc

y

Rating

Bar Chart

123456789

10 Marada Inn Quality Ratings

Page 16: Slides by John Loucks St . Edward’s University

16 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Bar Chart

Step 1. Select cells C1:D6Step 2. Click the Insert tab on the Ribbon

Step 4. When the list of column chart subtypes appears: Go to the 2-D Column section

Click Clustered Column (the leftmost chart)Step 5. In the Chart Layouts group, click the More button (the downward pointing arrow with a line over it) to display all the options

… continued

Step 3. In the Charts group, click Column

Page 17: Slides by John Loucks St . Edward’s University

17 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Step 6. Choose Layout 9

Using Excel’s Chart Toolsto Construct a Bar Chart

… continued

Step 7. Click the Chart Title and replace it with Marada Inn Quality RatingsStep 8. Click the Horizontal Axis (Category)

Title and replace it with Quality RatingStep 9. Click the Vertical Axis (Value) Title

and replace it with FrequencyStep 10. Right click the Series 1 Legend Entry

and choose Delete from the list of options that

appear

Page 18: Slides by John Loucks St . Edward’s University

18 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Step 11. Right click the vertical axis and choose Format Axis from the options that

appear

Using Excel’s Chart Toolsto Construct a Bar Chart

Step 12. When the Format Axis dialog box appears:

Go to the Axis Options section Select Fixed for Major Unit and

enter 2.0 in the corresponding box Click Close

Page 19: Slides by John Loucks St . Edward’s University

19 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Bar Chart

C D E9101112131415161718192021

Marada Inn Quality Ratings

0

2

4

6

8

10

Poor BelowAverage

Average AboveAverage

Excellent

Quality Rating

Freq

uenc

y

Page 20: Slides by John Loucks St . Edward’s University

20 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Pareto Diagram

In quality control, bar charts are used to identify the most important causes of problems. When the bars are arranged in descending order of height from left to right (with the most frequently occurring cause appearing first) the bar chart is called a Pareto diagram. This diagram is named for its founder, Vilfredo Pareto, an Italian economist.

Page 21: Slides by John Loucks St . Edward’s University

21 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Pie Chart

The pie chart is a commonly used graphical device for presenting relative frequency and percent frequency distributions for categorical data. First draw a circle; then use the relative frequencies to subdivide the circle into sectors that correspond to the relative frequency for each class. Since there are 360 degrees in a circle, a class with a relative frequency of .25 would consume .25(360) = 90 degrees of the circle.

Page 22: Slides by John Loucks St . Edward’s University

22 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

BelowAverage 15%

Average 25%

AboveAverage 45%

Poor10%

Excellent 5%

Marada Inn Quality Ratings

Pie Chart

Page 23: Slides by John Loucks St . Edward’s University

23 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Insights Gained from the Preceding Pie Chart

Example: Marada Inn

• One-half of the customers surveyed gave Marada a quality rating of “above average” or “excellent” (looking at the left side of the pie). This might please the manager.• For each customer who gave an “excellent” rating, there were two customers who gave a “poor” rating (looking at the top of the pie). This should displease the manager.

Page 24: Slides by John Loucks St . Edward’s University

24 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel’s chart tools can be used to develop a pie chart forthe Marada quality rating data in much the same way wedeveloped the bar chart.

Using Excel’s Chart Toolsto Construct a Pie Chart

The major difference is that in step 3 we would choosePie in the Charts group.

Page 25: Slides by John Loucks St . Edward’s University

25 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Pie Chart

C D E91011121314151617181920

Marada Inn Quality Ratings

Excellent5%

Average25%

Poor10%

Above Average

45%

Below Average

15%

Page 26: Slides by John Loucks St . Edward’s University

26 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel’s PivotTable Reportand PivotChart Report

You have now seen how Excel’s COUNTIF function canbe used to develop a frequency distribution and Excel’sChart Tools can be used to create bar and pie charts.But there is a more powerful set of Excel tools that canbe used for categorical data:• PivotTable report • PivotChart report

Page 27: Slides by John Loucks St . Edward’s University

27 Slide© 2012 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 Quantitative Data

Frequency Distribution Relative Frequency and Percent Frequency

Distributions Dot Plot Histogram Cumulative Distributions Ogive

Page 28: Slides by John Loucks St . Edward’s University

28 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

The manager of Hudson Auto would like to gain a

better understanding of the cost of parts used in the

engine tune-ups performed in the shop. She examines

50 customer invoices for tune-ups. The costs of parts,

rounded to the nearest dollar, are listed on the next

slide.

Example: Hudson Auto Repair

Frequency Distribution

Page 29: Slides by John Loucks St . Edward’s University

29 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Sample of Parts Cost($) for 50 Tune-ups91 78 93 57 75 52 99 80 97 62

71 69 72 89 66 75 79 75 72 76104 74 62 68 97 105 77 65 80 10985 97 88 68 83 68 71 69 67 7462 82 98 101 79 105 79 69 62 73

Frequency Distribution

Example: Hudson Auto Repair

Page 30: Slides by John Loucks St . Edward’s University

30 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

2. Determine the width of each class.3. Determine the class limits.

1. Determine the number of non-overlapping classes.

The three steps necessary to define the classes for afrequency distribution with quantitative data are:

Page 31: Slides by John Loucks St . Edward’s University

31 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

Guidelines for Determining the Number of Classes• Use between 5 and 20 classes.• Data sets with a larger number of elements usually require a larger number of classes.• Smaller data sets usually require fewer classes.

The goal is to use enough classes to show thevariation in the data, but not so many classes

that some contain only a few data items.

Page 32: Slides by John Loucks St . Edward’s University

32 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

Guidelines for Determining the Width of Each Class

Largest Data Value Smallest Data ValueNumber of Classes

• Use classes of equal width.• Approximate Class Width =

Making the classes the samewidth reduces the chance of

inappropriate interpretations.

Page 33: Slides by John Loucks St . Edward’s University

33 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Note on Number of Classes and Class Width• In practice, the number of classes and the appropriate class width are determined by trial and error.• Once a possible number of classes is chosen, the appropriate class width is found.• The process can be repeated for a different number of classes.

Frequency Distribution

• Ultimately, the analyst uses judgment to determine the combination of the number of classes and class width that provides the best frequency distribution for summarizing the data.

Page 34: Slides by John Loucks St . Edward’s University

34 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

Guidelines for Determining the Class Limits• Class limits must be chosen so that each data item belongs to one and only one class.• The lower class limit identifies the smallest possible data value assigned to the class.• The upper class limit identifies the largest possible data value assigned to the class.• The appropriate values for the class limits depend on the level of accuracy of the data.

An open-end class requires only alower class limit or an upper class limit.

Page 35: Slides by John Loucks St . Edward’s University

35 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Frequency Distribution

If we choose six classes:

50-59

60-69 70-79 80-89 90-99

100-109

2 13 16 7 7 5Total 50

Parts Cost ($) FrequencyApproximate Class Width = (109 - 52)/6 = 9.5 10

Example: Hudson Auto Repair

Page 36: Slides by John Loucks St . Edward’s University

36 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

Step 1 Click the Insert tab on the RibbonStep 2 In the Tables group, click the icon above the word PivotTableStep 3 When the Create PivotTable dialog box appears: Choose Select a table or range Enter A1:A51 in the Table/Range box Choose Existing Worksheet as the location for the PivotTable Enter C1 in the Location box Click OK

… continued

Page 37: Slides by John Loucks St . Edward’s University

37 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

Page 38: Slides by John Loucks St . Edward’s University

38 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Step 5 Click on Count of Parts Cost in the Values areaStep 6 Click Value Field Settings from the list of options that appearStep 7 When the Value Field Settings dialog box appears: Under Summarize value field by, choose Count Click OK

Step 4 In the PivotTable Field List, go to Choose Fields to add to report: Drag the Parts Cost field to the Row Labels area Drag the Parts Cost field to the Values area

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

Page 39: Slides by John Loucks St . Edward’s University

39 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

Page 40: Slides by John Loucks St . Edward’s University

40 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Step 2 Choose Group from the list of options that appearsStep 3 When the Grouping dialog box appears: Enter 50 in the Starting at box Enter 109 in the Ending at box Enter 10 in the By box Click OK

Step 1 Right click any cell in the PivotTable report containing a parts cost.

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

To construct the frequency distribution, we must groupthe rows containing parts costs.

Page 41: Slides by John Loucks St . Edward’s University

41 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Excel PivotTable

Note: Rows 10-51 are not shown.

Using Excel’s PivotTable Reportto Construct a Frequency Distribution

A B C D1 Parts Cost Row Labels Count of Parts Cost2 91 50-59 23 71 60-69 134 104 70-79 165 85 80-89 76 62 90-997 78 100-1098 699 74

Grand Total

75

50

Page 42: Slides by John Loucks St . Edward’s University

42 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Relative Frequency andPercent Frequency Distributions

50-59

60-69 70-79 80-89 90-99

100-109

PartsCost ($)

.04 .26 .32 .14 .14 .10

Total 1.00

RelativeFrequency

4 26 32 14 14 10

100

Percent Frequency

2/50 .04(100)

Example: Hudson Auto Repair

Percentfrequency isthe relativefrequencymultiplied by 100.

Page 43: Slides by John Loucks St . Edward’s University

43 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

• Only 4% of the parts costs are in the $50-59 class.

• The greatest percentage (32% or almost one-third) of the parts costs are in the $70-79 class.

• 30% of the parts costs are under $70.

• 10% of the parts costs are $100 or more.

Insights Gained from the % Frequency Distribution:

Relative Frequency andPercent Frequency Distributions

Example: Hudson Auto Repair

Page 44: Slides by John Loucks St . Edward’s University

44 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Dot Plot

One of the simplest graphical summaries of data is a dot plot.

A horizontal axis shows the range of data values. Then each data value is represented by a dot placed above the axis.

Page 45: Slides by John Loucks St . Edward’s University

45 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Dot Plot

50 60 70 80 90 100 110Cost ($)

Tune-up Parts Cost

Example: Hudson Auto Repair

Page 46: Slides by John Loucks St . Edward’s University

46 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Histogram

Another common graphical presentation of quantitative data is a histogram. The variable of interest is placed on the horizontal axis. A rectangle is drawn above each class interval with its height corresponding to the interval’s frequency, relative frequency, or percent frequency. Unlike a bar graph, a histogram has no natural separation between rectangles of adjacent classes.

Page 47: Slides by John Loucks St . Edward’s University

47 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Histogram

2468

1012141618

PartsCost ($)

Freq

uenc

y

5059 6069 7079 8089 9099 100-110

Tune-up Parts Cost Example: Hudson Auto Repair

Page 48: Slides by John Loucks St . Edward’s University

48 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Histogram

Step 1. Select cells C2:D7Step 2. Click the Insert tab on the Ribbon

Step 4. When the list of column chart subtypes appears: Go to the 2-D Column section

Click Clustered Column (the leftmost chart)

… continued

Step 3. In the Charts group, click Column

Step 5. In the Chart Layouts group, click the More button (the downward pointing arrow with a line over it) to display all the options

Page 49: Slides by John Loucks St . Edward’s University

49 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Histogram

Step 6. Choose Layout 8Step 7. Select the Chart Title and replace it with Tune-up Parts Cost

Step 9. Select the Vertical (Value) Axis Title and replace it with Frequency

Step 8. Select the Horizontal (Category) Axis Title and replace it with Parts Cost ($)

Page 50: Slides by John Loucks St . Edward’s University

50 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Using Excel’s Chart Toolsto Construct a Histogram

C D E101112131415161718192021222324

Tune-up Parts Cost

0

5

10

15

20

50-59 60-69 70-79 80-89 90-99 100-109

Parts Cost ($)

Freq

uenc

y

Page 51: Slides by John Loucks St . Edward’s University

51 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Symmetric

Histograms Showing Skewness

Rela

tive

Freq

uenc

y

.05

.10

.15

.20

.25

.30

.35

0

• Left tail is the mirror image of the right tail• Examples: heights and weights of people

Page 52: Slides by John Loucks St . Edward’s University

52 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Histograms Showing Skewness

Moderately Skewed Left

Rela

tive

Freq

uenc

y

.05

.10

.15

.20

.25

.30

.35

0

• A longer tail to the left• Example: exam scores

Page 53: Slides by John Loucks St . Edward’s University

53 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Moderately Right Skewed

Histograms Showing Skewness

Rela

tive

Freq

uenc

y

.05

.10

.15

.20

.25

.30

.35

0

• A Longer tail to the right• Example: housing values

Page 54: Slides by John Loucks St . Edward’s University

54 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Histograms Showing Skewness

Highly Skewed RightRe

lativ

e Fr

eque

ncy

.05

.10

.15

.20

.25

.30

.35

0

• A very long tail to the right• Example: executive salaries

Page 55: Slides by John Loucks St . Edward’s University

55 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Cumulative frequency distribution shows the number of items with values less than or equal to the upper limit of each class..

Cumulative relative frequency distribution – shows the proportion of items with values less than or equal to the upper limit of each class.

Cumulative Distributions

Cumulative percent frequency distribution – shows the percentage of items with values less than or equal to the upper limit of each class.

Page 56: Slides by John Loucks St . Edward’s University

56 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Cumulative Distributions

The last entry in a cumulative frequency distribution always equals the total number of observations. The last entry in a cumulative relative frequency distribution always equals 1.00. The last entry in a cumulative percent frequency distribution always equals 100.

Page 57: Slides by John Loucks St . Edward’s University

57 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Cumulative Distributions

Hudson Auto Repair

< 59

< 69 < 79 < 89 < 99

< 109

Cost ($) CumulativeFrequency

CumulativeRelative

Frequency

CumulativePercent

Frequency 2 15 31 38 45

50

.04 .30 .62 .76 .90

1.00

4 30 62 76 90

100

2 + 13 15/50 .30(100

)

Page 58: Slides by John Loucks St . Edward’s University

58 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

Ogive

An ogive is a graph of a cumulative distribution. The data values are shown on the horizontal axis. Shown on the vertical axis are the:• cumulative frequencies, or• cumulative relative frequencies, or• cumulative percent frequencies

The frequency (one of the above) of each class is plotted as a point.

The plotted points are connected by straight lines.

Page 59: Slides by John Loucks St . Edward’s University

59 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

• Because the class limits for the parts-cost data are 50-59, 60-69, and so on, there appear to be one-unit gaps from 59 to 60, 69 to 70, and so on.

Ogive

• These gaps are eliminated by plotting points halfway between the class limits.

• Thus, 59.5 is used for the 50-59 class, 69.5 is used for the 60-69 class, and so on.

Hudson Auto Repair

Page 60: Slides by John Loucks St . Edward’s University

60 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

PartsCost ($)

20

40

60

80

100

Cum

ulat

ive

Perc

ent F

requ

ency

50 60 70 80 90 100 110

(89.5, 76)

Ogive with Cumulative Percent Frequencies

Tune-up Parts Cost

Example: Hudson Auto Repair

Page 61: Slides by John Loucks St . Edward’s University

61 Slide© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied

or duplicated, or posted to a publicly accessible website, in whole or in part.

End of Chapter 2, Part A