01 / 98Chapter 4 Displaying and Summarizing Quantitative Data
1 / 17
Download Presentation
Chapter 4 Displaying and Summarizing Quantitative Data
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only.Download presentation by click this link.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.
Frequency Histograms A histogram shows three general types of information: • It provides visual indication of where the approximate center of the data is. • We can gain an understanding of the degree of spread, or variation, in the data. • We can observe the shape of the distribution.
Frequency and Relative Frequency Histograms • identify smallest and largest values in data set • divide interval between largest and smallest values into between 5 and 20 subintervals called classes * each data value in one and only one class * no data value is on a boundary
Histogram Construction (cont.) * compute frequency or relative frequency of observations in each class * x-axis: class boundaries; y-axis: frequency or relative frequency scale * over each class draw a rectangle with height corresponding to the frequency or relative frequency in that class
Example. Number of daily employee absences from work • 106 obs; approx. no of classes= {2(106)}1/3 = {212}1/3 = 5.69 1+ log(106)/log(2) = 1 + 6.73 = 7.73 • There is no single “correct” answer for the number of classes • For example, you can choose 6, 7, 8, or 9 classes; don’t choose 15 classes
Absences from Work (cont.) • 6 classes • class width: (158-121)/6=37/6=6.17 7 • 6 classes, each of width 7; classes span 6(7)=42 units • data spans 158-121=37 units • classes overlap the span of the actual data values by 42-37=5 • lower boundary of 1st class: (1/2)(5) units below 121 = 121-2.5 = 118.5
Frequency Distribution of Grades Class Limits Frequency 40 up to 50 50 up to 60 60 up to 70 70 up to 80 80 up to 90 90 up to 100 Total 2 6 8 7 5 2 30
Relative Frequency Distribution of Grades Class Limits Relative Frequency 40 up to 50 50 up to 60 60 up to 70 70 up to 80 80 up to 90 90 up to 100 2/30 = .067 6/30 = .200 8/30 = .267 7/30 = .233 5/30 = .167 2/30 = .067
Stem and leaf displays • Have the following general appearance stem leaf 1 8 9 2 1 2 8 9 9 3 2 3 8 9 4 0 1 5 6 7 6 4
Stem and Leaf Displays • Partition each no. in data into a “stem” and “leaf” • Constructing stem and leaf display 1) deter. stem and leaf partition (5-20 stems) 2) write stems in column with smallest stem at top; include all stems in range of data 3) only 1 digit in leaves; drop digits or round off 4) record leaf for each no. in corresponding stem row; ordering the leaves in each row helps
Advantages/Disadvantages of Stem-and-Leaf Displays • Advantages 1) each measurement displayed 2) ascending order in each stem row 3) relatively simple (data set not too large) • Disadvantages display becomes unwieldy for large data sets
Symmetric distribution • A distribution is skewed to the rightif the right side of the histogram (side with larger values) extends much farther out than the left side. It is skewed to the leftif the left side of the histogram extends much farther out than the right side. Skewed distribution Complex, multimodal distribution • Not all distributions have a simple overall shape, especially when there are few observations. Interpreting Graphical Displays: Shape • A distribution is symmetricif the right and left sides of the histogram are approximately mirror images of each other.
Shape (cont.): Outliers An important kind of deviation is an outlier. Outliersare observations that lie outside the overall pattern of a distribution. Always look for outliers and try to explain them. The overall pattern is fairly symmetrical except for 2 states clearly not belonging to the main trend. Alaska and Florida have unusual representation of the elderly in their population. A large gap in the distribution is typically a sign of an outlier. Alaska Florida
Other Graphical Methods for Economic Data • Time plots plot observations in time order, with time on the horizontal axis and the vari-able on the vertical axis ** Time series measurements are taken at regular intervals (monthly unemployment, quarterly GDP, weather records, electricity demand, etc.)
The median: a measure of center Given a set of n measurements arranged in order of magnitude, Median= middle value n odd mean of 2 middle values, n even • Ex. 2, 4, 6, 8, 10; n=5; median=6 • Ex. 2, 4, 6, 8; n=4; median=(4+6)/2=5
Medians are used often • Year 2011 baseball salaries Median $1,450,000 (max=$32,000,000 Alex Rodriguez; min=$414,000) • Median fan age: MLB 45; NFL 43; NBA 41; NHL 39 • Median existing home sales price: May 2011 $166,500; May 2010 $174,600 • Median household income (2008 dollars) 2009 $50,221; 2008$52,029