Abstract
Research and development in computer science and statistics have produced increasingly sophisticated software interfaces for interactive and exploratory analysis, optimized for easy pattern finding and data exposure. But design philosophies that emphasize exploration over other phases of analysis risk confusing a need for flexibility with a conclusion that exploratory visual analysis is inherently "model free" and cannot be formalized. We describe how without a grounding in theories of human statistical inference, research in exploratory visual analysis can lead to contradictory interface objectives and representations of uncertainty that can discourage users from drawing valid inferences. We discuss how the concept of a model check in a Bayesian statistical framework unites exploratory and confirmatory analysis, and how this understanding relates to other proposed theories of graphical inference. Viewing interactive analysis as driven by model checks suggests new directions for software and empirical research around exploratory and visual analysis. For example, systems might enable specifying and explicitly comparing data to null and other reference distributions and better representations of uncertainty. Implications of Bayesian and other theories of graphical inference can be tested against outcomes of interactive analysis by people to drive theory development.
Introduction
In the realm of data science, exploratory data analysis (EDA) is often championed as a flexible, "model-free" process of discovery. Modern software interfaces are designed to facilitate this by maximizing "data exposure"—allowing users to slice, dice, and visualize data at the speed of thought. However, in a paper published in the Harvard Data Science Review, Jessica Hullman and Andrew Gelman argue that this philosophy overlooks a critical reality: EDA is fundamentally a process of graphical inference. Without a grounding in statistical theory, these tools risk encouraging users to find patterns where none exist.
The Problem with Exposure-First Design
The prevailing design philosophy in human-computer interaction (HCI) for data analysis focuses on reducing the friction between the user and the data. While this enables rapid exploration, it creates a dangerous gap between visual discovery and statistical validity.
The authors identify two primary issues with this approach:
- Spurious Discoveries: When users perform hundreds of implicit visual hypothesis tests through interactive filtering, they encounter the "multiple comparisons" problem. Without accounting for this, random noise is frequently mistaken for meaningful signal. Research suggests that in unconstrained interactive sessions, over 60% of conclusions reached by analysts can be spurious.
- The Illusion of Model-Free Analysis: "Surprise" during EDA only occurs when data deviates from an analyst's internal expectations. By treating EDA as model-free, current software fails to help users calibrate these implicit mental models against statistical reality.
EDA as Bayesian Model Checking
Hullman and Gelman propose a shift in perspective: viewing EDA as a series of "Bayesian model checks." In this framework, graphical inference is a comparison between observed data ($y$) and replicated data ($y^{rep}$) generated from a hypothesized model.
Using the Ames, Iowa real estate dataset as an example, the authors demonstrate how different visual representations function as model checks. A histogram (Panel A) checks the distribution against a mental norm; a scatter plot (Panel B) checks relationships; and a residual plot (Panel C) explicitly tests the fit of a linear model. This suggests that the distinction between exploratory and confirmatory analysis is a spectrum rather than a binary. Most EDA is actually "rough" confirmatory analysis where the models are simply not yet formalized.
Key Insights for Future Design
The paper offers several provocations for the next generation of data tools:
- Graphs as Visual Test Statistics: A visualization should be viewed as a "test statistic" processed by the human visual system to judge model fit.
- Addressing the Multiple Comparisons Problem: GUIs should track user interactions and adjust the perceived "significance" of patterns, preventing tools from becoming "p-hacking machines."
- Representing Uncertainty: Moving beyond static error bars, tools could use "Hypothetical Outcome Plots" (HOPs)—animations of possible data versions—to help users better judge probability and effect size.
Conclusion
Designing for EDA requires more than just making data easy to see; it requires supporting the inferential process. By integrating theories of graphical inference and Bayesian cognition into software design, we can create tools that don't just "show the data," but actively help analysts build, test, and refine the models in their heads. This transition from "exposure" to "inference" is essential for ensuring that the insights gained from interactive analysis are both meaningful and robust.
Summary updated