Skip to Content
Head First Statistics
book

Head First Statistics

by Dawn Griffiths
August 2008
Beginner
716 pages
16h 41m
English
O'Reilly Media, Inc.
Content preview from Head First Statistics

Chapter 14. The χ2 Distribution: There’s Something Going On...

image with no caption

Sometimes things don’t turn out quite the way you expect.

When you model a situation using a particular probability distribution, you have a good idea of how things are likely to turn out long-term. But what happens if there are differences between what you expect and what you get? How can you tell whether your discrepancies come down to normal fluctuations, or whether they’re a sign of an underlying problem with your probability model instead? In this chapter, we’ll show you how you can use the X2 distribution to analyze your results and sniff out suspicious results.

There may be trouble ahead at Fat Dan’s Casino

Fat Dan’s is used to making a tidy profit from its casino-goers, but this week there’s a problem. The slot machines keep hitting the jackpot, the roulette wheel keeps landing on 12, the dice are loaded, and too many people are winning off one of the blackjack tables.

The casino can’t support the loss for much longer, and Fat Dan suspects foul play. He needs your help to get to the bottom of what’s going on.

image with no caption

Let’s start with the slot machines

As you’ve seen before, Fat Dan’s Casino has a full row of bright, shiny slot machines, just waiting to be played. The trouble is that people keep on playing them—and winning.

Here’s ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

Head First Data Analysis

Head First Data Analysis

Michael Milton
Practical Statistics for Data Scientists, 2nd Edition

Practical Statistics for Data Scientists, 2nd Edition

Peter Bruce, Andrew Bruce, Peter Gedeck

Publisher Resources

ISBN: 9780596527587Errata Page