Presentation is loading. Please wait.

Presentation is loading. Please wait.

3A-1. Describing Data Visually (Part 1) Visual Description Visual Description Dot Plots Dot Plots Frequency Distributions and Histograms Frequency Distributions.

Similar presentations


Presentation on theme: "3A-1. Describing Data Visually (Part 1) Visual Description Visual Description Dot Plots Dot Plots Frequency Distributions and Histograms Frequency Distributions."— Presentation transcript:

1 3A-1

2 Describing Data Visually (Part 1) Visual Description Visual Description Dot Plots Dot Plots Frequency Distributions and Histograms Frequency Distributions and Histograms Line Charts Line Charts Bar Charts Bar Charts Chapter 3A3A McGraw-Hill/Irwin© 2008 The McGraw-Hill Companies, Inc. All rights reserved.

3 3A-3 Visual Description Methods of organizing, exploring and summarizing data include:Methods of organizing, exploring and summarizing data include: - Visual (charts and graphs) provides insight into characteristics of a data set without using mathematics. - Numerical (statistics or tables) provides insight into characteristics of a data set using mathematics.

4 3A-4 Begin with univariate data (a set of n observations on one variable) and consider the following:Begin with univariate data (a set of n observations on one variable) and consider the following:CharacteristicInterpretationMeasurement What are the units of measurement? Are the data integer or continuous? Any missing observations? Any concerns with accuracy or sampling methods? Visual Description Central Tendency Where are the data values concentrated? What seem to be typical or middle data values?

5 3A-5CharacteristicInterpretationDispersion How much variation is there in the data? How spread out are the data values? Are there unusual values? Visual Description Shape Are the data values distributed symmetrically? Skewed? Sharply peaked? Flat? Bimodal?

6 3A-6 P/E ratios are current stock price divided by earnings per share in the last 12 months. For example:P/E ratios are current stock price divided by earnings per share in the last 12 months. For example:  Example: Price/Earnings Ratios Visual Description

7 3A-7 Look at the data and visualize how it was collected and measured.Look at the data and visualize how it was collected and measured. Sort the data and then summarize in a graphical display. Here are the sorted P/E ratios:Sort the data and then summarize in a graphical display. Here are the sorted P/E ratios:810101013131414151516161718191920202122 23262627292934485568 A histogram graphically displays sorted data.A histogram graphically displays sorted data.  Measurement Visual Description  Sorting

8 3A-8 Sorting allows you to observe central tendency, dispersion and shape as well as minimum, maximum and range.Sorting allows you to observe central tendency, dispersion and shape as well as minimum, maximum and range.  Sorting Visual Description What else do you observe?What else do you observe?

9 3A-9 A dot plot is the simplest graphical display of n individual values of numerical data. - Easy to understand - Not good for large samples (e.g., > 5,000).A dot plot is the simplest graphical display of n individual values of numerical data. - Easy to understand - Not good for large samples (e.g., > 5,000). 1. Make a scale that covers the data range 2. Mark the axes and label them 3. Plot each data value as a dot above the scale at its approximate location If more than one data value lies at about the same axis location, the dots are piled up vertically.  Steps in Making a Dot Plot Dot Plots

10 3A-10 Creating a dot plot in MegaStat

11 3A-11 Range of data shows dispersion.Range of data shows dispersion. Can add annotations (text boxes) to call attention to specific features.Can add annotations (text boxes) to call attention to specific features. Clustering shows central tendency.Clustering shows central tendency. Dot plots do not tell much of shape of distribution.Dot plots do not tell much of shape of distribution. Dot Plots

12 3A-12 Consider the following median home prices for nine U.S. Cities.Consider the following median home prices for nine U.S. Cities. Metropolitan Area Median Home Price (000) Akron OH 119.6 Bergen-Passaic NJ 363.0 Bradenton FL 170.4 Colorado Springs CO 181.7 Hartford CT 198.5 Milwaukee WI 186.2 Raleigh-Durham NC 173.8 San Francisco CA 560.2 Topeka KS 100.7 Dot Plots  Small Sample: Home Prices

13 3A-13 A dot plot is useful to realtors as they discuss patterns in home selling prices within their community.A dot plot is useful to realtors as they discuss patterns in home selling prices within their community. Dot Plots  Small Sample: Home Prices

14 3A-14 A stacked dot plot compares two or more groups using a common X-axis scale.A stacked dot plot compares two or more groups using a common X-axis scale. Dot Plots  Comparing Groups

15 3A-15 A frequency distribution is a table formed by classifying n data values into k classes (bins).A frequency distribution is a table formed by classifying n data values into k classes (bins). Bin limits define the values to be included in each bin. Widths must all be the same.Bin limits define the values to be included in each bin. Widths must all be the same. Frequencies are the number of observations within each bin.Frequencies are the number of observations within each bin. Express as relative frequencies (frequency divided by the total) or percentages (relative frequency times 100).Express as relative frequencies (frequency divided by the total) or percentages (relative frequency times 100). Frequency Distributions and Histograms  Bins and Bin Limits 3A-15

