STAT 243: Chapter 2 - Descriptive Statistics

Foundations of Descriptive Statistics

  • Descriptive statistics is the practice of summarizing and organizing collected data into numerical measures and visual displays to make patterns, trends, and central characteristics readily comprehensible before advancing to inferential analysis.

  • Numerical measures include metrics of central tendency, such as the median and mean, as well as measures of variability, such as the standard deviation and interquartile range.

  • Common graphical displays used to organize and summarize datasets include:

    • Dot plots

    • Bar graphs

    • Histograms

    • Stem-and-leaf plots

    • Frequency polygons

    • Pie charts

    • Box plots

Displaying Data: Stem-and-Leaf Displays, Line Graphs, and Bar Graphs

  • Stem-and-Leaf Plot:

    • A graphical method particularly well-suited for small datasets.

    • Construction procedure: Each data observation is separated into two components:

    • A stem: consisting of the leading digit or digits.

    • A leaf: consisting of the final significant digit.

    • Example: A dataset consisting of 2020 test scores ordered numerically:

    • Values: 55,62,66,68,71,72,73,74,76,78,81,83,85,87,88,90,92,94,95,9855, 62, 66, 68, 71, 72, 73, 74, 76, 78, 81, 83, 85, 87, 88, 90, 92, 94, 95, 98

    • Stem 55: Leaf 55

    • Stem 66: Leaves 2,6,82, 6, 8

    • Stem 77: Leaves 1,2,3,4,6,81, 2, 3, 4, 6, 8

    • Stem 88: Leaves 1,3,5,7,81, 3, 5, 7, 8

    • Stem 99: Leaves 0,2,4,5,80, 2, 4, 5, 8

  • Line Graph:

    • Plots data values on the horizontal xx-axis and frequencies on the vertical yy-axis, connecting adjacent coordinate points with straight line segments.

    • Example: Table 2.7 records the number of times a teenager is reminded to do a chore and the corresponding observed frequency:

    • 00 reminders: frequency 22

    • 11 reminder: frequency 55

    • 22 reminders: frequency 88

    • 33 reminders: frequency 1414

    • 44 reminders: frequency 77

    • 55 reminders: frequency 44

Line graph displaying frequency of reminders for teenagers
  • Bar Graph:

    • A graphical representation of categorical or qualitative data where categories are depicted using separated bars.

    • Bar structure and styling:

    • Bars are separated by distinct spaces to indicate discrete categories rather than a continuous scale.

    • Bars may be rendered as standard two-dimensional rectangles or three-dimensional rectangular boxes.

    • Orientations can be vertical or horizontal.

    • Example: Table 2.11 displays high school/college graduates partitioned by United States geographic region:

    • Northeast: 517,720517,720 graduates (16.1%16.1\%)

    • Midwest: 695,170695,170 graduates (21.6%21.6\%)

    • South: 1,253,5401,253,540 graduates (39.0%39.0\%)

    • West: 749,400749,400 graduates (23.3%23.3\%)

Bar graph showing percentage of graduates across US geographic regions

