Get Free Shipping on orders over $79
Test-Driven Data Analysis : Chapman & Hall/CRC Data Science Series - Nicholas J. Radcliffe

Test-Driven Data Analysis

By: Nicholas J. Radcliffe

Hardcover | 21 April 2026 | Edition Number 1

At a Glance

Hardcover


RRP $284.00

$246.75

13%OFF

or 4 interest-free payments of $61.69 with

 or 

Available: 21st April 2026

Preorder. Will ship when available.

Test-driven data analysis is the synthesis of ideas from test-driven development of software to data-intensive work including data science, data analysis, and data engineering. It is a methodology for improving the quality of data and of analytical pipelines and processes. It can be thought of as data analysis as if the answers actually matter.

Part I of the book describes the use of constraints for data validation and shows how tools can use a machine-learning-style approach to infer suitable constraints from data. This is illustrated using the command-line tools in the open-source Python tdda library, as well as alternatives. These can be used regardless of the programming language in use. Part II covers reference testing of analytical pipelines and processes. Again, there is support in the tdda library for this, including automatic test-generation capabilities for testing software in any language. There are specific discussions of testing models and modeling, including the large language models used in chatbots, coding bots, and summarizers. Part III covers broader kinds of errors that can occur in analysis, including

  • errors of formulation, when the problem domain, methods or libraries are misinterpreted;
  • errors of process, as developed analytical processes are used;
  • errors of applicability, when analytical processes are used in situations for which they were not designed;
  • errors of communication, when valid analyses are misinterpreted; and
  • errors of judgement, when harmful analyses are carried out.

Extensive checklists are provided that can be used to improve quality before, during, and after analysis.

Test-driven data analysis can be thought of as a sibling to reproducible research, with similar concerns, but greater emphasis on automated testing, and less requirement for a human to reproduce results.

Key Features:

  • Prevents costly errors in analytical processes before they reach production through automated data validation and reference testing of data pipelines.
  • Provides actionable checklists for issues beyond the reach of automated testing.
  • Equips readers with open-source Python tools and language-agnostic command-line interfaces.
  • Addresses testing challenges for modern LLM-based systems including chatbots and coding assistants.
  • Instills in analysts an inner voice that is always asking: âHow is this misleading data misleading me?â

Nicholas Radcliffe is the Founder and Director of Stochastic Solutions Limited, a Scottish company specializing in consulting in data science, data analysis, and data engineering. He has also, since 1995, been a Visiting Professor in the Operations Research Group in the School of Mathematics at the University of Edinburgh. He is known for developing forma analysis (sic) of genetic algorithms and uplift modeling, before more recent work on test-driven data analysis.

More in Probability & Statistics

The Maths Book : Big Ideas Simply Explained - DK

RRP $42.99

$32.75

24%
OFF
The Art of Statistics : Learning from Data - David Spiegelhalter

RRP $26.99

$22.99

15%
OFF
Speed : How it Explains the World - Vaclav Smil

RRP $36.99

$29.75

20%
OFF
Rationality : What It Is, Why It Seems Scarce, Why It Matters - Steven Pinker
Sampling Theory and Practice - Casey Murphy
Practical Statistics - Nancy Maxwell

$464.75

Foundations of Statistics - Everett Davies
Psychology Statistics For Dummies : For Dummies - Donncha Hanna

RRP $49.95

$38.75

22%
OFF
Introduction to Medical Statistics : 4th edition - Martin Bland

RRP $70.95

$62.75

12%
OFF
Naked Statistics : Stripping the Dread from the Data - Charles Wheelan
On the Edge : The Art of Risking Everything - Nate Silver

RRP $36.99

$29.75

20%
OFF
Statistics without Tears : An Introduction for Non-Mathematicians - Derek Rowntree
Against the Gods : The Remarkable Story of Risk - Peter L. Bernstein

RRP $37.95

$30.75

19%
OFF
Introduction to Stochastic Processes : 2nd Edition - Gregory F. Lawler

RRP $210.00

$150.75

28%
OFF