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:
| Feature | What to Look For |
|---|---|
| Shape | Symmetric, skewed left, skewed right, bimodal, uniform |
| Outliers | Unusual values far from the pattern |
| Center | Mean, median |
| Spread | Range, IQR, standard deviation |
Types of Data
| Type | Examples |
|---|---|
| Categorical | Gender, color, yes/no |
| Quantitative | Height, test scores, income |
Graphs for Categorical vs. Quantitative
- Categorical: bar chart, pie chart
- Quantitative: histogram, stemplot, boxplot, dotplot
Concept Check U0001f3af
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 U0001f3af
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, Median, Mode
Mean ()
- Arithmetic average of ALL values
- Sensitive to outliers and skewness
- Best for symmetric distributions
Median ( or )
- Middle value when data is ordered
- Resistant to outliers
- Best for skewed distributions
Relationship Between Mean and Median
| Shape | Relationship |
|---|---|
| Symmetric | Mean Median |
| Skewed right | Mean > Median |
| Skewed left | Mean < Median |
Why Does Skewness Pull the Mean?
Outliers and long tails pull the mean toward the tail, while the median stays put.
Concept Check U0001f3af
Center Calculations 🧮
Data: 10, 12, 14, 15, 19
1) Mean
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
Simple but not resistant to outliers.
Interquartile Range (IQR)
- Middle 50% of the data
- Resistant to outliers
- Best for skewed distributions
Standard Deviation ()
- Measures average distance from the mean
- NOT resistant to outliers
- Best for symmetric distributions
- only when all values are identical
Outlier Rule (1.5 × IQR)
A value is an outlier if it falls:
- Below
- Above
Concept Check U0001f3af
Spread Calculations 🧮
Five-number summary: Min = 5, , Median = 18, , Max = 50.
1)
2) Upper outlier fence =
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
| Shape | Description | Example |
|---|---|---|
| Symmetric | Mirror image, roughly equal tails | Test scores |
| Skewed right | Long right tail | Income, home prices |
| Skewed left | Long left tail | Age at retirement |
| Bimodal | Two peaks | Heights of men & women combined |
| Uniform | All values equally likely | Rolling 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:
Modified boxplots show outliers as individual dots beyond the fences.
Concept Check U0001f3af
Distribution Description 🧮
A histogram of household income in a city shows a peak around $50,000 with a long tail stretching to $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:
- Shape (is it symmetric? skewed? bimodal?)
- Outliers (are there any? use the 1.5×IQR rule)
- Center (give an approximate value and name the statistic)
- 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 U0001f3af
SOCS Description 🧮
Test scores: Min=45, , Med=75, , Max=98. Roughly symmetric, no outliers.
1) Best measure of center? (mean/median) and its approximate value?
2)
3) Are there outliers by the 1.5×IQR rule? (yes/no) Lower fence = ?
Part 7: Mixed Review
📝 Mixed Review
Part 7 of 7 — Comprehensive Review
Quick Reference
| Measure | Resistant? | Best for |
|---|---|---|
| Mean | No | Symmetric data |
| Median | Yes | Skewed data |
| Std Dev | No | Symmetric data |
| IQR | Yes | Skewed data |
| Range | No | Quick 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 U0001f3af
Final Challenge 🧮
Data: 3, 5, 7, 8, 9, 10, 12, 14, 50
1) (round to 1 place)
2) Median = ?
3) Is 50 an outlier by the 1.5×IQR rule? (, , so and upper fence = ?)