Exploratory Data Analysis — Definition & Example
Exploratory Data Analysis (EDA) is the first look you take at a data set. You graph it and summarize it to see what is actually there before you run any formal test or build a model.
Exploratory Data Analysis is an approach to statistics, popularized by John Tukey in his 1977 book of the same name. It uses graphical displays (dotplots, stemplots, histograms, boxplots, scatterplots) and resistant numerical summaries to describe a distribution's shape, center and spread, and to find unusual features such as outliers, gaps and clusters. Its goal is to generate questions and hypotheses, not to confirm them.
How It Works
Start with a graph that fits the variable. Use a dotplot, histogram or boxplot for one quantitative variable, and a scatterplot for two. Describe what you see using shape, outliers, center and spread, often remembered as SOCS, and always state it in the context of the data. Let the picture decide which summaries to report. Use the median and IQR when the data are skewed or have outliers. Use the mean and standard deviation when the data are roughly symmetric. If the graph shows separate groups, split the data before you summarize it.
Worked Example
Problem: A vet clinic records the weights, in pounds, of 10 pets seen on one morning: 8, 9, 10, 10, 11, 49, 50, 50, 51, 52. Explore the data and decide whether one number can describe a typical pet's weight.
Step 1: Compute the usual center summaries. The mean and median are equal, which might suggest a symmetric distribution centered at 30 pounds.
Step 2: Graph the data before trusting those numbers. A dotplot (or the histogram below) shows two separate clusters, one from 8 to 11 pounds and one from 49 to 52 pounds. A 38-pound gap separates them, and no pet weighs anywhere near 30 pounds. The distribution is bimodal.
Step 3: The two clusters most likely represent different kinds of pets, such as cats and dogs. Summarize each group separately.
Answer: No single number works. The mean and median are both 30 pounds, but the graph shows a bimodal distribution with no pets near 30 pounds. You should report two groups instead: small pets averaging 9.6 pounds and large pets averaging 50.4 pounds. Looking at the graph first is what exposed this.
Visualization
Why It Matters
Unit 1 of AP Statistics is built on EDA. Free-response questions that say "describe the distribution" expect you to cover shape, outliers, center and spread, all in context. Data analysts also use EDA to catch data-entry errors, gaps and hidden subgroups before they fit a regression or run a hypothesis test.
Common Mistakes
Mistake: Treating a pattern you spotted during EDA as a proven conclusion.
Correction: EDA suggests questions. It does not answer them. Patterns found by searching through data can arise by chance, so confirm them with inference (a test or confidence interval) or, better, with new data.
