Skip to content
๐ŸŽฏโญ INTERACTIVE LESSON

Measures of Center

Learn step-by-step with interactive practice!

Measures of Center - Complete Interactive Lesson

Part 1: Exploratory Data Analysis Overview

๐Ÿ” Exploratory Data Analysis

Part 1 of 7 โ€” EDA Overview


What Is EDA?

Exploratory Data Analysis (EDA) is the process of using graphs and summary statistics to understand the key features of a dataset.

The Four Features (SOCS)

When describing a distribution, always mention:

FeatureWhat to Look For
ShapeSymmetric, skewed left, skewed right, bimodal, uniform
OutliersUnusual values far from the pattern
CenterMean, median
SpreadRange, IQR, standard deviation

Types of Data

TypeExamples
CategoricalGender, color, yes/no
QuantitativeHeight, test scores, income

Graphs for Categorical vs. Quantitative

  • Categorical: bar chart, pie chart
  • Quantitative: histogram, stemplot, boxplot, dotplot

Concept Check ๐ŸŽฏ

Data Classification ๐Ÿงฎ

Classify each as categorical (C) or quantitative (Q):

1) Zip code

2) Temperature in degrees Fahrenheit

3) Number of siblings

Part 2: Graphical Displays

๐Ÿ“Š Graphical Displays

Part 2 of 7 โ€” Graphs for Quantitative Data


Histograms

  • Bars represent frequency (or relative frequency) for intervals
  • No gaps between bars (unlike bar charts)
  • Show shape, center, spread, and outliers

Stemplots (Stem-and-Leaf Plots)

  • Each value is split into a โ€œstemโ€ and โ€œleafโ€
  • Good for small datasets (preserves individual values)
  • Back-to-back stemplots compare two groups

Dotplots

  • Each value represented by a dot above a number line
  • Best for small datasets
  • Easy to see clusters, gaps, and outliers

Comparative Displays

To compare distributions, use:

  • Side-by-side boxplots
  • Back-to-back stemplots
  • Overlapping or stacked histograms

๐Ÿ”‘ Always compare shape, outliers, center, AND spread when comparing distributions.

Concept Check ๐ŸŽฏ

Graph Selection ๐Ÿงฎ

Choose the best graph type for each:

1) Comparing test score distributions of two classes (histogram/boxplot/stemplot)

2) Showing individual values of 20 measurements (histogram/dotplot/boxplot)

3) Displaying the distribution of 500 exam scores (histogram/dotplot/stemplot)

Part 3: Measures of Center

๐Ÿ“ Measures of Center

Part 3 of 7 โ€” Mean and Median


Mean (xห‰\bar{x})

xห‰=โˆ‘xin\bar{x} = \frac{\sum x_i}{n}

  • Arithmetic average of ALL values
  • Sensitive to outliers and skewness
  • Best for symmetric distributions

Median (MM or x~\tilde{x})

  • Middle value when data is ordered
  • Resistant to outliers
  • Best for skewed distributions

Relationship Between Mean and Median

ShapeRelationship
SymmetricMean โ‰ˆ\approx Median
Skewed rightMean > Median
Skewed leftMean < Median

Why Does Skewness Pull the Mean?

Outliers and long tails pull the mean toward the tail, while the median stays put.

Concept Check ๐ŸŽฏ

Center Calculations ๐Ÿงฎ

Data: 10, 12, 14, 15, 19

1) Mean xห‰=?\bar{x} = ?

2) Median = ?

3) If we add 100 to the dataset, which changes more โ€” the mean or the median?

Part 4: Measures of Spread

๐Ÿ“ Measures of Spread

Part 4 of 7 โ€” Range, IQR, Standard Deviation


Range

Range=maxโกโˆ’minโก\text{Range} = \max - \min

Simple but not resistant to outliers.

Interquartile Range (IQR)

IQR=Q3โˆ’Q1IQR = Q_3 - Q_1

  • Middle 50% of the data
  • Resistant to outliers
  • Best for skewed distributions

Standard Deviation (ss)

s=โˆ‘(xiโˆ’xห‰)2nโˆ’1s = \sqrt{\frac{\sum(x_i - \bar{x})^2}{n-1}}

  • Measures a typical distance of the values from the mean
  • NOT resistant to outliers
  • Best for symmetric distributions
  • s=0s = 0 only when all values are identical