Histograms, Frequency Polygons, and Time-Series Graphs

  • Histogram:

    • Composed of adjoining, contiguous boxes with no spaces between bars, representing continuous quantitative data or grouped discrete intervals.

    • The vertical axis is scaled to represent frequency, relative frequency, percent frequency, or probability.

    • Relative frequency represents the proportion of observations in a given class interval and is defined as:

    • RF=fnRF = \frac{f}{n}

    • ff denotes the frequency of a given class.

    • nn denotes the total number of data observations (the sum of all class frequencies).

    • RFRF denotes the relative frequency.

    • Soccer Player Height Example: The heights (measured in inches to the nearest half-inch) of n=100n = 100 semiprofessional soccer players constitute continuous data:

    • Raw observations:

      • 63.5,63.5,63.563.5, 63.5, 63.5

      • 64,64,64,64,64,64,6464, 64, 64, 64, 64, 64, 64

      • 64.5,64.5,64.5,64.5,64.5,64.5,64.5,64.564.5, 64.5, 64.5, 64.5, 64.5, 64.5, 64.5, 64.5

      • 66,66,66,66,66,66,66,66,66,6666, 66, 66, 66, 66, 66, 66, 66, 66, 66

      • 66.5,66.5,66.5,66.5,66.5,66.5,66.5,66.5,66.5,66.5,66.566.5, 66.5, 66.5, 66.5, 66.5, 66.5, 66.5, 66.5, 66.5, 66.5, 66.5

      • 67,67,67,67,67,67,67,67,67,67,67,6767, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67

      • 67.5,67.5,67.5,67.5,67.5,67.5,67.567.5, 67.5, 67.5, 67.5, 67.5, 67.5, 67.5

      • 68,6868, 68

      • 69,69,69,69,69,69,69,69,69,6969, 69, 69, 69, 69, 69, 69, 69, 69, 69

      • 69.5,69.5,69.5,69.5,69.569.5, 69.5, 69.5, 69.5, 69.5

      • 70,70,70,70,70,7070, 70, 70, 70, 70, 70

      • 70.5,70.5,70.570.5, 70.5, 70.5

      • 71,71,7171, 71, 71

      • 72,72,7272, 72, 72

      • 72.5,72.572.5, 72.5

      • 7373

      • 73.573.5

    • Relative frequencies by interval boundaries (Figure 2.5):

      • Interval [59.95,61.95)[59.95, 61.95): relative frequency 0.050.05

      • Interval [61.95,63.95)[61.95, 63.95): relative frequency 0.030.03

      • Interval [63.95,65.95)[63.95, 65.95): relative frequency 0.150.15

      • Interval [65.95,67.95)[65.95, 67.95): relative frequency 0.400.40

      • Interval [67.95,69.95)[67.95, 69.95): relative frequency 0.170.17

      • Interval [69.95,71.95)[69.95, 71.95): relative frequency 0.120.12

      • Interval [71.95,73.95)[71.95, 73.95): relative frequency 0.070.07

      • Interval [73.95,75.95)[73.95, 75.95): relative frequency 0.010.01

Relative frequency histogram of soccer player heights
  • Frequency Polygon:

    • Analogous to line graphs; constructs a continuous visualization of quantitative data across predefined bin intervals.

    • Points are plotted above the midpoint of each interval at a height corresponding to the frequency, connected by straight line segments, and anchored to the horizontal axis at the boundaries.

    • Example: Calculus final exam test scores frequency distribution:

    • Interval [49.5,59.5)[49.5, 59.5): frequency 55, cumulative frequency 55

    • Interval [59.5,69.5)[59.5, 69.5): frequency 1010, cumulative frequency 1515

    • Interval [69.5,79.5)[69.5, 79.5): frequency 3030, cumulative frequency 4545

    • Interval [79.5,89.5)[79.5, 89.5): frequency 4040, cumulative frequency 8585

    • Interval [89.5,99.5)[89.5, 99.5): frequency 1515, cumulative frequency 100100

Frequency polygon of calculus final exam test scores
  • Comparison of Distributions Using Frequency Polygons:

    • Frequency polygons are particularly useful for superimposing multiple distributions on a single coordinate plane to highlight shifts in center and spread.

    • Example: Table 2.17 records final grades in calculus:

    • Interval [49.5,59.5)[49.5, 59.5): frequency 1010, cumulative frequency 1010

    • Interval [59.5,69.5)[59.5, 69.5): frequency 1010, cumulative frequency 2020

    • Interval [69.5,79.5)[69.5, 79.5): frequency 3030, cumulative frequency 5050

    • Interval [79.5,89.5)[79.5, 89.5): frequency 4545, cumulative frequency 9595

    • Interval [89.5,99.5)[89.5, 99.5): frequency 55, cumulative frequency 100100

    • Figure 2.8 overlays the final test score distribution against the final overall course grade distribution across interval midpoints (44.5,54.5,64.5,74.5,84.5,94.5,104.544.5, 54.5, 64.5, 74.5, 84.5, 94.5, 104.5).

