Skip to content
GabineteTools for thinking

No. 2078Diagnosing processes

Exploratory Data Analysis

John W. Tukey · 1977

Blackboard tray with pebbles seen by three bent brass magnifying glass: two isolated vermilion pebbles, a hollow and groups; mold closed behind.

The table / Model card · No. 2078 · Diagnosing processes

Exploratory Data Analysis

Look at the data from many angles, mostly with pictures, before you decide what model or test to apply.

Also known as Complexity EDA · EEE (Explore, Extract, Enhance) Variation for Data Exploration

The essentials

What it is

What it solves

How do you learn what a data set actually contains, including errors, outliers and unexpected structure, before committing to a model or a hypothesis that may not fit it?

When to use it

Use it at the start of any analysis of a new or unfamiliar data set, before building a predictive model, when data quality is uncertain, when results look surprising, or when you need hypotheses rather than a yes/no answer.

Where it comes from

Tukey, an American statistician at Princeton and Bell Labs, argued in The Future of Data Analysis (1962) that statistics was too focused on confirmatory testing. He circulated a preliminary edition of Exploratory Data Analysis in 1971 and published the book in 1977. His work encouraged statistical computing at Bell Labs, including the S language that led to R.

John Wilder Tukey · 1977

How it works

EDA reverses the usual order of statistics. Rather than assume a distribution and estimate parameters, the analyst lets the data suggest its own structure. Robust summaries such as the median and quartiles resist outliers, so they describe the bulk of the data honestly. Graphs reveal shape, gaps, clusters and odd points that a single mean or correlation hides; Anscombe's quartet is the standard warning. Re-expressing variables (for example taking logs) and examining residuals after a simple fit expose what remains unexplained. The output is not a proof but a set of informed hypotheses and data fixes, which are then tested with fresh data or confirmatory methods.

You need

A data set with its field definitions; knowledge of how it was collected; a plotting and summary tool (spreadsheet, R, Python); a rough question or area of interest.

You get

Cleaned or flagged data, plots and summaries of key variables and relationships, a list of anomalies, and candidate hypotheses or model choices to test next.

Case

Illustrative case

Brightwater Utilities, a regional water company, wants to model household consumption to set a new tariff. The analyst first plots daily usage for 18,000 meters. A box plot shows 140 meters reporting exactly zero for months and 35 reporting values above 5,000 litres a day. A histogram is strongly right-skewed, so she plots the log of usage, which looks close to symmetric. A scatter of log usage against household size shows two bands: homes with gardens use about 40% more. The zero meters turn out to be faulty units and the extreme ones are small businesses on household tariffs. After removing or reclassifying them, the team models log usage with household size and a garden flag, and tests the model on the following year's data before using it for pricing.

A fictional company used to explain the model.

Caution

When to avoid it

  • Do not use it as a substitute for a pre-registered confirmatory test, such as a clinical trial endpoint.
  • Avoid presenting patterns found by exploration as proven effects on the same data, and do not let open-ended exploration replace a clear decision question when time is short.

Common mistakes

  • Jumping straight to averages and regression without plotting.
  • Treating every pattern found as real instead of as a hypothesis.
  • Deleting outliers without finding out why they exist.
  • Producing dozens of charts with no question behind them.
  • Testing a hypothesis on the same data that suggested it.

Known weaknesses

  • Open-ended and hard to time-box.
  • Easy to mistake chance patterns for real effects.
  • Results depend on the analyst's skill and judgment.
  • Graphical methods scale poorly to very many variables without extra techniques.

How to apply it in 6 steps

How to apply it

Exploratory Data Analysis

6 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 6 steps
  1. Understand the data's origin

    Read how the data was collected, what each field means, and the units, so you can recognise impossible values.

  2. Summarise each variable

    Compute robust summaries such as the five-number summary and count missing values for every field.

  3. Plot distributions

    Use histograms, box plots or stem-and-leaf displays to see shape, skew, gaps and outliers.

  4. Re-express and relate

    Transform skewed variables if needed and plot pairs of variables to find relationships and groups.

  5. Investigate anomalies

    Trace outliers and odd patterns back to their cause and decide whether to fix, flag or keep them.

  6. Record hypotheses

    Write down the patterns that matter and plan how to test them with confirmatory methods or new data.

Which decisions it helps with

Decision profile

A phased process to understand what is happening on any subject.

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIdentity

Type of tool
Phased process
Decision stage
Understand what’s happening
What it applies to
Any subjectGeneral technique: independent of the subject
Discipline
Lean, operations and quality
What it produces
A sequence of phases completed in order

IIIResources required

  • TimeSeveral days
  • PeopleOne person working alone
  • DataData collected for the purpose
  • ExpertiseWorks best with a facilitator
  • Time horizonA few months
  • ScopeBetween “one person” and “one team”
  • FrequencyOccasionally
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationmixedOutside the organisation
  • Understand firstAct now

IVUseful when

Applicable traits

  • What it helps you understandWhat the situation looks like today
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Diagnosing processes

Identify where an operation loses value by examining waste, the value stream, statistical process control and service metrics.

Membership: 24 % · also “Customers and sales” (10 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Tukey, J. W. (1977). Exploratory Data Analysis. Addison-Wesley, Reading, Mass..The book that named and systematised EDA. Internet Archive metadata lists title, John W. Tukey, 1977, Addison-Wesley, ISBN 0201076160 / 9780201076165; details page returned 200.View source: Exploratory Data Analysis (opens in a new tab) ↗

Key development

  1. Tukey, J. W. (1962). The Future of Data Analysis. The Annals of Mathematical Statistics, 33(1).Tukey's manifesto for data analysis as distinct from mathematical statistics, the intellectual basis of EDA. Crossref record confirms title, author, March 1962; DOI resolved with HTTP 200 to Project Euclid.View source: The Future of Data Analysis (opens in a new tab) ↗
  2. Behrens, J. T. (1997). Principles and procedures of exploratory data analysis. Psychological Methods, 2(2), 131.Widely cited restatement of EDA principles for researchers. Confirmed via Crossref record (title, author, June 1997, Psychological Methods); the APA landing page returned 403 to automated requests.View source: Principles and procedures of exploratory data analysis (opens in a new tab) ↗

Critique

  1. Gelman, A. (2004). Exploratory Data Analysis for Complex Models. Journal of Computational and Graphical Statistics 13(4):755-779.Objects to the model-free framing of EDA: Tukey's methods are implicit checks against statistical models, so exploratory and confirmatory analysis should be unified rather than separated.View source: Exploratory Data Analysis for Complex Models (opens in a new tab) ↗

Practical guide

  1. SEMATECH, N. /. (n.d.). NIST/SEMATECH e-Handbook of Statistical Methods, 1.1.1 What is EDA?. National Institute of Standards and Technology.Practitioner reference chapter on EDA. Page returned 200 and defines EDA as an approach, mostly graphical, to uncover structure, detect outliers and test assumptions.View source: NIST/SEMATECH e-Handbook of Statistical Methods, 1.1.1 What is EDA? (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