Outlier Rule (1.5 ร— IQR)

A value is an outlier if it falls:

  • Below Q1โˆ’1.5ร—IQRQ_1 - 1.5 \times IQR
  • Above Q3+1.5ร—IQRQ_3 + 1.5 \times IQR

Concept Check ๐ŸŽฏ

Spread Calculations ๐Ÿงฎ

Five-number summary: Min = 5, Q1=12Q_1 = 12, Median = 18, Q3=24Q_3 = 24, Max = 50.

1) IQR=?IQR = ?

2) Upper outlier fence = Q3+1.5ร—IQR=?Q_3 + 1.5 \times IQR = ?

3) Is the maximum value (50) an outlier? (yes/no)

Part 5: Outliers and Shape

๐Ÿ“ˆ Shape and Outliers

Part 5 of 7 โ€” Describing Distributions Completely


Shapes of Distributions

ShapeDescriptionExample
SymmetricMirror image, roughly equal tailsTest scores
Skewed rightLong right tailIncome, home prices
Skewed leftLong left tailAge at retirement
BimodalTwo peaksHeights of men & women combined
UniformAll values equally likelyRolling a die

The Effect of Outliers

Outliers affect:

  • Mean (pulled toward outlier) โ€” NOT resistant
  • Standard deviation (increases) โ€” NOT resistant
  • Range (increases) โ€” NOT resistant

Outliers do NOT significantly affect:

  • Median โ€” resistant
  • IQR โ€” resistant

Boxplots

The five-number summary is displayed visually: Min,Q1,Median,Q3,Max\text{Min}, Q_1, \text{Median}, Q_3, \text{Max}

Modified boxplots show outliers as individual dots beyond the fences.

Concept Check ๐ŸŽฏ

Distribution Description ๐Ÿงฎ

A histogram of household income in a city shows a peak around $50,000 with a long tail stretching past $500,000.

1) What is the shape? (symmetric/skewed right/skewed left)

2) Is the mean likely above or below the median?

3) Which is a better measure of center for this data? (mean/median)

Part 6: Problem-Solving Workshop

๐Ÿ† Problem-Solving Workshop

Part 6 of 7 โ€” AP-Style Practice


AP Exam Framework for EDA

When describing a distribution, ALWAYS address:

  1. Shape (is it symmetric? skewed? bimodal?)
  2. Outliers (are there any? use the 1.5ร—IQR rule)
  3. Center (give an approximate value and name the statistic)
  4. Spread (report the appropriate measure)

Template Answer

โ€œThe distribution of [variable] is [shape] with [center measure] approximately [value] and [spread measure] approximately [value]. [There are / are no] outliers.โ€

Comparing Distributions

Always compare both distributions on ALL four features. Use comparative language: โ€œhigher,โ€ โ€œwider,โ€ โ€œmore skewed.โ€

Concept Check ๐ŸŽฏ

SOCS Description ๐Ÿงฎ

Test scores: Min=45, Q1=65Q_1=65, Med=75, Q3=85Q_3=85, Max=98. Roughly symmetric, no outliers.

1) Best measure of center? (mean/median) and its approximate value?

2) IQR=?IQR = ?

3) Lower fence for outliers by the 1.5ร—IQR rule = ?

Part 7: Mixed Review

๐Ÿ“ Mixed Review

Part 7 of 7 โ€” Comprehensive Review


Quick Reference

MeasureResistant?Best for
MeanNoSymmetric data
MedianYesSkewed data
Std DevNoSymmetric data
IQRYesSkewed data
RangeNoQuick summary

EDA Checklist

  • Identify variable type (categorical vs. quantitative)
  • Choose appropriate graph
  • Describe shape (symmetric, skewed L/R, bimodal, uniform)
  • Check for outliers (1.5 ร— IQR rule)
  • Report center (mean or median)
  • Report spread (SD or IQR)
  • Use context (variable names, units)

Concept Check ๐ŸŽฏ

Final Challenge ๐Ÿงฎ

Data: 3, 5, 7, 8, 9, 10, 12, 14, 50

1) xห‰=?\bar{x} = ? (round to 1 place)

2) Median = ?

3) Is 50 an outlier by the 1.5ร—IQR rule? (Q1=6Q_1 = 6, Q3=13Q_3 = 13, so IQR=?IQR = ? and upper fence = ?)