"An excellent, playful introduction to foundational statistical ideas and calculations."
—Matthew Housley, Co-author of Fundamentals of Data Engineering
Grokking Statistics makes the core ideas of statistics intuitive, practical, and surprisingly entertaining. Using relatable examples, illustrations, and clear explanations, Thomas Nield shows you how to reason about uncertainty, draw useful conclusions from data, and recognize when the numbers themselves may be misleading. You’ll learn to move beyond deterministic thinking and develop the skeptical, questioning mindset that good statistical analysis requires.
Starting with the relationship between samples and populations, you’ll build a practical understanding of probability distributions, the normal distribution, the central limit theorem, confidence intervals, hypothesis testing, and linear and logistic regression. Along the way, you’ll apply these ideas to examples ranging from manufacturing tolerances and business decisions to tornado data and toddler meltdowns. Python handles the calculations so you can concentrate on what the results mean and when you should trust them.
Just as importantly, Grokking Statistics teaches you to question data itself. You’ll learn to look for biased samples, questionable assumptions, misleading metrics, overfitting, p-hacking, and other ways statistical reasoning can go wrong. These are essential practical skills. They matter whether you’re evaluating a research finding, analyzing business data, building a software product, or assessing the performance of a machine learning model.
Clear Python examples explain the concepts throughout the book. Thomas’s practical, sometimes whimsical approach keeps the focus on understanding rather than memorizing formulas. Reviewer Mark J. Miller of Route.com says, “With practical, entertaining examples, you’ll learn key principles and skills that will level up your BS detector!” Reviewer Thomas Briegel of Plaurag Edelmetalle GmbH calls it an “accessible and practical introduction to statistics that avoids intimidating math.”
True to the promise of “grokking,” this book brings your understanding of statistics to a point deep enough to use confidently—and to know how to question conclusions drawn from data. You’ll come away ready to make smarter decisions under uncertainty, evaluate claims critically, and put statistical thinking to work wherever data is involved.
what's inside
Quantify real-world uncertainty
Evaluate classification models using precision and recall metrics
Avoid devastating logical fallacies, data drift, and p-hacking
about the reader
This book is for software developers, data analysts, and tech-adjacent professionals who want to build a practical, intuitive, and confident understanding of statistics. Code examples use Python.
about the author
Thomas Nield is an instructor at the University of Southern California and the founder of Nield Consulting Group and Yawman Flight. He has over a decade of experience in aviation, logistics, and data science, specializing in translating complex mathematical concepts into practical, industry-standard solutions.
concepts explained in this book
The mean is a measure of central location equal to the arithmetic average of numerical observations, or the probability-weighted average of a random variable’s possible values.
Statistics comprises quantitative summaries of data and the mathematical methods used to collect, analyze, interpret, and draw conclusions from observations.
A continuous distribution is a probability distribution over a continuously varying quantity, whose possible values are not restricted to a discrete set.
A null hypothesis is a statistical claim about a population or data-generating process that serves as a reference assumption and is evaluated by a hypothesis test, often asserting no effect or difference.
An alternative hypothesis is a statistical proposition that contrasts with the null hypothesis by asserting an effect, difference, relationship, or other departure.
A p-value is the probability, assuming a specified null hypothesis, of obtaining a test statistic or result at least as extreme as the observed one.
Hypothesis testing is a formal statistical procedure for evaluating evidence from observed data about a specified hypothesis, often a null hypothesis.
Sample size is the number of observations, units, or items included in a sample or group being analyzed.