Download presentation

Presentation is loading. Please wait.

Published byCaiden Havens Modified over 2 years ago

1
Chapter 3 Graphic Methods for Describing Data

2
2 Basic Terms A frequency distribution for categorical data is a table that displays the possible categories along with the associated frequencies or relative frequencies. The frequency for a particular category is the number of times the category appears in the data set.

3
3 Basic Terms The relative frequency for a particular category is the fraction or proportion of the time that the category appears in the data set. It is calculated as When the table includes relative frequencies, it is sometimes referred to as a relative frequency distribution.

4
4 Classroom Data This slide along with the next contains a data set obtained from a large section of students taking Data Analysis in the Winter of 1993 and will be utilized throughout this slide show in the examples.

5
5 Classroom Data continued

6
6 Frequency Distribution Example The data in the column labeled vision is the answer to the question, “What is your principle means of correcting your vision?” The results are tabulated below

7
7 Bar Chart – Procedure 1. Draw a horizontal line, and write the category names or labels below the line at regularly spaced intervals. 2. Draw a vertical line, and label the scale using either frequency (or relative frequency). 3. Place a rectangular bar above each category label. The height is the frequency (or relative frequency) and all bars have the same width.

8
8 Bar Chart – Example (frequency)

9
9 Bar Chart – (Relative Frequency)

10
10 Another Example

11
11 Comparative Bar Charts - Example Consider the vision correction for each of the two genders. We then have the following contingency table.

12
12 Comparative Bar Charts – Example To compare the vision correction for each gender, we should use relative frequencies because the groups are not the same size. So the following table of relative frequencies is used to draw the comparative bar chart.

13
13 Comparative Bar Charts – Example

14
14 Pie Charts - Procedure Draw a circle to represent the entire data set. For each category, calculate the “slice” size. Slice size = category relative frequency x 360 Draw a slice of appropriate size for each category.

15
15 Pie Chart - Example Using the vision correction data we have:

16
16 Pie Chart – Another Example Using the grade data we have:

17
17 Dotplots - Procedure 1. Draw a horizontal line and mark it with an appropriate measurement scale. 2. Locate each value in the data set along the measurement sfcale, and represent5 it by a dot. If there are towo or more observations with the same value, stack the dots vertically.

18
18 Dotplots - Example Using the weights of the 79 students To compare the weights of the males and females we put the dotplots on top of each other, using the same scales.

19
19 Stem and Leaf A quick technique for picturing the distributional pattern associated with numerical data is to create a picture called a stem-and-leaf diagram (Commonly called a stem plot). 1.We want to break up the data into a reasonable number of groups. 2.Looking at the range of the data, we choose the stems (one or more of the leading digits) to get the desired number of groups. 3.The next digits (or digit) after the stem become(s) the leaf. 4.Typically, we truncate (leave off) the remaining digits.

20
20 Stem and Leaf 10 11 12 13 14 15 16 17 18 19 20 3 154504 90050 000 05700 0 5 0 Choosing the 1 st two digits as the stem and the 3 rd digit as the leaf we have the following 150 140 155 195 139 200 157 130 113 130 121 140 140 150 125 135 124 130 150 125 120 103 170 124 160 For our first example, we use the weights of the 25 female students.

21
21 Stem and Leaf 10 11 12 13 14 15 16 17 18 19 20 3 014455 00059 000 00057 0 5 0 Typically we sort the order the stems in increasing order. We also note on the diagram the units for stems and leaves Stem: Tens and hundreds digits Leaf: Ones digit Probable outliers

22
22 Stem-and-leaf – GPA example The following are the GPAs for the 20 advisees of a faculty member. GPA 3.092.042.273.943.702.693.723.23 3.133.502.263.152.801.753.89 3.38 2.741.652.222.66 If the ones digit is used as the stem, you only get three groups. You can expand this a little by breaking up the stems by using each stem twice letting the 2 nd digits 0-4 go with the first and the 2 nd digits 5-9 with the second. The next slide gives two versions of the stem-and-leaf diagram.

23
23 Stem-and-leaf – GPA example Stem: Ones digit Leaf: Tenths and hundredths digits 1L 1H 2L 2H 3L 3H 65,75 04,22,26,27 66,69,74,80 09,13,15,23,38 50,70,72,89,94 1L 1H 2L 2H 3L 3H 67 0222 6678 01123 57789 Stem: Ones digit Leaf: Tenths digits Note: The characters in a stem-and-leaf diagram must all have the same width, so if typing use courier.

24
24 Comparative Stem and Leaf Diagram Student Weight (Comparing two groups) When it is desirable to compare two groups, back-to-back stem and leaf diagrams are useful. Here is the result from the student weights. From this comparative stem and leaf diagram, it is clear that the males weigh more (as a group not necessarily as individuals) than the females. 3 10 3 11 7 554410 12 145 95000 13 0004558 000 14 000000555 75000 15 0005556 0 16 00005558 0 17 000005555 18 0358 5 19 0 20 0 21 0 22 55 23 79

