Exploratory Data Analysis

Exploratory data analysis (EDA) is the practice of investigating a dataset — through summary statistics and visualization — before committing to any specific hypothesis or formal statistical model, with the explicit goal of discovering patterns, spotting anomalies, and building intuition about what the data actually contains. The term and the underlying philosophy both come from statistician John Tukey, whose 1977 book Exploratory Data Analysis formally named and systematized an approach to statistics that prioritizes looking at data openly and flexibly over immediately applying a predetermined formal test, a deliberate contrast to confirmatory data analysis, where a specific hypothesis is defined in advance and then rigorously tested.

Tukey's central argument was that premature commitment to a specific model or hypothesis risks missing exactly the patterns — outliers, unexpected clusters, non-linear relationships, data quality problems — that a more open-ended first look would reveal, and that formal statistical testing works best when it confirms a pattern already suspected from exploration rather than being the very first thing applied to unfamiliar data. This ordering matters in practice: running a sophisticated statistical test on data that hasn't been explored first risks either missing an obvious data quality problem that would have invalidated the test's assumptions, or applying a method built for a relationship (like a linear one) that the data doesn't actually exhibit — both failure modes EDA is specifically designed to catch before they propagate into a misleading formal conclusion.

New, unfamiliar dataset
Exploratory data analysis — Tukey, 1977
Summary statistics
mean, median, spread, missing values, data types
Visualization
histograms, scatter plots, box plots — look for patterns and anomalies
A candidate, now-informed hypothesis
Confirmatory analysis
Formal hypothesis test
rigorously tests the specific claim EDA suggested

Anscombe's quartet — four datasets constructed by statistician Francis Anscombe in 1973, sharing nearly identical summary statistics (mean, variance, correlation) despite looking completely different when actually plotted — is the most frequently cited illustration in statistics education of precisely why EDA, and visualization specifically, is a necessary step rather than an optional nicety: a table of summary numbers alone cannot reliably distinguish a clean linear relationship from a curved one, or a relationship distorted by a single outlier, while a simple scatter plot reveals the difference immediately and unmistakably. This is the core practical argument for EDA's role in any serious analysis: summary statistics compress information, sometimes in ways that conceal exactly the structure that matters most.

Standard EDA practice follows a fairly consistent sequence across most real projects: checking the dataset's basic shape (number of rows, columns, data types), computing summary statistics for each variable, visualizing individual variable distributions (histograms, box plots), visualizing relationships between pairs of variables (scatter plots, correlation matrices), and specifically checking for missing values, duplicates, and outliers — a checklist-like process precisely because skipping any one of these steps is a common, well-documented way real analyses go wrong later, often not through an obvious error but through an unexamined assumption that turns out not to hold.

EDA is distinct from, but closely related to, data cleaning: cleaning fixes problems once they're identified, while EDA is frequently how those problems get identified in the first place — an unexpected spike in a histogram, an implausible value revealed by a summary statistic, or an unusual cluster in a scatter plot are all discoveries made through exploration that then feed directly into the cleaning process, which is why the two activities are usually interleaved in practice rather than performed as strictly separate, sequential steps.

Read exploratory data analysis as the deliberate practice of looking before testing: Tukey's foundational argument was that a flexible, visually-driven first pass over data catches exactly the structure — outliers, non-linear relationships, data quality issues — that a premature formal test would miss or misinterpret, Anscombe's quartet remains the field's standard, decades-old demonstration of why summary statistics alone are an insufficient substitute for actually looking at the data, and EDA's tight, practical interleaving with data cleaning reflects the fact that exploration is often how a dataset's real problems get discovered in the first place, not merely confirmed after the fact.

Take exploratory data analysis further

Ask the copilot about this term, or have our engineers assess it against your process.