Frequency polygon comparison of calculus test grades versus final grades
  • Time-Series Graph:

    • Applied when data values are sequentially ordered across time intervals.

    • Standard applications include tracking daily temperatures, gas prices, and monthly rainfall.

    • Example: Daily percentage of soil moisture recorded chronologically from January 1, 2024, to December 1, 2024.

Time-series graph of soil moisture percentage across 2024

Measures of the Location of Data: Quartiles and Percentiles

  • Contextual Importance of Location:

    • Individual data points gain interpretive meaning only when evaluated relative to the rest of the distribution:

    • A daily high temperature of 61∘61^\circ requires comparison to typical historical October temperatures.

    • Catching a 10 lb10\,\text{lb} fish requires knowing if typical catches are above or below 10 lb10\,\text{lb}.

    • Receiving 2.45 in2.45\,\text{in} of monthly precipitation requires knowing if that qualifies as unusually dry or wet.

  • Quartiles:

    • Quartiles partition an ordered dataset into four equal segments, demarcated by three values: Q1Q_1, Q2Q_2, and Q3Q_3.

    • First Quartile (Q1Q_1): Approximately 25%25\% (one-fourth) of the data values are less than or equal to Q1Q_1.

    • Second Quartile (Q2Q_2): Approximately 50%50\% (one-half) of the data values are less than or equal to Q2Q_2, which equals the median.

    • Third Quartile (Q3Q_3): Approximately 75%75\% (three-fourths) of the data values are less than or equal to Q3Q_3.

  • Percentiles:

    • Percentiles divide ordered data into 100100 equal parts (hundredths).

    • Interpretive examples:

    • Being in the 90th90\text{th} percentile for daily steps means walking more steps than 90%90\% of all users.

    • A child in the 25th25\text{th} percentile for height is taller than 25%25\% of peers and shorter than 75%75\%.

    • A monthly rainfall recorded in the 95th95\text{th} percentile indicates wetter weather than 95%95\% of recorded months.

    • Data must always be sorted in ascending order (smallest to largest) prior to computing quartiles and percentiles.

  • Median Determination:

    • The median represents the central value of an ordered dataset; it does not need to be an observed value in the sample.

    • Odd number of observations: The median is the single middle observation.

    • Unordered set: 12,7,15,9,1012, 7, 15, 9, 10

    • Ordered set: 7,9,10,12,157, 9, 10, 12, 15

    • Median = 1010

    • Even number of observations: The median is the arithmetic mean of the two middle observations.

    • Unordered set: 20,18,25,22,21,1920, 18, 25, 22, 21, 19

    • Ordered set: 18,19,20,21,22,2518, 19, 20, 21, 22, 25

    • Median = 20+212=20.5\frac{20 + 21}{2} = 20.5

    • Quartile derivation using halves:

    • Q1Q_1 is calculated as the median of the lower half of the dataset (below the overall median position).

    • Q3Q_3 is calculated as the median of the upper half of the dataset (above the overall median position).

  • Interquartile Range (IQR):

    • The spread of the middle 50%50\% of the data:

    • IQR=Q3−Q1IQR = Q_3 - Q_1

    • Worked Example:

    • Dataset: 28,30,33,35,38,40,42,45,47,50,55,6028, 30, 33, 35, 38, 40, 42, 45, 47, 50, 55, 60

    • Total observations: n=12n = 12

    • Lower half (66 observations): 28,30,33,35,38,4028, 30, 33, 35, 38, 40

    • Upper half (66 observations): 42,45,47,50,55,6042, 45, 47, 50, 55, 60

    • Median (Q2Q_2) = 40+422=41\frac{40 + 42}{2} = 41

    • First quartile (Q1Q_1) = 33+352=34\frac{33 + 35}{2} = 34

    • Third quartile (Q3Q_3) = 47+502=48.5\frac{47 + 50}{2} = 48.5

    • Interquartile range: IQR=48.5−34=14.5IQR = 48.5 - 34 = 14.5

  • Identification of Potential Outliers:

    • An observation is designated as a suspected outlier if it satisfies either of the following criteria:

    • Value<Q1−1.5×IQR\text{Value} < Q_1 - 1.5 \times IQR

    • Value>Q3+1.5×IQR\text{Value} > Q_3 + 1.5 \times IQR

  • Procedure for Calculating the kthk\text{th} Percentile:

    • Variables:

    • kk: the percentile sought (1≤k≤991 \le k \le 99).

    • ii: the calculated index (ranking position in the sorted array).

    • nn: total number of data values.

    • Step 1: Arrange all observations in ascending order from smallest to largest.

    • Step 2: Compute the ranking index ii:

    • i=k100(n+1)i = \frac{k}{100}(n + 1)

    • Step 3: If ii is an integer, the kthk\text{th} percentile is the data value occupying the ithi\text{th} position in the ordered set.

    • Step 4: If ii is not an integer, round ii down to the nearest integer and up to the nearest integer. The kthk\text{th} percentile is the arithmetic average of the observations residing at those two consecutive positions.

