Descriptive Statistics: Methods for Displaying and Summarizing Quantitative Data

Course Announcements & Administrative Details

  • Activity 1 Grading:

    • Activity 1 grades are posted.

    • A rubric is available to review specific questions where points were lost.

    • Solutions have been posted to allow comparison of calculations and numerical results.

  • Quiz 1:

    • Quiz 1 will be unlocked online for student access.

  • Chapter 2 Overview:

    • Chapter 2 covers a wide variety of graphical data representations and spans multiple class sessions over two weeks (approximately three lecture days).

    • Initial focus sections cover six primary graph types:

      1. Stem-and-leaf graphs (stem plots)

      2. Line graphs

      3. Bar graphs

      4. Histograms

      5. Frequency polygons

      6. Time series graphs

Stem-and-Leaf Graphs (Stem Plots)

  • Definition & Structure:

    • A stem-and-leaf graph (or stem plot) splits each data value into two components:

      • Leaf: Always contains the final significant digit.

      • Stem: Contains all leading digits preceding the final significant digit.

    • Example: For the number 432432: this is the total(end/final number)

  • Construction Rules:

    • Stems are listed vertically from top to bottom in ascending order (smallest to largest).

    • Leaves are listed horizontally to the right of their corresponding stem in ascending order.

    • Decimal points are omitted in the plot layout unless explicitly specified by a key.

    • If a stem value has no corresponding data, the stem number must still be listed, and the leaf space must be left blank. Placing a 00 as a leaf indicates a data value ending in 00 (such as 7.07.0), rather than an empty stem.

  • Outliers:

    • An outlier is an observation of data that does not fit the rest of the data set (a value far removed from the remaining cluster).

    • Stem-and-leaf plots allow for immediate visual identification of outliers and concentration of values.

  • Worked Example 1: Susan Bean's Spring Pre-Calculus Exam Scores:

    • Data Set: 33,42,49,49,53,55,55,61,63,67,68,68,69,69,72,73,74,78,80,83,88,88,88,90,92,94,94,94,94,96,10033, 42, 49, 49, 53, 55, 55, 61, 63, 67, 68, 68, 69, 69, 72, 73, 74, 78, 80, 83, 88, 88, 88, 90, 92, 94, 94, 94, 94, 96, 100

    • Plot Construction:

      • Stem 33: leaf 33 (3333)

      • Stem 44: leaves 2,9,92, 9, 9 (42,49,4942, 49, 49)

      • Stem 55: leaves 3,5,53, 5, 5 (53,55,5553, 55, 55)

      • Stem 66: leaves 1,3,7,8,8,9,91, 3, 7, 8, 8, 9, 9 (61,63,67,68,68,69,6961, 63, 67, 68, 68, 69, 69)

      • Stem 77: leaves 2,3,4,82, 3, 4, 8 (72,73,74,7872, 73, 74, 78)

      • Stem 88: leaves 0,3,8,8,80, 3, 8, 8, 8 (80,83,88,88,8880, 83, 88, 88, 88)

      • Stem 99: leaves 0,2,4,4,4,4,60, 2, 4, 4, 4, 4, 6 (90,92,94,94,94,94,9690, 92, 94, 94, 94, 94, 96)

      • Stem 1010: leaf 00 (100100)

  • Worked Example 2: Distances from Home to Local Supermarkets:

    • Data Set: 1.1,1.5,2.3,2.5,2.7,3.2,3.3,3.3,3.5,3.8,4.0,4.2,4.5,4.5,4.7,4.8,5.5,5.6,6.0,6.5,6.7,12.31.1, 1.5, 2.3, 2.5, 2.7, 3.2, 3.3, 3.3, 3.5, 3.8, 4.0, 4.2, 4.5, 4.5, 4.7, 4.8, 5.5, 5.6, 6.0, 6.5, 6.7, 12.3

    • Plot Construction:

      • Stem 11: leaves 1,51, 5

      • Stem 22: leaves 3,5,73, 5, 7

      • Stem 33: leaves 2,3,3,5,82, 3, 3, 5, 8

      • Stem 44: leaves 0,2,5,5,7,80, 2, 5, 5, 7, 8

      • Stem 55: leaves 5,65, 6

      • Stem 66: leaves 0,5,70, 5, 7

      • Stems 7,8,9,10,117, 8, 9, 10, 11: [blank]

      • Stem 1212: leaf 33

    • Analysis: The data shows a concentration between 1.11.1 and 6.76.7. The distance 12.312.3 is located far away from the rest of the data, making 12.312.3 a potential outlier.

  • Worked Example 3: Miles Per Gallon (MPG) Ratings for 30 Cars:

    • Data Set: MPG ratings recorded for 3030 vehicles.

    • Analysis: Stem plot values show a continuous grouping without large gaps between stems. Because all data points lie close together, there are no outliers present.