16 3A-16 1. Sort data in ascending order (e.g., P/E ratios) 810 13 14 15 16 171819 20 2122 2326 2729 34485568 Frequency Distributions and Histograms  Constructing a Frequency Distribution 2. Choose the number of bins (k) - k should be much smaller than n. - Too many bins results in sparsely populated bins, too few and dissimilar data values are lumped together. 3A-16

17 3A-17 - Herbert Sturges proposes the following rule: Sample Size (n) Number of Bins (k) 165 326 647 1288 Sample Size (n) Number of Bins (k) 2569 51210 102411 Frequency Distributions and Histograms  Constructing a Frequency Distribution 3A-17

18 3A-18 3. Set the bin limits: Bin width  For example, for k = 7 bins, the approximate bin width is: Bin width  To obtain “nice” limits, we round the width to 10 and start the first bin at 0 to get bin limits: 0, 10, 20, 30, 40, 50, 60, 70 Frequency Distributions and Histograms  Constructing a Frequency Distribution 3A-18

19 3A-19 4. Put the data values in the appropriate bin In general, the lower limit is included in the bin while the upper limit is excluded. 5. Create the table, you can include Frequencies – counts for each bin Relative frequencies – absolute frequency divided by total number of data values. Cumulative frequencies – accumulated relative frequency values as bin limits increase. Frequency Distributions and Histograms  Constructing a Frequency Distribution 3A-19

20 3A-20 Bin RangeFrequency Relative Frequency Cumulative Relative Frequency 0<P/E Ratio<1010.0333 10<P/E Ratio<20150.50000.5333 20<P/E Ratio<30100.33330.8666 30<P/E Ratio<4010.03330.8999 40<P/E Ratio<5010.03330.9332 50<P/E Ratio<6010.03330.9665 60<P/E Ratio<7010.03330.9998 What are the bin limits for the P/E ratio data? Frequency Distributions and Histograms 3A-20

21 3A-21 A histogram is a graphical representation of a frequency distribution. A histogram is a bar chart. Y-axis shows frequency within each bin. X-axis ticks shows end points of each bin. Frequency Distributions and Histograms  Histograms 3A-21

22 3A-22 Consider 3 histograms for the P/E ratio data with different bin widths. What do they tell you? Frequency Distributions and Histograms  Histograms 3A-22

23 3A-23 Obtaining a histogram in Excel

24 3A-24 Specify a range of cells containing the bin limits or accept Excel’s default.Specify a range of cells containing the bin limits or accept Excel’s default. Frequency Distributions and Histograms  Excel Histograms 3A-24

25 3A-25 Once created, you can modify the resulting histogram to make it more attractive.Once created, you can modify the resulting histogram to make it more attractive. Frequency Distributions and Histograms  Excel Histograms 3A-25

26 3A-26 In MegaStat, you can specify the interval width and lower limit of the first interval or accept the default

27 3A-27 MegaStat shows percents on the Y-axis instead of frequencies.MegaStat shows percents on the Y-axis instead of frequencies. Frequency Distributions and Histograms  MegaStat Histograms 3A-27

28 3A-28 MegaStat also provides a frequency distribution including cumulative frequencies.MegaStat also provides a frequency distribution including cumulative frequencies. Frequency Distributions and Histograms  MegaStat Histograms 3A-28

29 3A-29 In MINITAB, choose Graphs > Histograms and accept all defaults.

30 3A-30 Right-click the X-axis to adjust the bins, axis tick marks, etc.Right-click the X-axis to adjust the bins, axis tick marks, etc. Frequency Distributions and Histograms  MINITAB Histograms 3A-30

31 3A-31 A histogram bar that is higher than those on either side.A histogram bar that is higher than those on either side. Monomodal – a single modal class.Monomodal – a single modal class. Bimodal – two modal classes.Bimodal – two modal classes. Multimodal – more than two modal classes.Multimodal – more than two modal classes. Modal classes may be artifacts of the way bin limits are chosen.Modal classes may be artifacts of the way bin limits are chosen. Frequency Distributions and Histograms  Modal Class 3A-31

32 3A-32 A histogram suggests the shape of the population.A histogram suggests the shape of the population. Skewness – indicated by the direction of the longer tail of the histogram.Skewness – indicated by the direction of the longer tail of the histogram. It is influenced by number of bins and bin limits.It is influenced by number of bins and bin limits. Left-skewed – (negatively skewed) a longer left tail. Right-skewed – (positively skewed) a longer right tail. Symmetric – both tail areas approximately the same. Frequency Distributions and Histograms  Shape 3A-32

33 3A-33