Box Plots and the Five-Number Summary

  • Box Plot (Box-and-Whisker Plot):

    • A graphical method displaying the concentration, symmetry, and spread of a dataset based on the five-number summary.

    • Five-Number Summary components:

    • Minimum (Min): The smallest value in the dataset.

    • First Quartile (Q1Q_1): The 25th25\text{th} percentile; forms the left edge of the box.

    • Median (Q2Q_2): The 50th50\text{th} percentile; represented by a vertical line inside the box.

    • Third Quartile (Q3Q_3): The 75th75\text{th} percentile; forms the right edge of the box.

    • Maximum (Max): The largest value in the dataset.

    • Construction of the plot:

    • A central rectangle spans from Q1Q_1 to Q3Q_3, representing the middle 50%50\% of values (IQRIQR).

    • A vertical line segment is drawn through the box at the median.

    • Whiskers extend horizontally outward from the edges of the box to the minimum and maximum data values.

    • Example from Figure 2.11:

    • Minimum = 11

    • First Quartile (Q1Q_1) = 22

    • Median = 77

    • Third Quartile (Q3Q_3) = 99

    • Maximum = 11.511.5

Box-and-whisker plot displaying five-number summary
  • Additional Five-Number Summary Practice Problem:

    • Parameters: Min = 1010, Q1=15Q_1 = 15, Median = 9595, Q3=490Q_3 = 490, Max = 790790

    • The box encompasses values between 1515 and 490490, a median line is placed at 9595, and whiskers extend to 1010 on the left and 790790 on the right.