Line Graphs

  • Structure & Elements:

    • Horizontal Axis (xx-axis): Represents data values or measured categories.

    • Vertical Axis (yy-axis): Represents frequency (or relative frequency).

    • Plotting Points: Each data point is plotted at (x,y)=(data value,frequency)(x, y) = (\text{data value}, \text{frequency}).

    • Line Segments: Sequential points are connected with straight line segments.

    • Labeling Requirement: Both axes must be explicitly labeled with titles and numbers. Omitting axis labels results in lost points.

  • Worked Example 1: Teenager Chore Reminders:

    • Data pair (0,2)(0, 2): 00 reminders has a frequency of 22

    • Data pair (1,5)(1, 5): 11 reminder has a frequency of 55

    • Points are plotted at (0,2)(0, 2) and (1,5)(1, 5) and connected via a line segment.

  • Worked Example 2: Car Repairs Per Year Survey:

    • Data Set (4040 people surveyed on annual car repairs):

      • 00 times in shop: frequency 77

      • 11 time in shop: frequency 1010

      • 22 times in shop: frequency 1414

      • 33 times in shop: frequency 99

    • Setup Procedure:

      1. Draw xx and yy axes.

      2. Label horizontal axis: "Number of times in shop".

      3. Label vertical axis: "Frequency".

      4. Scale horizontal axis with values: 0,1,2,30, 1, 2, 3.

      5. Scale vertical axis in increments of 22 up to 1414 (0,2,4,6,8,10,12,140, 2, 4, 6, 8, 10, 12, 14).

      6. Plot points: (0,7)(0, 7), (1,10)(1, 10), (2,14)(2, 14), (3,9)(3, 9).

      7. Connect consecutive points with straight line segments.

  • Worked Example 3: Store Visits Prior to Major Purchase:

    • Survey of 4040 people measuring store visits prior to a purchase.

    • Line graph constructed identically using store visit categories on the xx-axis and frequency on the yy-axis.

