"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.
About the Technology
About the Book
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.
Quotes Explains concepts in plain language that any reader can access and understand. - Tony Dunsworth, City of Alexandria
Just a basic knowledge of Python will get you started with statistics, and you’ll quickly see some really complex calculations become very attainable. - Jason Richter, The Ohio State University
A recommended first read for any beginner in statistics or probability. - Johannes Ball, DB Cargo AG
An approachable guide applicable to both your career and your daily life. - Mark J. Miller, Route.com
Goes well beyond the ‘how,’ covering much of the ‘why’ and offering valuable career information and advice. - Rich Yonts, Arapahoe Community College
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.