Measures of the Center of the Data

  • Measures of Central Tendency Overview:

    • Center describes the typical or representative value of a dataset.

    • The two primary metrics are the mean (arithmetic average) and the median (the midpoint divider).

    • The median is resistant to extreme observations and is more reliable when severe skewness or outliers are present.

    • The mean is the most common measure of center but is sensitive to extreme values.

  • Mean (xˉ\bar{x} and μ\mu):

    • Computed by summing all observed values and dividing by the total count:

    • Sample mean: xˉ=∑xn\bar{x} = \frac{\sum x}{n}

    • Population mean: μ=∑xN\mu = \frac{\sum x}{N}

    • Example: Dataset 1,1,2,3,5,8,131, 1, 2, 3, 5, 8, 13 with sample size n=7n = 7

    • xˉ=1+1+2+3+5+8+137=337≈4.714\bar{x} = \frac{1 + 1 + 2 + 3 + 5 + 8 + 13}{7} = \frac{33}{7} \approx 4.714

  • Median:

    • The middle score in a sorted list.

    • For dataset 1,1,2,3,5,8,131, 1, 2, 3, 5, 8, 13, the central value in position 44 is 33.

  • Mode:

    • The most frequently occurring observation in a dataset.

    • For dataset 1,1,2,3,5,131, 1, 2, 3, 5, 13, the value 11 appears twice, making the mode 11.

  • Comparison of Center Measures on Resident Age Data:

    • Dataset of ages for residents on a street (n=15n = 15):

    • 53,60,60,61,66,66,66,69,71,72,73,73,75,88,9753, 60, 60, 61, 66, 66, 66, 69, 71, 72, 73, 73, 75, 88, 97

    • Mean: xˉ=108315=72.2\bar{x} = \frac{1083}{15} = 72.2

    • Median: Position 88 is 6767

    • Mode: 6666 (occurs 33 times)

  • Calculating the Mean from a Grouped Frequency Table:

    • Applies the definition of mean as Data sumTotal observations\frac{\text{Data sum}}{\text{Total observations}}.

    • Step 1: Compute the midpoint (mm) for each class interval:

    • m=lower bound+upper bound2m = \frac{\text{lower bound} + \text{upper bound}}{2}

    • Step 2: Multiply each midpoint by its corresponding class frequency (ff) to find the product f⋅mf \cdot m.

    • Step 3: Compute the estimated group mean using the grouped formula:

    • xˉ=∑f⋅m∑f\bar{x} = \frac{\sum f \cdot m}{\sum f}

    • Worked Example (Professor Blount's Statistics Test Scores):

    • Interval [50,56.5)[50, 56.5): f=1f = 1, midpoint m=53.25m = 53.25, product f⋅m=53.25f \cdot m = 53.25

    • Interval [56.5,62.5)[56.5, 62.5): f=0f = 0, midpoint m=59.50m = 59.50, product f⋅m=0f \cdot m = 0

    • Interval [62.5,68.5)[62.5, 68.5): f=4f = 4, midpoint m=65.50m = 65.50, product f⋅m=262.00f \cdot m = 262.00

    • Interval [68.5,74.5)[68.5, 74.5): f=4f = 4, midpoint m=71.50m = 71.50, product f⋅m=286.00f \cdot m = 286.00

    • Interval [74.5,80.5)[74.5, 80.5): f=2f = 2, midpoint m=77.50m = 77.50, product f⋅m=155.00f \cdot m = 155.00

    • Interval [80.5,86.5)[80.5, 86.5): f=3f = 3, midpoint m=83.50m = 83.50, product f⋅m=250.50f \cdot m = 250.50

    • Interval [86.5,92.5)[86.5, 92.5): f=4f = 4, midpoint m=89.50m = 89.50, product f⋅m=358.00f \cdot m = 358.00

    • Interval [92.5,98.5)[92.5, 98.5): f=1f = 1, midpoint m=95.50m = 95.50, product f⋅m=95.50f \cdot m = 95.50

    • Sum of frequencies: ∑f=19\sum f = 19

    • Sum of estimated products: ∑f⋅m=1460.25\sum f \cdot m = 1460.25

    • Estimated mean:

      • xˉ=1460.2519≈76.86\bar{x} = \frac{1460.25}{19} \approx 76.86

Skewness and Distribution Symmetry

  • Symmetric Distribution (Unimodal):

    • Displays a single central peak where both halves balance evenly.

    • Mathematical relationship: mean≈median\text{mean} \approx \text{median}

    • Has one distinct mode.

Symmetric unimodal histogram
  • Symmetric Distribution (Bimodal):

    • Exhibits symmetry around the center but possesses two separate peaks of equal or near-equal prominence.

    • Mathematical relationship: mode1<mean≈median<mode2\text{mode}_1 < \text{mean} \approx \text{median} < \text{mode}_2

    • Has two distinct modes.

Symmetric bimodal histogram
  • Skewed to the Left (Negatively Skewed):

    • The left tail of the distribution is longer or fatter than the right tail; observations trail off toward smaller values.

    • Extreme small values pull the mean downward below the median.

    • Mathematical relationship: mean<median<mode\text{mean} < \text{median} < \text{mode}

Left-skewed histogram
  • Skewed to the Right (Positively Skewed):

    • The right tail of the distribution is longer or fatter than the left tail; observations trail off toward larger values.

    • Extreme large values pull the mean upward above the median.

    • Mathematical relationship: mode<median<mean\text{mode} < \text{median} < \text{mean}

Right-skewed histogram

Measures of the Spread of Data: Standard Deviation and Chebyshev's Rule

  • Standard Deviation Properties:

    • Provides a numerical measure of the overall dispersion or spread of values around the arithmetic mean.

    • Used to evaluate whether a specific observation is relatively close to or far from the mean.

    • The standard deviation is always non-negative: s≥0s \ge 0 and σ≥0\sigma \ge 0.

    • Magnitude interpretation:

    • Small standard deviation indicates data values are densely clustered around the mean with minimal spread.

    • Large standard deviation indicates data values are widely dispersed across a broader range.

    • Notation:

    • Sample standard deviation is denoted by ss.

    • Population standard deviation is denoted by σ\sigma.

  • Distance from the Mean (zz-score representation):

    • The position of a raw score xx relative to the mean is given by:

    • x=xˉ+z⋅sx = \bar{x} + z \cdot s

    • zz represents the number of standard deviations an observation lies above or below the mean.

  • Standard Deviation Formulas:

    • Sample standard deviation:

    • s=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (x - \bar{x})^2}{n - 1}}

    • Population standard deviation:

    • σ=∑(x−μ)2N\sigma = \sqrt{\frac{\sum (x - \mu)^2}{N}}

    • Manual computation can be tedious and prone to error, so spreadsheet software such as Excel or statistical calculators is preferred.

  • Relative Performance Example (Swimmer Comparison):

    • Problem setup: Two competitive swimmers, Angie and Beth, belong to different swim teams and seek to evaluate who achieved the faster 50 meter50\,\text{meter} freestyle swim relative to their team.

    • Angie's recorded swim time: 26.6 s26.6\,\text{s}

      • Angie's team mean: xˉ=27.2 s\bar{x} = 27.2\,\text{s}

      • Angie's team standard deviation: σ=0.8 s\sigma = 0.8\,\text{s}

      • Angie's standardized distance (zz-score):

      • z=26.6−27.20.8=−0.60.8=−0.75z = \frac{26.6 - 27.2}{0.8} = \frac{-0.6}{0.8} = -0.75

    • Beth's recorded swim time: 27.3 s27.3\,\text{s}

      • Beth's team mean: xˉ=30.1 s\bar{x} = 30.1\,\text{s}

      • Beth's team standard deviation: σ=1.4 s\sigma = 1.4\,\text{s}

      • Beth's standardized distance (zz-score):

      • z=27.3−30.11.4=−2.81.4=−2.0z = \frac{27.3 - 30.1}{1.4} = \frac{-2.8}{1.4} = -2.0

    • Conclusion: In timed swimming events, lower values correspond to faster performances. Because Beth's time is 2.02.0 standard deviations below her team's average compared to Angie who is only 0.750.75 standard deviations below her team's average, Beth performed faster relative to her team.

  • Chebyshev's Rule:

    • Applies to any dataset regardless of whether the distribution is bell-shaped, skewed, or irregular:

    • At least 75%75\% of all data values reside within 22 standard deviations of the mean ([xˉ−2s,xˉ+2s][\bar{x} - 2s, \bar{x} + 2s]).

    • At least 89%89\% of all data values reside within 33 standard deviations of the mean ([xˉ−3s,xˉ+3s][\bar{x} - 3s, \bar{x} + 3s]).

    • At least 95%95\% of all data values reside within 4.54.5 standard deviations of the mean ([xˉ−4.5s,xˉ+4.5s][\bar{x} - 4.5s, \bar{x} + 4.5s]).

    • Specific data distributions may contain even higher percentages within these standardized boundaries.