Bar Graphs

  • Characteristics:

    • Used for categorical or discrete grouped data.

    • Crucial Property: The bars in a bar graph are separated from each other and do not touch.

    • Bars can be rendered vertically (up and down) or horizontally (sideways).

  • Worked Example 1: Facebook User Age Distribution:

    • Age group 13132525: 45%45\%

    • Age group 26264444: 38%38\%

    • Separated bars display percentages relative to age brackets.

  • Worked Example 2: US Public Schools Advanced Placement (AP) Examinees (Class of 2011):

    • Variables: Race/Ethnicity categories (xx-axis, coded 11 through 66) vs. AP Examinee Population percentages (yy-axis).

    • Category Percentages:

      • Category 11: 10.3%10.3\%

      • Category 22: 9.0%9.0\%

      • Category 33: 17.0%17.0\%

      • Category 44: 0.6%0.6\%

      • Category 55: 57.1%57.1\%

      • Category 66: 6.0%6.0\%

    • Setup: Vertical scale formatted by 1010s (0,10,20,30,40,50,600, 10, 20, 30, 40, 50, 60). Six distinct, non-touching bars plotted to their respective height percentages.

  • Worked Example 3: Student Birthdays by Season (Ms. Ramirez's Math Class):

    • Axes: Horizontal axis labeled "Season" (Winter, Spring, Summer, Fall); Vertical axis labeled "Proportion of Population".

    • Vertical Scale: Increments of 4%4\%

    • Results: Fall represents the tallest bar; Winter represents the shortest bar. All four seasonal bars remain non-touching.

Two-Way Tables, Marginal Distributions, and Conditional Distributions

  • Two-Way Table Structure:

    • Categorizes data simultaneously across two qualitative or quantitative variables.

    • Sample Data: Pet Ownership by Gender

      • Dogs: Men = 44, Women = 44, Total = 88

      • Cats: Men = 22, Women = 66, Total = 88

      • Fish: Men = 22, Women = 22, Total = 44

      • Column Totals: Men = 88, Women = 1212

      • Grand Total: 2020

  • Marginal Distribution Calculation:

    • Measures the total frequency or percentage of a single variable category relative to the overall total sample size (N=20N = 20).

    • Marginal Proportion of Dogs=4+420=820=0.4\text{Marginal Proportion of Dogs} = \frac{4 + 4}{20} = \frac{8}{20} = 0.4

    • Marginal Proportion of Cats=2+620=820=0.4\text{Marginal Proportion of Cats} = \frac{2 + 6}{20} = \frac{8}{20} = 0.4

    • Marginal Proportion of Fish=2+220=420=0.2\text{Marginal Proportion of Fish} = \frac{2 + 2}{20} = \frac{4}{20} = 0.2

    • Sum Check: 0.4+0.4+0.2=1.00.4 + 0.4 + 0.2 = 1.0 (100%100\% of the total population).

  • Conditional Distribution Calculation:

    • Measures proportions within a specific subpopulation (restricting focus to one row or column, ignoring all other data).

    • Subpopulation Example: Subpopulation of Men (Nmen=8N_{\text{men}} = 8).

      • Conditional Proportion of Men owning Dogs=48=0.5\text{Conditional Proportion of Men owning Dogs} = \frac{4}{8} = 0.5

      • Conditional Proportion of Men owning Cats=28=0.25\text{Conditional Proportion of Men owning Cats} = \frac{2}{8} = 0.25

      • Conditional Proportion of Men owning Fish=28=0.25\text{Conditional Proportion of Men owning Fish} = \frac{2}{8} = 0.25

    • Sum Check: 0.5+0.25+0.25=1.00.5 + 0.25 + 0.25 = 1.0 (100%100\% of the male subpopulation).

Histograms

  • Overview & Key Properties:

    • The most important and frequently utilized graph type in statistics.

    • Unlike bar graphs, the bars in a histogram must touch.

    • Vertical Axis (yy-axis): Frequency or Relative Frequency.

    • Horizontal Axis (xx-axis): Quantitative data values (continuous or discrete scales).

    • Advantage over bar graphs: Captures order, intervals, continuous scale progression, and shape of numeric data distributions.

  • Method 1: Continuous Data using Class Boundaries (Male Semi-Professional Soccer Players Heights):

    • Data Range: Minimum height = 6060, Maximum height = 7474

    • Step 1: Choose Starting and Ending Points:

      • Avoid starting on an exact data value so values do not land on bar boundaries.

      • Starting point=600.05=59.95\text{Starting point} = 60 - 0.05 = 59.95

      • Ending point=74+0.05=74.05\text{Ending point} = 74 + 0.05 = 74.05

    • Step 2: Calculate Interval Width and Bar Boundaries:

      • Total Range=74.0559.95=14.1\text{Total Range} = 74.05 - 59.95 = 14.1

      • Select desired number of bars (e.g., 88 bars).

      • Raw Bar Width=14.18=1.7625\text{Raw Bar Width} = \frac{14.1}{8} = 1.7625

      • Round up to a convenient integer width: 22

    • Step 3: Establish Boundaries by Repeatedly Adding Width 22:

      • Bar 1: 59.9559.95 to 61.9561.95

      • Bar 2: 61.9561.95 to 63.9563.95

      • Bar 3: 63.9563.95 to 65.9565.95

      • Bar 4: 65.9565.95 to 67.9567.95

      • Bar 5: 67.9567.95 to 69.9569.95

      • Bar 6: 69.9569.95 to 71.9571.95

      • Bar 7: 71.9571.95 to 73.9573.95

      • Bar 8: 73.9573.95 to 75.9575.95

    • Step 4: Relative Frequency Heights:

      • 59.9561.9559.95 - 61.95: relative frequency = 0.050.05

      • 61.9563.9561.95 - 63.95: relative frequency = 0.030.03

      • 63.9565.9563.95 - 65.95: relative frequency = 0.150.15

      • 65.9567.9565.95 - 67.95: relative frequency = 0.400.40

      • 67.9569.9567.95 - 69.95: relative frequency = 0.170.17

      • 69.9571.9569.95 - 71.95: relative frequency = 0.120.12

      • 71.9573.9571.95 - 73.95: relative frequency = 0.070.07

      • 73.9575.9573.95 - 75.95: relative frequency = 0.010.01

  • Method 2: Discrete Data (Books Bought by 50 Part-Time College Students at ABC College):

    • Data is discrete (countable whole numbers 11 through 66).

    • xx-axis starts slightly before 11 at 0.50.5 and proceeds by integer steps (0.5,1.5,2.5,3.5,4.5,5.5,6.50.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5).

    • Frequencies:

      • 11 book (0.50.5 to 1.51.5): frequency = 1111

      • 22 books (1.51.5 to 2.52.5): frequency = 1010

      • 33 books (2.52.5 to 3.53.5): frequency = 1616

      • 44 books (3.53.5 to 4.54.5): frequency = 66

      • 55 books (4.54.5 to 5.55.5): frequency = 55

      • 66 books (5.55.5 to 6.56.5): frequency = 22

  • Method 3: Continuous Data without Decimals using Left-Boundary Rule (Weekend Video Game Hours):

    • Data Range: Minimum = 00, Maximum = 23.7523.75

    • Bin Setup: Intervals set at whole number steps of 55 (0,5,10,15,20,250, 5, 10, 15, 20, 25).

    • Left-Boundary Inclusion Rule: If a data value falls exactly on an interval boundary, it is included in the bar where it serves as the left boundary (i.e., interval contains [left,right)[\text{left}, \text{right})).

      • Bar [0,5)[0, 5): Includes 00, excludes 55. Data points: 0,2.250, 2.25 (Frequency = 22).

      • Bar [5,10)[5, 10): Includes 55, excludes 1010. Data points: 5.5,7.5,9.955.5, 7.5, 9.95 (Frequency = 33).

      • Bar [10,15)[10, 15): Includes 1010, excludes 1515. Data points: 10,10,11,12,12.7510, 10, 11, 12, 12.75 (Frequency = 55).

      • Bar [15,20)[15, 20): Includes 1515, excludes 2020. Data points: 15,15,16.75,17.5,18,18,18.8,19.515, 15, 16.75, 17.5, 18, 18, 18.8, 19.5 (Frequency = 77).

      • Bar [20,25)[20, 25): Includes 2020, excludes 2525. Remaining data points (Frequency = 99).

Frequency Polygons

  • Definition & Characteristics:

    • A graph constructed similarly to a line graph, with the specific modification that both ends of the line are anchored directly down to the horizontal axis (xx-axis), forming a closed polygon.

    • Highly effective for visually overlaying and comparing multiple data distributions simultaneously (e.g., comparing calculus final exam test scores against overall calculus final course grades).

  • Construction Procedure:

    1. Calculate the midpoint for each class interval:         Midpoint=Lower Bound+Upper Bound2\text{Midpoint} = \frac{\text{Lower Bound} + \text{Upper Bound}}{2}

    2. Plot points where (x,y)=(Midpoint,Frequency)(x, y) = (\text{Midpoint}, \text{Frequency}).

    3. Anchor the polygon: Add one extra midpoint step before the lowest class interval and one extra midpoint step after the highest class interval, setting their frequencies to 00. Connect the line down to the axis at these anchor points.

  • Worked Example: US Presidents' Ages at Inauguration:

    • Midpoint Calculations and Frequencies:

      • Interval 41.541.546.546.5: Midpoint = 41.5+46.52=44\frac{41.5 + 46.5}{2} = 44, Frequency = 44

      • Interval 46.546.551.551.5: Midpoint = 4949, Frequency = 1111

      • Interval 51.551.556.556.5: Midpoint = 5454, Frequency = 1414

      • Interval 56.556.561.561.5: Midpoint = 5959, Frequency = 99

      • Interval 61.561.566.566.5: Midpoint = 6464, Frequency = 44

      • Interval 66.566.571.571.5: Midpoint = 6969, Frequency = 22

    • Pattern: Midpoints increase by increments of 55

    • Anchoring:

      • Lower anchor: Subtract 55 from first midpoint 443944 \rightarrow 39 (Frequency = 00).

      • Upper anchor: Add 55 to last midpoint 697469 \rightarrow 74 (Frequency = 00).

    • Plotting Sequence: Connect points sequentially across $x$-axis midpoints 39,44,49,54,59,64,69,7439, 44, 49, 54, 59, 64, 69, 74.

Time Series Graphs

  • Definition & Purpose:

    • A graph generated from a paired data set where one variable explicitly represents time (such as hours, days, months, or years) and the other variable represents a measured attribute.

    • Used to observe trends, fluctuations, and progression over time.

  • Worked Example: Annual Consumer Price Index (CPI) Over 10 Years:

    • Paired Variables: Year (xx-axis) paired with Annual Consumer Price Index (yy-axis).

    • Data Point Example: In year 20032003, the CPI was 184184. Plotted at (2003,184)(2003, 184).

    • Structure: Years are spaced sequentially along the horizontal axis, CPI values along the vertical axis, and consecutive years are linked with line segments.

Questions & Discussion

  • Question: If there is a gap in stem numbers with no data values, do you still write the stem number?

    • Response: Yes, always list all intermediate stem numbers vertically. Leave the leaf side completely blank. Do not write 00 as a leaf because 00 represents an actual data value ending in zero.

  • Question: Should decimal points be written in the leaf section of a stem plot?

    • Response: No, decimal points do not need to be written in the leaf column.

  • Question: If a graph has a stem with no leaves, but a higher stem contains values, is that higher value considered an outlier?

    • Response: Yes, if a data value is separated from the main concentration of data by empty stems/gaps, it is considered an outlier.

  • Question: Why use a histogram instead of a bar graph?

    • Response: A histogram is superior for numeric data because the horizontal axis follows an ordered quantitative scale. In a bar graph, categories are often unordered qualitative groups without sequential numeric progression.