25
25 Comparative Stem and Leaf Diagram Student Age From this comparative stem and leaf diagram, it is clear that the male ages are all more closely grouped then the females. Also the females had a number of outliers. female male 7 1 9999 1 888889999999999999999 1111000 2 00000001111111111 3322222 2 2222223333 4 2 445 2 6 2 88 0 3 3 7 3 8 3 4 4 4 7 4

26
26 Frequency Distributions & Histograms When working with discrete data, the frequency tables are similar to those produced for qualitative data. For example, a survey of local law firms in a medium sized town gave

27
27 Frequency Distributions & Histograms When working with discrete data, the steps to construct a histogram are 1. Draw a horizontal scale, and mark the possible values. 2. Draw a vertical scale and mark it with either frequencies or relative frequencies (usually start at 0). 3. Above each possible value, draw a rectangle whose height is the frequency (or relative frequency) centered at the data value with a width chosen appropriately. Typically if the data values are integers then the widths will be one.

28
28 Frequency Distributions & Histograms The number of lawyers in the firm will have the following histogram.

29
29 Frequency Distributions & Histograms 50 students were asked the question, “How many textbooks did you purchase last term?” The result is summarized below and the histogram is on the next slide.

30
30 Frequency Distributions & Histograms “How many textbooks did you purchase last term?”

31
31 Frequency Distributions & Histograms Another version with the scale produced differently.

32
32 Frequency Distributions & Histograms When working with continuous data, the steps to construct a histogram are 1. Decide into how many groups or “classes” you want to break up the data. Typically somewhere between 5 and 20. A good rule of thumb is to think having an average of more than 5 per group. 2. Use your answer to help decide the “width” of each group. I.e., You need to determine the width of the intervals that you are determining. 3. Determine the “starting point” for the lowest group.

33
33 Example of Frequency Distribution Consider the student weights in the student data set. The data values fall between 103 (lowest) and 239 (highest). The range of the dataset is 239-103=136. There are 79 data values, so to have an average of at least 5 per group, we need 14 or fewer groups. We need to choose a width that breaks the data into 14 or fewer groups. Any width 10 or large would be reasonable.

34
34 Example of Frequency Distribution Choosing a width of 15 we have the following frequency distribution.

35
35 Histogram for Continuous Data 1. Mark the boundaries of the class intervals on a horizontal axis 2. Use frequency or relative frequency on the vertical scale.

36
36 Histogram for Continuous Data The following histogram is for the frequency table of the weight data.

37
37 Histogram for Continuous Data The following histogram is the Minitab output of the relative frequency histogram. Notice that the relative frequency scale is in percent.

38
38 Histogram for Continuous Data Another version of a frequency table and histogram for the weight data with a class width of 20.

39
39 Histogram for Continuous Data The resulting histogram.

40
40 Histogram for Continuous Data Another version of a frequency table and histogram for the weight data with a class width of 20.

41
41 Histogram for Continuous Data The corresponding histogram.

42
42 Histogram for Continuous Data A class width of 15 or 20 seems to work well because all of the pictures tell the same story. The bulk of the weights appear to be centered around 150 lbs with a few values substantially large. The distribution of the weights is unimodal and is positively skewed.

43
43 Illustrated Distribution Shapes UnimodalBimodalMultimodal Skew negativelySymmetricSkew positively

44
44 Histograms with uneven class widths Consider the following frequency histogram of ages based on A with class widths of 2. Notice it is a bit choppy. Because of the positively skewed data, sometimes frequency distributions are created with unequal class widths.

45
45 Histograms with uneven class widths For many reasons, either for convenience or because that is the way data was obtained, the data may be broken up in groups of uneven width as in the following example referring to the student ages.

46
46 Histograms with uneven class widths If a frequency histogram is draw with the heights of the bars being the frequencies, the result is distorted. Notice that it appears that there are a lot of people over 28 when there is only a few.

47
47 Histograms with uneven class widths To correct the distortion, we create a density histogram. The vertical scale is called the density and the density of a class is calculated by This choice for the density makes the area of the rectangle equal to the relative frequency.

48
48 Histograms with uneven class widths Continuing this example we have

49
49 Histograms with uneven class widths The resulting histogram is now a reasonable representation of the data.

Similar presentations

Presentation is loading. Please wait....

OK

Chapter 2 Presenting Data in Tables and Charts

Chapter 2 Presenting Data in Tables and Charts

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on introduction to software project management Ppt on central limit theorem for dummies Ppt on number system for class 6 Ppt on cartesian product business Ppt on acute coronary syndrome icd-9 Ppt on bolivia water war Presentations ppt online shopping Ppt on fundamental rights and duties Doc convert to ppt online maker Ppt on disaster management project