210 likes | 423 Views
Section 2.2. More Graphs and Displays. Statistics Mrs. Spitz Fall 2008. How to graph quantitative data sets using stem-and-leaf plots and dot plots How to graph qualitative data using pie charts and Pareto charts How to graph paired data sets using scatter plots and time series charts.
E N D
Section 2.2 More Graphs and Displays Statistics Mrs. Spitz Fall 2008
How to graph quantitative data sets using stem-and-leaf plots and dot plots How to graph qualitative data using pie charts and Pareto charts How to graph paired data sets using scatter plots and time series charts. Assignment: pp. 51-54 #1-30 Objectives:
In Section 2.1, you learned several traditional ways to display quantitative data graphically. In this section, you will learn a newer way to display quantitative data called a stem-and-leaf plot. Stem-and-leaf plots are examples of exploratory data analysis (EDA), which was developed by John Tukey in 1977. Graphing Quantitative Data Sets – don’t write this down.
In a stem and leaf plot, each number is separated into a stem (the entry’s leftmost digits) and a leaf (the rightmost digit). A stem-and-leaf plot is similar to a histogram but has the advantage that the graph still contains the original data values. Another advantage is that it provides an easy way to sort data. Graphing Quantitative Data Sets – don’t write this down.
6 | 7 | 8 | 9 | 10 | 11 | 12 | Stem-and-Leaf Plot Lowest value is 67 and highest value is 125, so list stems from 6 to 12. 102 124 108 86 103 82 Stem Leaf To see complete display, go to next slide. 6 2 Divide each data value into a stem and a leaf. The leaf is the rightmost significant digit. The stem consists of the digits to the left. The data shown represent the first line of the ‘minutes on phone’ data used earlier. The complete stem and leaf will be shown on the next slide. 2 8 3 4
6 | 7 7 | 1 8 8 | 2 5 6 7 7 9 | 2 5 7 9 9 10 | 0 1 2 3 3 4 5 5 7 8 9 11 | 2 6 8 12 | 2 4 5 Stem-and-Leaf Plot Key: 6 | 7 means 67 It is very important to use a key to explain the plot. 6|7 could mean 6700 or .067 for a different problem. A stem and leaf should not be used with data when values are very different such as 3, 34,900, 24 etc. The stem-and leaf has the advantage over a histogram of retaining the original values.
6 | 7 7 | 1 7 | 8 8 | 2 8 | 5 6 7 7 9 | 2 9 | 5 7 9 9 10 | 0 1 2 3 3 4 10 | 5 5 7 8 9 11 | 2 11 | 6 8 12 | 2 4 12 | 5 Stem-and-Leaf with two lines per stem Key: 6 | 7 means 67 1st line digits 0 1 2 3 4 2nd line digits 5 6 7 8 9 1st line digits 0 1 2 3 4 2nd line digits 5 6 7 8 9 With two lines per stem the data is more finely “chopped”. Class width is 5 times the leaf unit. All stems except possibly the first and last must have two lines even if one is blank. For this data set, the first line for the stem 6 can be blank because there are no data values from 60 to 64.
You can also use a dot plot to graph quantitative data. In a dot plot, each data entry is plotted, using a point, above a horizontal axis. Like a stem-and-leaf plot, a dot plot allows you to see how data are distributed and determine specific data entries. Dot Plots
Dot Plot Phone 66 76 86 96 106 116 126 minutes Dot plots also allow you to retain original values.
Pie charts provide a convenient way to present qualitative data graphically. A pie chart is a circle graph that shows relationships of parts to a whole. Graphing Qualitative Data Sets
Used to describe parts of a whole Central Angle for each segment Pie Chart NASA budget (billions of $) divided among 3 categories. Pie charts help visualize the relative proportion of each category. Find the relative frequency for each category and multiply it by 360 degrees to find the central angle. Billions of $ Human Space Flight 5.7 Technology 5.9 Mission Support 2.7 Construct a pie chart for the data.
Pie Chart Human Space Flight 40% NASA Budget (Billions of $) Billions of $ Degrees 143 Human Space Flight 5.7 149 Technology 5.9 68 Mission Support 2.7 360 14.3 Total Mission Support 19% Technology 41%
Take the part and divide it by the whole, and you will get a decimal. Multiply by 360 and you will get the number of degrees in that part of the circle. Do this until you have 360 degrees. Draw a circle. Starting from the middle of the circle, draw a line from the center of the circle to the side of the circle. This is your starting point for 0 degrees. Use your protractor to measure the number of degrees required, mark and draw another line from the center to the edge. Start at the edge of the next to begin measuring your next cut in the pie. Continue until you are done. Yes, you have to do a few by hand so you get the idea. Later, we will use Excel to create pie charts. You will need a protractor and a compass.
Another way to graph qualitative data is to use a Pareto chart. A Pareto chart is a vertical bar graph in which the height of each bar represents frequency or relative frequency. The bars are positioned in order of decreasing height with the tallest bar positioned at the left. Such positioning helps highlight important data and is used frequently in business. Pareto Chart
Last year, the retail industry lost $40.9 million in inventory shrinkage. The causes of the inventory shrinkage are administrative error ($7.8 million), employee theft ($15.6 million), shoplifting ($14.7 million), and vendor fraud ($2.9 million). If you were a retailer, which causes of inventory shrinkage would you address first? Construct a Pareto chart to show which causes would be addressed first. Example Pareto Chart
If two data sets have the same number of entries, and each entry in the first data set corresponds to one entry in the second data set, the sets are called paired data sets. For instance, suppose, a data set contains the costs of an item and a second data set contains the sales amounts for the item at each cost. Because each cost corresponds to a sales amount, the data sets are paired. One way to graph paired data sets is to use a scatter plot, where the ordered pairs are graphed as points in a coordinate plane. Graphing Paired Data Sets
Scatter Plot 95 90 85 80 75 70 65 60 55 50 45 40 16 0 2 4 6 8 10 12 14 Absences Grade x 8 2 5 12 15 9 6 y 78 92 90 58 43 74 81 Final grade (y) Absences (x)
A data set that is composed of entries taken at regular intervals over a period of time is a time series. For instance, the amount of precipitation measured each day for one month is an example of a time series. You can use a time series chart to graph a time series. Time Series
Constructing a Time Series Chart • The table lists a number of cellular telephone subscribers in millions, and a subscriber’s average local monthly bill for service, in dollars, for the years 1987 through 1996. Construct a time series chart for the number of cellular subscribers. What can you conclude?
Constructing a Time Series Chart • Let the horizontal axis represent the years and the vertical axis represent the number of subscribers in millions. Then plot the paired data. From the graph, you can see the number of subscribers has been increasing since 1987. Recent years show greater increases.