34 3A-34 Used to display a time series or spot trends, or to compare time periods.Used to display a time series or spot trends, or to compare time periods. Can display several variables at once.Can display several variables at once. Line Charts  Simple Line Charts 3A-34

35 3A-35 Two-scale line chart – used to compare variables that differ in magnitude or are measured in different units.Two-scale line chart – used to compare variables that differ in magnitude or are measured in different units. Line Charts  Simple Line Charts 3A-35

36 3A-36 A line graph usually has no vertical grid lines. Horizontal lines can be added to make it easier to establish the y value. Which is easier to read?A line graph usually has no vertical grid lines. Horizontal lines can be added to make it easier to establish the y value. Which is easier to read? Line Charts  Grid Lines 3A-36

37 3A-37 Arithmetic scale – distances on the Y-axis are proportional to the magnitude of the variable being displayed.Arithmetic scale – distances on the Y-axis are proportional to the magnitude of the variable being displayed. Logarithmic scale – (ratio scale) equal distances represent equal ratios.Logarithmic scale – (ratio scale) equal distances represent equal ratios. Use a log scale for the vertical axis when data vary over a wide range, say, by more than an order of magnitude.Use a log scale for the vertical axis when data vary over a wide range, say, by more than an order of magnitude. This will reveal more detail for small data values.This will reveal more detail for small data values. Line Charts  Log Scales 3A-37

38 3A-38 Log scale is only suited for positive data values.Log scale is only suited for positive data values. Reveals whether the quantity is growing at an increasing percent (concave upward), constant percent (straight line), or declining percent (concave downward)Reveals whether the quantity is growing at an increasing percent (concave upward), constant percent (straight line), or declining percent (concave downward) Line Charts  Log Scales Arithmetic scale Log scale 3A-38

39 3A-39 What does the log scale graph tell you about growth rate for both series?What does the log scale graph tell you about growth rate for both series? Arithmetic scale Log scale Line Charts  Example: U.S. Trade 3A-39

40 3A-40 Useful for - time series data that might be expected to grow at a compound annual percentage rate (e.g., GDP, national debt, future income) - financial charts that cover long periods of time-data that grow rapidly (e.g., revenues)Useful for - time series data that might be expected to grow at a compound annual percentage rate (e.g., GDP, national debt, future income) - financial charts that cover long periods of time-data that grow rapidly (e.g., revenues) Line Charts  When to Use Log Scales 3A-40

41 3A-41 1. Line charts are used for time series data (never for cross-sectional data). 2. Y-axis shows numerical variable while X-axis shows time units with time increasing left to right. 3. Use a zero origin on the Y-axis unless more detail is needed. Line Charts  Tips for Effective Line Charts 3A-41

42 3A-42 4. Omit numerical labels on a line chart to avoid clutter. Use gridlines if needed. 5. Use data markers (squares, triangles, circles) if they don’t clutter the graph. 6. Don’t make lines too thick. Line Charts  Tips for Effective Line Charts 3A-42

43 3A-43 Most common way to display attribute data. - Bars represent categories or attributes. - Lengths of bars represent frequencies.Most common way to display attribute data. - Bars represent categories or attributes. - Lengths of bars represent frequencies. Vertical Bar Chart Vertical Bar Chart Horizontal Bar Chart Bar Charts  Plain Bar Charts 3A-43

44 3A-44 3-D Bar Chart Pyramid Chart Bar Charts  3-D and Novelty Bar Charts 3A-44

45 3A-45 Special type of bar chart used in quality management to display the frequency of defects or errors of different types.Special type of bar chart used in quality management to display the frequency of defects or errors of different types. Categories are displayed in descending order of frequency.Categories are displayed in descending order of frequency. Focus on significant few (i.e., few categories that account for most defects or errors).Focus on significant few (i.e., few categories that account for most defects or errors). Bar Charts  Pareto Charts 3A-45

46 3A-46 Bar height is the sum of several subtotals. Areas may be compared by color to show patterns in the subgroups and total.Bar height is the sum of several subtotals. Areas may be compared by color to show patterns in the subgroups and total. Bar Charts  Stacked Bar Chart 3A-46

47 3A-47 Bar charts can be used for time series data although it may be harder to compare trends.Bar charts can be used for time series data although it may be harder to compare trends. Line Chart Bar Chart Bar Charts  Bar Charts for Time Series Data 3A-47

48 3A-48 1. Show the numerical variable of interest with vertical bars on the Y-axis, category labels on the X-axis. 2. For time series quantities, display the category labels on the horizontal X-axis with time increasing from left to right. 3. The height or length of each bar should be proportional to the quantity displayed. 4. Put numerical values at the top of each bar, except if too cluttered. Bar Charts  Tips for Effective Bar Charts 3A-48


Download ppt "3A-1. Describing Data Visually (Part 1) Visual Description Visual Description Dot Plots Dot Plots Frequency Distributions and Histograms Frequency Distributions."

Similar presentations


Ads by Google