{ "wireMagic": "pb3", "pens": [ { } ], "wsWinStyles": [ { } ], "wpWinPositions": [ { } ], "events": [ { "tStartMs": 300, "dDurationMs": 1530, "segs": [ { "utf8": "- [Justin] In the nation of blobs," } ] }, { "tStartMs": 1830, "dDurationMs": 3270, "segs": [ { "utf8": "there's a popular game\nbased around flipping coins." } ] }, { "tStartMs": 5100, "dDurationMs": 1470, "segs": [ { "utf8": "Each blob brings their own coin" } ] }, { "tStartMs": 6570, "dDurationMs": 1563, "segs": [ { "utf8": "and they take turns flipping." } ] }, { "tStartMs": 8970, "dDurationMs": 1380, "segs": [ { "utf8": "When a coin comes up heads," } ] }, { "tStartMs": 10350, "dDurationMs": 2190, "segs": [ { "utf8": "the one who flipped it feels happy." } ] }, { "tStartMs": 12540, "dDurationMs": 2430, "segs": [ { "utf8": "And the other one feels sad." } ] }, { "tStartMs": 14970, "dDurationMs": 900, "segs": [ { "utf8": "That's it." } ] }, { "tStartMs": 15870, "dDurationMs": 1230, "segs": [ { "utf8": "That's the game." } ] }, { "tStartMs": 17100, "dDurationMs": 3183, "segs": [ { "utf8": "It seems kind of simple, but\nthese blobs are a simple folk." } ] }, { "tStartMs": 21210, "dDurationMs": 2610, "segs": [ { "utf8": "There's a rumor going around\nthat some of the players" } ] }, { "tStartMs": 23820, "dDurationMs": 1050, "segs": [ { "utf8": "are using trick coins" } ] }, { "tStartMs": 24870, "dDurationMs": 2520, "segs": [ { "utf8": "that come up heads more\nthan half the time." } ] }, { "tStartMs": 27390, "dDurationMs": 1560, "segs": [ { "utf8": "And that's just not fair," } ] }, { "tStartMs": 28950, "dDurationMs": 2940, "segs": [ { "utf8": "so we would like to catch these cheaters." } ] }, { "tStartMs": 31890, "dDurationMs": 833, "segs": [ { "utf8": "As a warmup," } ] }, { "tStartMs": 32723, "dDurationMs": 3438, "segs": [ { "utf8": "let's have each of these blobs\nflip its coin five times." } ] }, { "tStartMs": 36161, "dDurationMs": 4250, "segs": [ { "utf8": "(playful electro-percussive music)" } ] }, { "tStartMs": 49090, "dDurationMs": 1790, "segs": [ { "utf8": "Okay, you might be able to tell" } ] }, { "tStartMs": 50880, "dDurationMs": 2160, "segs": [ { "utf8": "that this is an artificial sample." } ] }, { "tStartMs": 53040, "dDurationMs": 1920, "segs": [ { "utf8": "We have results ranging from zero heads," } ] }, { "tStartMs": 54960, "dDurationMs": 2283, "segs": [ { "utf8": "all the way up to five heads in a row." } ] }, { "tStartMs": 58620, "dDurationMs": 1560, "segs": [ { "utf8": "Which of these blobs, if any," } ] }, { "tStartMs": 60180, "dDurationMs": 1800, "segs": [ { "utf8": "would you accuse of being a cheater?" } ] }, { "tStartMs": 62850, "dDurationMs": 1380, "segs": [ { "utf8": "If you'd like to try your hand" } ] }, { "tStartMs": 64230, "dDurationMs": 1770, "segs": [ { "utf8": "at judging the blobs yourself" } ] }, { "tStartMs": 66000, "dDurationMs": 1470, "segs": [ { "utf8": "there is an interactive version" } ] }, { "tStartMs": 67470, "dDurationMs": 2100, "segs": [ { "utf8": "I introduced in the last video." } ] }, { "tStartMs": 69570, "dDurationMs": 1560, "segs": [ { "utf8": "Looking at the data from that game," } ] }, { "tStartMs": 71130, "dDurationMs": 2550, "segs": [ { "utf8": "when a blob got five\nheads out of five flips," } ] }, { "tStartMs": 73680, "dDurationMs": 3243, "segs": [ { "utf8": "it turned out to be a cheater\nonly about 88% of the time." } ] }, { "tStartMs": 77880, "dDurationMs": 1020, "segs": [ { "utf8": "Because of the randomness," } ] }, { "tStartMs": 78900, "dDurationMs": 1950, "segs": [ { "utf8": "it's impossible to be completely sure" } ] }, { "tStartMs": 80850, "dDurationMs": 1740, "segs": [ { "utf8": "whether a blob is a cheater." } ] }, { "tStartMs": 82590, "dDurationMs": 2670, "segs": [ { "utf8": "But some approaches\nare better than others." } ] }, { "tStartMs": 85260, "dDurationMs": 1260, "segs": [ { "utf8": "During the rest of this video," } ] }, { "tStartMs": 86520, "dDurationMs": 1830, "segs": [ { "utf8": "we're gonna build up\none of the main methods" } ] }, { "tStartMs": 88350, "dDurationMs": 2370, "segs": [ { "utf8": "of making decisions with limited data." } ] }, { "tStartMs": 90720, "dDurationMs": 1920, "segs": [ { "utf8": "If you like learning new vocabulary terms," } ] }, { "tStartMs": 92640, "dDurationMs": 1800, "segs": [ { "utf8": "you're in for a real treat." } ] }, { "tStartMs": 94440, "dDurationMs": 3243, "segs": [ { "utf8": "The name of this method is\nfrequentist hypothesis testing." } ] }, { "tStartMs": 98520, "dDurationMs": 2580, "segs": [ { "utf8": "We're gonna design a test\nthat this blob detective" } ] }, { "tStartMs": 101100, "dDurationMs": 3540, "segs": [ { "utf8": "can use in its day-to-day\nwork searching for cheaters." } ] }, { "tStartMs": 104640, "dDurationMs": 2100, "segs": [ { "utf8": "We want three things from this test." } ] }, { "tStartMs": 106740, "dDurationMs": 2340, "segs": [ { "utf8": "First, if a player is using a fair coin," } ] }, { "tStartMs": 109080, "dDurationMs": 3330, "segs": [ { "utf8": "we want to have a low chance\nof wrongly accusing them." } ] }, { "tStartMs": 112410, "dDurationMs": 3000, "segs": [ { "utf8": "Second, if a player is\ncheating, using an unfair coin," } ] }, { "tStartMs": 115410, "dDurationMs": 2190, "segs": [ { "utf8": "we want to have a high\nchance of catching them." } ] }, { "tStartMs": 117600, "dDurationMs": 1770, "segs": [ { "utf8": "And third, we want this test" } ] }, { "tStartMs": 119370, "dDurationMs": 3210, "segs": [ { "utf8": "to use the smallest\nnumber of coins possible." } ] }, { "tStartMs": 122580, "dDurationMs": 1800, "segs": [ { "utf8": "We only have one blob detective," } ] }, { "tStartMs": 124380, "dDurationMs": 4050, "segs": [ { "utf8": "and we want it to be able to\ntest as many players as it can." } ] }, { "tStartMs": 128430, "dDurationMs": 3210, "segs": [ { "utf8": "And it's also nice not to\nbother the players too much." } ] }, { "tStartMs": 131640, "dDurationMs": 1860, "segs": [ { "utf8": "We're gonna design that test together," } ] }, { "tStartMs": 133500, "dDurationMs": 1380, "segs": [ { "utf8": "but if you're feeling up for it," } ] }, { "tStartMs": 134880, "dDurationMs": 3930, "segs": [ { "utf8": "it can be good for learning to\ntry things on your own first." } ] }, { "tStartMs": 138810, "dDurationMs": 2670, "segs": [ { "utf8": "So this is your chance to\npause and take a moment" } ] }, { "tStartMs": 141480, "dDurationMs": 2763, "segs": [ { "utf8": "to think of a test that\nmight satisfy these goals." } ] }, { "tStartMs": 149740, "dDurationMs": 2093, "segs": [ { "utf8": "Okay, let's take it one flip at a time." } ] }, { "tStartMs": 153390, "dDurationMs": 1470, "segs": [ { "utf8": "It came up heads." } ] }, { "tStartMs": 154860, "dDurationMs": 2100, "segs": [ { "utf8": "The cheaters have heads\ncome up more often," } ] }, { "tStartMs": 156960, "dDurationMs": 3513, "segs": [ { "utf8": "so this blob must be a cheater." } ] }, { "tStartMs": 161310, "dDurationMs": 4170, "segs": [ { "utf8": "Well, no, we can't just call\nthem a cheater after one flip." } ] }, { "tStartMs": 165480, "dDurationMs": 2400, "segs": [ { "utf8": "I mean, we could, but with that policy," } ] }, { "tStartMs": 167880, "dDurationMs": 3090, "segs": [ { "utf8": "we'd wrongly accuse quite\na lot of fair players." } ] }, { "tStartMs": 170970, "dDurationMs": 3780, "segs": [ { "utf8": "After all, even if the player\nis fair, there's a 50% chance" } ] }, { "tStartMs": 174750, "dDurationMs": 2580, "segs": [ { "utf8": "that the first flip would come out heads." } ] }, { "tStartMs": 177330, "dDurationMs": 2250, "segs": [ { "utf8": "So let's see the second flip." } ] }, { "tStartMs": 179580, "dDurationMs": 1560, "segs": [ { "utf8": "Heads again!" } ] }, { "tStartMs": 181140, "dDurationMs": 1380, "segs": [ { "utf8": "Cheater?" } ] }, { "tStartMs": 182520, "dDurationMs": 2670, "segs": [ { "utf8": "Well, it's more suspicious\nfor sure, but again," } ] }, { "tStartMs": 185190, "dDurationMs": 2580, "segs": [ { "utf8": "we should think about how\nlikely it is for us to see this" } ] }, { "tStartMs": 187770, "dDurationMs": 1863, "segs": [ { "utf8": "if the coin is actually fair." } ] }, { "tStartMs": 190740, "dDurationMs": 2670, "segs": [ { "utf8": "There are two possible\noutcomes for the first flip" } ] }, { "tStartMs": 193410, "dDurationMs": 3000, "segs": [ { "utf8": "and two possible outcomes\nfor the second flip." } ] }, { "tStartMs": 196410, "dDurationMs": 3180, "segs": [ { "utf8": "Two heads in a row is one\nof four possible outcomes" } ] }, { "tStartMs": 199590, "dDurationMs": 1860, "segs": [ { "utf8": "that are all equally likely." } ] }, { "tStartMs": 201450, "dDurationMs": 3090, "segs": [ { "utf8": "So the probability of two out of two heads" } ] }, { "tStartMs": 204540, "dDurationMs": 3330, "segs": [ { "utf8": "is one fourth or 25%." } ] }, { "tStartMs": 207870, "dDurationMs": 1290, "segs": [ { "utf8": "Another way to get that number" } ] }, { "tStartMs": 209160, "dDurationMs": 2670, "segs": [ { "utf8": "is to multiply the probability values" } ] }, { "tStartMs": 211830, "dDurationMs": 2130, "segs": [ { "utf8": "of the two events together." } ] }, { "tStartMs": 213960, "dDurationMs": 900, "segs": [ { "utf8": "You do have to be careful" } ] }, { "tStartMs": 214860, "dDurationMs": 2520, "segs": [ { "utf8": "about multiplying probabilities,\nsince it only works" } ] }, { "tStartMs": 217380, "dDurationMs": 2790, "segs": [ { "utf8": "if the two events are\nindependent of each other," } ] }, { "tStartMs": 220170, "dDurationMs": 2730, "segs": [ { "utf8": "and that is the case here,\nbecause getting the first heads" } ] }, { "tStartMs": 222900, "dDurationMs": 3480, "segs": [ { "utf8": "doesn't make the second\nheads more or less likely." } ] }, { "tStartMs": 226380, "dDurationMs": 2190, "segs": [ { "utf8": "Anyway, with a one in four chance" } ] }, { "tStartMs": 228570, "dDurationMs": 2130, "segs": [ { "utf8": "of falsely accusing an innocent blob," } ] }, { "tStartMs": 230700, "dDurationMs": 1590, "segs": [ { "utf8": "it still feels a bit too early" } ] }, { "tStartMs": 232290, "dDurationMs": 1650, "segs": [ { "utf8": "to accuse the player of cheating." } ] }, { "tStartMs": 235560, "dDurationMs": 1200, "segs": [ { "utf8": "After another heads," } ] }, { "tStartMs": 236760, "dDurationMs": 3330, "segs": [ { "utf8": "this probability is divided by two again." } ] }, { "tStartMs": 240090, "dDurationMs": 1830, "segs": [ { "utf8": "I'm starting to get pretty suspicious," } ] }, { "tStartMs": 241920, "dDurationMs": 2880, "segs": [ { "utf8": "but we'd still accuse one\nout of eight innocent blobs" } ] }, { "tStartMs": 244800, "dDurationMs": 2610, "segs": [ { "utf8": "if we accused after three heads in a row." } ] }, { "tStartMs": 247410, "dDurationMs": 2160, "segs": [ { "utf8": "We want that rate of false accusations" } ] }, { "tStartMs": 249570, "dDurationMs": 1740, "segs": [ { "utf8": "to be as low as we can get it" } ] }, { "tStartMs": 251310, "dDurationMs": 2940, "segs": [ { "utf8": "but we're never gonna get\nit all the way to zero." } ] }, { "tStartMs": 254250, "dDurationMs": 2250, "segs": [ { "utf8": "It'll always be possible\nfor an innocent blob" } ] }, { "tStartMs": 256500, "dDurationMs": 3270, "segs": [ { "utf8": "to get an epic streak of\nheads and look suspicious." } ] }, { "tStartMs": 259770, "dDurationMs": 3720, "segs": [ { "utf8": "So we have to make a decision\nabout what's good enough." } ] }, { "tStartMs": 263490, "dDurationMs": 2250, "segs": [ { "utf8": "The standard choice here is 5%," } ] }, { "tStartMs": 265740, "dDurationMs": 4140, "segs": [ { "utf8": "or one false accusation out\nof every 20 fair players." } ] }, { "tStartMs": 269880, "dDurationMs": 2520, "segs": [ { "utf8": "We could choose a different\nvalue if we wanted to," } ] }, { "tStartMs": 272400, "dDurationMs": 1600, "segs": [ { "utf8": "but we might as well start here." } ] }, { "tStartMs": 283200, "dDurationMs": 3150, "segs": [ { "utf8": "Okay, so at this point,\nwe've crossed the threshold." } ] }, { "tStartMs": 286350, "dDurationMs": 4470, "segs": [ { "utf8": "There's only a one in 32 or 3.125% chance" } ] }, { "tStartMs": 290820, "dDurationMs": 3180, "segs": [ { "utf8": "of seeing five heads in\na row from a fair coin." } ] }, { "tStartMs": 294000, "dDurationMs": 2700, "segs": [ { "utf8": "So one possible test\nwe could use would be," } ] }, { "tStartMs": 296700, "dDurationMs": 2520, "segs": [ { "utf8": "if a player gets five out of five heads," } ] }, { "tStartMs": 299220, "dDurationMs": 1980, "segs": [ { "utf8": "accuse them of being a cheater." } ] }, { "tStartMs": 301200, "dDurationMs": 2370, "segs": [ { "utf8": "Otherwise, decide they're innocent." } ] }, { "tStartMs": 303570, "dDurationMs": 2310, "segs": [ { "utf8": "So let's see how this test performs." } ] }, { "tStartMs": 305880, "dDurationMs": 1830, "segs": [ { "utf8": "We're gonna want a lot of data." } ] }, { "tStartMs": 307710, "dDurationMs": 2190, "segs": [ { "utf8": "So let's make a set of 1000 players" } ] }, { "tStartMs": 309900, "dDurationMs": 1653, "segs": [ { "utf8": "where half of them are cheaters." } ] }, { "tStartMs": 316800, "dDurationMs": 3000, "segs": [ { "utf8": "Before we see the results,\ntry making some predictions." } ] }, { "tStartMs": 319800, "dDurationMs": 3030, "segs": [ { "utf8": "How often will it wrongfully\naccuse fair players?" } ] }, { "tStartMs": 322830, "dDurationMs": 2950, "segs": [ { "utf8": "And what fraction of the cheaters\ndo you think it'll catch?" } ] }, { "tStartMs": 328890, "dDurationMs": 3450, "segs": [ { "utf8": "Alright, we can divide these\nblobs into four categories." } ] }, { "tStartMs": 332340, "dDurationMs": 2970, "segs": [ { "utf8": "Fair players the test decided are fair." } ] }, { "tStartMs": 335310, "dDurationMs": 2760, "segs": [ { "utf8": "Fair players we wrongly\naccused of cheating." } ] }, { "tStartMs": 338070, "dDurationMs": 1680, "segs": [ { "utf8": "Cheaters who got away with it." } ] }, { "tStartMs": 339750, "dDurationMs": 2280, "segs": [ { "utf8": "And cheaters we caught." } ] }, { "tStartMs": 342030, "dDurationMs": 3090, "segs": [ { "utf8": "It looks like we achieved\ngoal one with flying colors." } ] }, { "tStartMs": 345120, "dDurationMs": 3360, "segs": [ { "utf8": "Not only did we accuse fewer\nthan 5% of the fair players," } ] }, { "tStartMs": 348480, "dDurationMs": 2640, "segs": [ { "utf8": "the test did even better than expected." } ] }, { "tStartMs": 351120, "dDurationMs": 1980, "segs": [ { "utf8": "When we use this test in the real world," } ] }, { "tStartMs": 353100, "dDurationMs": 2280, "segs": [ { "utf8": "we won't know how many\nfair players there are," } ] }, { "tStartMs": 355380, "dDurationMs": 2370, "segs": [ { "utf8": "but seeing how the test\nperformed on this sample," } ] }, { "tStartMs": 357750, "dDurationMs": 2160, "segs": [ { "utf8": "combined with our analysis from before," } ] }, { "tStartMs": 359910, "dDurationMs": 1740, "segs": [ { "utf8": "it feels like we can be pretty confident" } ] }, { "tStartMs": 361650, "dDurationMs": 2613, "segs": [ { "utf8": "that we would accuse\nfewer than 5% of players." } ] }, { "tStartMs": 365340, "dDurationMs": 1650, "segs": [ { "utf8": "We didn't catch very many cheaters," } ] }, { "tStartMs": 366990, "dDurationMs": 1800, "segs": [ { "utf8": "but that's not too surprising." } ] }, { "tStartMs": 368790, "dDurationMs": 1410, "segs": [ { "utf8": "We haven't even thought about them yet," } ] }, { "tStartMs": 370200, "dDurationMs": 2370, "segs": [ { "utf8": "so I'm sure we could do better." } ] }, { "tStartMs": 372570, "dDurationMs": 1860, "segs": [ { "utf8": "Before we make the next\nversion of the test," } ] }, { "tStartMs": 374430, "dDurationMs": 3420, "segs": [ { "utf8": "I think it's worth mentioning\nsome fancy statistics terms." } ] }, { "tStartMs": 377850, "dDurationMs": 2640, "segs": [ { "utf8": "They aren't always necessary,\nbut you might see them around," } ] }, { "tStartMs": 380490, "dDurationMs": 1680, "segs": [ { "utf8": "and like any specialized words," } ] }, { "tStartMs": 382170, "dDurationMs": 3630, "segs": [ { "utf8": "they do make communication\neasier in some contexts." } ] }, { "tStartMs": 385800, "dDurationMs": 3090, "segs": [ { "utf8": "If a test result says not to\naccuse a blob of cheating," } ] }, { "tStartMs": 388890, "dDurationMs": 3630, "segs": [ { "utf8": "it's called a negative result,\nsince nothing was found." } ] }, { "tStartMs": 392520, "dDurationMs": 2790, "segs": [ { "utf8": "And when the test does say\nto accuse a blob of cheating," } ] }, { "tStartMs": 395310, "dDurationMs": 1950, "segs": [ { "utf8": "it's called a positive result." } ] }, { "tStartMs": 397260, "dDurationMs": 2370, "segs": [ { "utf8": "Cheating is a bad thing,\nso not very positive," } ] }, { "tStartMs": 399630, "dDurationMs": 1500, "segs": [ { "utf8": "but the term positive here" } ] }, { "tStartMs": 401130, "dDurationMs": 2077, "segs": [ { "utf8": "is referring to the test saying" } ] }, { "tStartMs": 403207, "dDurationMs": 2783, "segs": [ { "utf8": "\"Yes, the thing I'm looking for is here.\"" } ] }, { "tStartMs": 405990, "dDurationMs": 2160, "segs": [ { "utf8": "The same is true for medical tests." } ] }, { "tStartMs": 408150, "dDurationMs": 1710, "segs": [ { "utf8": "If the test finds what it's looking for," } ] }, { "tStartMs": 409860, "dDurationMs": 2130, "segs": [ { "utf8": "the result is called positive," } ] }, { "tStartMs": 411990, "dDurationMs": 2190, "segs": [ { "utf8": "even though it's usually a bad thing." } ] }, { "tStartMs": 414180, "dDurationMs": 2640, "segs": [ { "utf8": "So we have positive and\nnegative test results," } ] }, { "tStartMs": 416820, "dDurationMs": 2850, "segs": [ { "utf8": "but the results may\nnot agree with reality." } ] }, { "tStartMs": 419670, "dDurationMs": 2370, "segs": [ { "utf8": "When we test a blob\nthat's using a fair coin," } ] }, { "tStartMs": 422040, "dDurationMs": 2340, "segs": [ { "utf8": "the correct result would be negative." } ] }, { "tStartMs": 424380, "dDurationMs": 1800, "segs": [ { "utf8": "So if the test does come up negative," } ] }, { "tStartMs": 426180, "dDurationMs": 2190, "segs": [ { "utf8": "it's called a true negative." } ] }, { "tStartMs": 428370, "dDurationMs": 2790, "segs": [ { "utf8": "And if the test comes out\npositive, that's wrong," } ] }, { "tStartMs": 431160, "dDurationMs": 2160, "segs": [ { "utf8": "so it's called a false positive." } ] }, { "tStartMs": 433320, "dDurationMs": 1350, "segs": [ { "utf8": "And when we test a cheater," } ] }, { "tStartMs": 434670, "dDurationMs": 1680, "segs": [ { "utf8": "the correct result would be positive," } ] }, { "tStartMs": 436350, "dDurationMs": 1890, "segs": [ { "utf8": "so if the test does come up positive," } ] }, { "tStartMs": 438240, "dDurationMs": 2250, "segs": [ { "utf8": "we call it a true positive." } ] }, { "tStartMs": 440490, "dDurationMs": 3240, "segs": [ { "utf8": "And if the test incorrectly\ngives a negative result," } ] }, { "tStartMs": 443730, "dDurationMs": 1383, "segs": [ { "utf8": "that's a false negative." } ] }, { "tStartMs": 446940, "dDurationMs": 3660, "segs": [ { "utf8": "We can also rephrase that first\ngoal using another new term," } ] }, { "tStartMs": 450600, "dDurationMs": 2220, "segs": [ { "utf8": "the false positive rate." } ] }, { "tStartMs": 452820, "dDurationMs": 3060, "segs": [ { "utf8": "This can be a dangerously\nconfusing term though." } ] }, { "tStartMs": 455880, "dDurationMs": 3000, "segs": [ { "utf8": "It's easy to mix up what\nthe denominator should be." } ] }, { "tStartMs": 458880, "dDurationMs": 3000, "segs": [ { "utf8": "False positive rate\nsounds like you're saying," } ] }, { "tStartMs": 461880, "dDurationMs": 1320, "segs": [ { "utf8": "out of all the positives," } ] }, { "tStartMs": 463200, "dDurationMs": 2940, "segs": [ { "utf8": "what fraction of those\npositives are false." } ] }, { "tStartMs": 466140, "dDurationMs": 4140, "segs": [ { "utf8": "Or even, out of all the tests,\nhow many are false positives?" } ] }, { "tStartMs": 470280, "dDurationMs": 2970, "segs": [ { "utf8": "But really, it's saying,\nout of all the fair players," } ] }, { "tStartMs": 473250, "dDurationMs": 2703, "segs": [ { "utf8": "how many of them are\nfalsely labeled positive?" } ] }, { "tStartMs": 477930, "dDurationMs": 2280, "segs": [ { "utf8": "I've known these words for quite a while," } ] }, { "tStartMs": 480210, "dDurationMs": 2070, "segs": [ { "utf8": "but my brain still\nautomatically interprets it" } ] }, { "tStartMs": 482280, "dDurationMs": 2310, "segs": [ { "utf8": "the wrong way basically every time." } ] }, { "tStartMs": 484590, "dDurationMs": 2610, "segs": [ { "utf8": "So to keep things as clear\nas possible for this video," } ] }, { "tStartMs": 487200, "dDurationMs": 2450, "segs": [ { "utf8": "we'll keep using the longer\nwording for goal one." } ] }, { "tStartMs": 490830, "dDurationMs": 2433, "segs": [ { "utf8": "Okay, let's go back to designing the test." } ] }, { "tStartMs": 494160, "dDurationMs": 1440, "segs": [ { "utf8": "We still need to figure out a way" } ] }, { "tStartMs": 495600, "dDurationMs": 2460, "segs": [ { "utf8": "to achieve goal number two." } ] }, { "tStartMs": 498060, "dDurationMs": 3030, "segs": [ { "utf8": "Let's start by making\nthe goal more precise." } ] }, { "tStartMs": 501090, "dDurationMs": 1440, "segs": [ { "utf8": "To do that, we need to pick a number" } ] }, { "tStartMs": 502530, "dDurationMs": 3300, "segs": [ { "utf8": "for the minimum fraction of\ncheaters we want to catch." } ] }, { "tStartMs": 505830, "dDurationMs": 1500, "segs": [ { "utf8": "Using the terms from before," } ] }, { "tStartMs": 507330, "dDurationMs": 3000, "segs": [ { "utf8": "we could also call this the\nminimum true positive rate." } ] }, { "tStartMs": 510330, "dDurationMs": 2220, "segs": [ { "utf8": "But again, let's stick\nwith the plain language." } ] }, { "tStartMs": 512550, "dDurationMs": 2370, "segs": [ { "utf8": "And to throw even more words at you," } ] }, { "tStartMs": 514920, "dDurationMs": 1650, "segs": [ { "utf8": "this minimum is sometimes called" } ] }, { "tStartMs": 516570, "dDurationMs": 2820, "segs": [ { "utf8": "the statistical power of the test." } ] }, { "tStartMs": 519390, "dDurationMs": 2763, "segs": [ { "utf8": "It's the power of the\ntest to detect a cheater." } ] }, { "tStartMs": 523230, "dDurationMs": 4590, "segs": [ { "utf8": "The standard target for\nstatistical power is 80%." } ] }, { "tStartMs": 527820, "dDurationMs": 2400, "segs": [ { "utf8": "Just like the 5% number in the first goal," } ] }, { "tStartMs": 530220, "dDurationMs": 2160, "segs": [ { "utf8": "we could pick any value we want here." } ] }, { "tStartMs": 532380, "dDurationMs": 1980, "segs": [ { "utf8": "But let's run with 80% for now," } ] }, { "tStartMs": 534360, "dDurationMs": 3030, "segs": [ { "utf8": "and we'll talk about\ndifferent choices later on." } ] }, { "tStartMs": 537390, "dDurationMs": 1080, "segs": [ { "utf8": "Now for calculating" } ] }, { "tStartMs": 538470, "dDurationMs": 3120, "segs": [ { "utf8": "what we expect the true\npositive rate to be." } ] }, { "tStartMs": 541590, "dDurationMs": 1050, "segs": [ { "utf8": "What's the probability" } ] }, { "tStartMs": 542640, "dDurationMs": 2580, "segs": [ { "utf8": "that a cheater would\nget five heads in a row?" } ] }, { "tStartMs": 545220, "dDurationMs": 1750, "segs": [ { "utf8": "Take a moment to try that yourself." } ] }, { "tStartMs": 551670, "dDurationMs": 2490, "segs": [ { "utf8": "Okay, that was kind of a trick question." } ] }, { "tStartMs": 554160, "dDurationMs": 1620, "segs": [ { "utf8": "There's no way to calculate that number," } ] }, { "tStartMs": 555780, "dDurationMs": 1830, "segs": [ { "utf8": "since we haven't actually said anything" } ] }, { "tStartMs": 557610, "dDurationMs": 3780, "segs": [ { "utf8": "about how often an unfair\ncoin comes up heads." } ] }, { "tStartMs": 561390, "dDurationMs": 2370, "segs": [ { "utf8": "In that trial we just did with 1000 blobs," } ] }, { "tStartMs": 563760, "dDurationMs": 2340, "segs": [ { "utf8": "the cheaters were using\ncoins that land heads" } ] }, { "tStartMs": 566100, "dDurationMs": 1860, "segs": [ { "utf8": "75% of the time." } ] }, { "tStartMs": 567960, "dDurationMs": 2970, "segs": [ { "utf8": "We don't know for sure if\nthat's what the real blobs do." } ] }, { "tStartMs": 570930, "dDurationMs": 3120, "segs": [ { "utf8": "So this 75% is an assumption." } ] }, { "tStartMs": 574050, "dDurationMs": 3120, "segs": [ { "utf8": "But we need some number here\nto calculate the probabilities," } ] }, { "tStartMs": 577170, "dDurationMs": 2340, "segs": [ { "utf8": "so we gotta run with something." } ] }, { "tStartMs": 579510, "dDurationMs": 3480, "segs": [ { "utf8": "And yet another word, this\nis called the effect size." } ] }, { "tStartMs": 582990, "dDurationMs": 4050, "segs": [ { "utf8": "In this case, it's the effect\nof using an unfair coin." } ] }, { "tStartMs": 587040, "dDurationMs": 1410, "segs": [ { "utf8": "You might be getting annoyed" } ] }, { "tStartMs": 588450, "dDurationMs": 2160, "segs": [ { "utf8": "that this is the third time I've said" } ] }, { "tStartMs": 590610, "dDurationMs": 3060, "segs": [ { "utf8": "we should just run with\nsome arbitrary number." } ] }, { "tStartMs": 593670, "dDurationMs": 1410, "segs": [ { "utf8": "But what can I tell ya?" } ] }, { "tStartMs": 595080, "dDurationMs": 3390, "segs": [ { "utf8": "Some things are uncertain\nand some things are up to us." } ] }, { "tStartMs": 598470, "dDurationMs": 1740, "segs": [ { "utf8": "The important thing is to remember" } ] }, { "tStartMs": 600210, "dDurationMs": 2940, "segs": [ { "utf8": "when we're making an\nassumption or making a choice." } ] }, { "tStartMs": 603150, "dDurationMs": 1740, "segs": [ { "utf8": "That way we can note our assumptions" } ] }, { "tStartMs": 604890, "dDurationMs": 2910, "segs": [ { "utf8": "when we make any conclusions,\nand we can adjust the test" } ] }, { "tStartMs": 607800, "dDurationMs": 2550, "segs": [ { "utf8": "for different choices if\nwe change our minds later." } ] }, { "tStartMs": 611370, "dDurationMs": 2580, "segs": [ { "utf8": "But now that we have a number,\nlet's do the calculation." } ] }, { "tStartMs": 613950, "dDurationMs": 3300, "segs": [ { "utf8": "If the probability of each heads is 0.75," } ] }, { "tStartMs": 617250, "dDurationMs": 5000, "segs": [ { "utf8": "the probability of five heads\nin a row is 0.75 to the fifth," } ] }, { "tStartMs": 622260, "dDurationMs": 2550, "segs": [ { "utf8": "or about 24%." } ] }, { "tStartMs": 624810, "dDurationMs": 4680, "segs": [ { "utf8": "So our existing test should\ncatch about 24% of cheaters." } ] }, { "tStartMs": 629490, "dDurationMs": 2100, "segs": [ { "utf8": "And hey, that is pretty close\nto what we saw in the trial," } ] }, { "tStartMs": 631590, "dDurationMs": 2610, "segs": [ { "utf8": "so everything seems to\nbe fitting together." } ] }, { "tStartMs": 634200, "dDurationMs": 2583, "segs": [ { "utf8": "But our goal is to catch 80% of cheaters." } ] }, { "tStartMs": 637650, "dDurationMs": 2520, "segs": [ { "utf8": "The current test is a little bit extreme." } ] }, { "tStartMs": 640170, "dDurationMs": 4020, "segs": [ { "utf8": "It requires 100% heads\nfor a positive result." } ] }, { "tStartMs": 644190, "dDurationMs": 2910, "segs": [ { "utf8": "This does make false positives\nunlikely, which is good," } ] }, { "tStartMs": 647100, "dDurationMs": 4170, "segs": [ { "utf8": "but it also makes true positives\nunlikely, which is bad." } ] }, { "tStartMs": 651270, "dDurationMs": 1920, "segs": [ { "utf8": "So we're gonna have to think about a test" } ] }, { "tStartMs": 653190, "dDurationMs": 3000, "segs": [ { "utf8": "that allows for a mixture\nof heads and tails." } ] }, { "tStartMs": 656190, "dDurationMs": 2040, "segs": [ { "utf8": "Calculating probabilities\nfor something like this" } ] }, { "tStartMs": 658230, "dDurationMs": 1920, "segs": [ { "utf8": "can be a bit confusing though." } ] }, { "tStartMs": 660150, "dDurationMs": 2100, "segs": [ { "utf8": "For example, if we make a new test" } ] }, { "tStartMs": 662250, "dDurationMs": 2820, "segs": [ { "utf8": "that requires a blob to\nflip their coin 10 times," } ] }, { "tStartMs": 665070, "dDurationMs": 1620, "segs": [ { "utf8": "and accuses them of being a cheater" } ] }, { "tStartMs": 666690, "dDurationMs": 2220, "segs": [ { "utf8": "if they get seven or more heads," } ] }, { "tStartMs": 668910, "dDurationMs": 1740, "segs": [ { "utf8": "the calculations in that situation" } ] }, { "tStartMs": 670650, "dDurationMs": 1290, "segs": [ { "utf8": "are gonna be a lot harder." } ] }, { "tStartMs": 671940, "dDurationMs": 1350, "segs": [ { "utf8": "There are a bunch of ways" } ] }, { "tStartMs": 673290, "dDurationMs": 2550, "segs": [ { "utf8": "for there to be seven\nheads out of 10 flips." } ] }, { "tStartMs": 675840, "dDurationMs": 2010, "segs": [ { "utf8": "And we also have to think\nabout the possibilities" } ] }, { "tStartMs": 677850, "dDurationMs": 1863, "segs": [ { "utf8": "of eight, nine, and 10 heads." } ] }, { "tStartMs": 680610, "dDurationMs": 1290, "segs": [ { "utf8": "To start making sense of this," } ] }, { "tStartMs": 681900, "dDurationMs": 2550, "segs": [ { "utf8": "let's go back to just two flips." } ] }, { "tStartMs": 684450, "dDurationMs": 840, "segs": [ { "utf8": "With a fair coin," } ] }, { "tStartMs": 685290, "dDurationMs": 3360, "segs": [ { "utf8": "each of these four possible\noutcomes is equally likely." } ] }, { "tStartMs": 688650, "dDurationMs": 2640, "segs": [ { "utf8": "So the probabilities are one out of four" } ] }, { "tStartMs": 691290, "dDurationMs": 1440, "segs": [ { "utf8": "for getting zero heads," } ] }, { "tStartMs": 692730, "dDurationMs": 2460, "segs": [ { "utf8": "two out of four for\ngetting exactly one heads," } ] }, { "tStartMs": 695190, "dDurationMs": 3120, "segs": [ { "utf8": "and one out of four to get two heads." } ] }, { "tStartMs": 698310, "dDurationMs": 1890, "segs": [ { "utf8": "But with an unfair coin that favors heads," } ] }, { "tStartMs": 700200, "dDurationMs": 2300, "segs": [ { "utf8": "they're skewed toward\nresults with more heads." } ] }, { "tStartMs": 705150, "dDurationMs": 2850, "segs": [ { "utf8": "With three flips, there are\neight possibilities total," } ] }, { "tStartMs": 708000, "dDurationMs": 2133, "segs": [ { "utf8": "with four possible numbers of heads." } ] }, { "tStartMs": 712740, "dDurationMs": 1680, "segs": [ { "utf8": "As we add more and more flips," } ] }, { "tStartMs": 714420, "dDurationMs": 1710, "segs": [ { "utf8": "it quickly becomes quite a chore" } ] }, { "tStartMs": 716130, "dDurationMs": 1890, "segs": [ { "utf8": "to list out all the possible outcomes" } ] }, { "tStartMs": 718020, "dDurationMs": 1980, "segs": [ { "utf8": "and add up the probabilities." } ] }, { "tStartMs": 720000, "dDurationMs": 1500, "segs": [ { "utf8": "But there is a pattern to it," } ] }, { "tStartMs": 721500, "dDurationMs": 2490, "segs": [ { "utf8": "so thankfully there's a\nformula for cases like this" } ] }, { "tStartMs": 723990, "dDurationMs": 2160, "segs": [ { "utf8": "called the binomial distribution." } ] }, { "tStartMs": 726150, "dDurationMs": 1470, "segs": [ { "utf8": "It's not as scary as it looks," } ] }, { "tStartMs": 727620, "dDurationMs": 3780, "segs": [ { "utf8": "but still a full explanation\ndeserves its own video." } ] }, { "tStartMs": 731400, "dDurationMs": 2280, "segs": [ { "utf8": "I'll put some links about\nthis in the description," } ] }, { "tStartMs": 733680, "dDurationMs": 2220, "segs": [ { "utf8": "but for now just know that this formula" } ] }, { "tStartMs": 735900, "dDurationMs": 1860, "segs": [ { "utf8": "is what we're using to\nmake these bar graphs," } ] }, { "tStartMs": 737760, "dDurationMs": 1860, "segs": [ { "utf8": "and it follows the same pattern we used" } ] }, { "tStartMs": 739620, "dDurationMs": 1743, "segs": [ { "utf8": "for two flips and three flips." } ] }, { "tStartMs": 742800, "dDurationMs": 2730, "segs": [ { "utf8": "Now let's go back to our\ntest rule from before," } ] }, { "tStartMs": 745530, "dDurationMs": 1110, "segs": [ { "utf8": "where we accuse a player" } ] }, { "tStartMs": 746640, "dDurationMs": 2640, "segs": [ { "utf8": "if they get five out of five heads." } ] }, { "tStartMs": 749280, "dDurationMs": 1770, "segs": [ { "utf8": "We can show the rule on these graphs" } ] }, { "tStartMs": 751050, "dDurationMs": 1290, "segs": [ { "utf8": "by drawing a vertical line" } ] }, { "tStartMs": 752340, "dDurationMs": 2850, "segs": [ { "utf8": "that separates the positive\ntest results on the right," } ] }, { "tStartMs": 755190, "dDurationMs": 2610, "segs": [ { "utf8": "from the negative test\nresults on the left." } ] }, { "tStartMs": 757800, "dDurationMs": 1590, "segs": [ { "utf8": "On the fair player graph," } ] }, { "tStartMs": 759390, "dDurationMs": 3120, "segs": [ { "utf8": "the bars to the left\nrepresent the true negatives," } ] }, { "tStartMs": 762510, "dDurationMs": 2310, "segs": [ { "utf8": "or the innocent blobs we leave alone," } ] }, { "tStartMs": 764820, "dDurationMs": 2430, "segs": [ { "utf8": "and to the right are the false positives," } ] }, { "tStartMs": 767250, "dDurationMs": 2970, "segs": [ { "utf8": "the fair players we wrongfully accuse." } ] }, { "tStartMs": 770220, "dDurationMs": 2370, "segs": [ { "utf8": "And on the cheater graph,\nthe bars to the left" } ] }, { "tStartMs": 772590, "dDurationMs": 1890, "segs": [ { "utf8": "represent the false negatives," } ] }, { "tStartMs": 774480, "dDurationMs": 2250, "segs": [ { "utf8": "the cheaters who evade our detection," } ] }, { "tStartMs": 776730, "dDurationMs": 2250, "segs": [ { "utf8": "and the bars to the right\nare the true positives," } ] }, { "tStartMs": 778980, "dDurationMs": 1143, "segs": [ { "utf8": "the cheaters we catch." } ] }, { "tStartMs": 781020, "dDurationMs": 2190, "segs": [ { "utf8": "Just like before, we\ncan see that this test" } ] }, { "tStartMs": 783210, "dDurationMs": 3030, "segs": [ { "utf8": "satisfies our first goal\nof accusing less than 5%" } ] }, { "tStartMs": 786240, "dDurationMs": 3060, "segs": [ { "utf8": "of the fair players we test on average." } ] }, { "tStartMs": 789300, "dDurationMs": 1770, "segs": [ { "utf8": "But it doesn't satisfy our second goal" } ] }, { "tStartMs": 791070, "dDurationMs": 2520, "segs": [ { "utf8": "of catching at least 80%\nof the cheaters we test," } ] }, { "tStartMs": 793590, "dDurationMs": 1800, "segs": [ { "utf8": "again, on average." } ] }, { "tStartMs": 795390, "dDurationMs": 1170, "segs": [ { "utf8": "But now that we have these graphs," } ] }, { "tStartMs": 796560, "dDurationMs": 3000, "segs": [ { "utf8": "we can see what happens when\nwe change the number of heads." } ] }, { "tStartMs": 799560, "dDurationMs": 3180, "segs": [ { "utf8": "If we lower the threshold to\nfour or more heads out of five," } ] }, { "tStartMs": 802740, "dDurationMs": 2550, "segs": [ { "utf8": "we don't meet either requirement." } ] }, { "tStartMs": 805290, "dDurationMs": 1740, "segs": [ { "utf8": "If we keep lowering the threshold," } ] }, { "tStartMs": 807030, "dDurationMs": 1890, "segs": [ { "utf8": "it can allow us to meet goal two," } ] }, { "tStartMs": 808920, "dDurationMs": 1920, "segs": [ { "utf8": "catching more than 80% of the cheaters," } ] }, { "tStartMs": 810840, "dDurationMs": 4110, "segs": [ { "utf8": "but then we accuse even more\nfair blobs, so that won't work." } ] }, { "tStartMs": 814950, "dDurationMs": 3210, "segs": [ { "utf8": "Apparently, if we want to meet\nboth goals at the same time," } ] }, { "tStartMs": 818160, "dDurationMs": 1890, "segs": [ { "utf8": "we're gonna need more flips." } ] }, { "tStartMs": 820050, "dDurationMs": 2130, "segs": [ { "utf8": "If we put these graphs\nright next to each other," } ] }, { "tStartMs": 822180, "dDurationMs": 2100, "segs": [ { "utf8": "we can see that the blue\nand red distributions" } ] }, { "tStartMs": 824280, "dDurationMs": 1620, "segs": [ { "utf8": "overlap quite a lot." } ] }, { "tStartMs": 825900, "dDurationMs": 1800, "segs": [ { "utf8": "So it's impossible to make a test" } ] }, { "tStartMs": 827700, "dDurationMs": 3150, "segs": [ { "utf8": "that reliably separates\nfair players from cheaters." } ] }, { "tStartMs": 830850, "dDurationMs": 3300, "segs": [ { "utf8": "But if we increase the\nnumber of flips to, say, 100," } ] }, { "tStartMs": 834150, "dDurationMs": 2040, "segs": [ { "utf8": "now there's a big gap\nbetween the distributions," } ] }, { "tStartMs": 836190, "dDurationMs": 3150, "segs": [ { "utf8": "so it's easy to find a\nline that separates them." } ] }, { "tStartMs": 839340, "dDurationMs": 1530, "segs": [ { "utf8": "But we also have this third goal" } ] }, { "tStartMs": 840870, "dDurationMs": 2040, "segs": [ { "utf8": "of using as few coin flips as possible," } ] }, { "tStartMs": 842910, "dDurationMs": 2700, "segs": [ { "utf8": "so we should try to find\na happy medium somehow." } ] }, { "tStartMs": 845610, "dDurationMs": 1680, "segs": [ { "utf8": "Since we already have the computer set up" } ] }, { "tStartMs": 847290, "dDurationMs": 2250, "segs": [ { "utf8": "to run the numbers, we\ncan go back to five flips" } ] }, { "tStartMs": 849540, "dDurationMs": 1890, "segs": [ { "utf8": "and just keep trying different thresholds" } ] }, { "tStartMs": 851430, "dDurationMs": 1050, "segs": [ { "utf8": "with more and more flips" } ] }, { "tStartMs": 852480, "dDurationMs": 2163, "segs": [ { "utf8": "until we find a test rule that works." } ] }, { "tStartMs": 861480, "dDurationMs": 2280, "segs": [ { "utf8": "It turns out that the smallest test" } ] }, { "tStartMs": 863760, "dDurationMs": 1680, "segs": [ { "utf8": "that meets our first two goals" } ] }, { "tStartMs": 865440, "dDurationMs": 2730, "segs": [ { "utf8": "has a blob flip its coin 23 times," } ] }, { "tStartMs": 868170, "dDurationMs": 1680, "segs": [ { "utf8": "and the blob is accused of being a cheater" } ] }, { "tStartMs": 869850, "dDurationMs": 2220, "segs": [ { "utf8": "if they get 16 or more heads." } ] }, { "tStartMs": 872070, "dDurationMs": 2070, "segs": [ { "utf8": "That's more than I would've\nguessed at the start," } ] }, { "tStartMs": 874140, "dDurationMs": 3153, "segs": [ { "utf8": "but it's not so, so huge, so, it'll do." } ] }, { "tStartMs": 878400, "dDurationMs": 2373, "segs": [ { "utf8": "Alright, let's use this\nto test a few blobs." } ] }, { "tStartMs": 893820, "dDurationMs": 2100, "segs": [ { "utf8": "This blob got 17 heads." } ] }, { "tStartMs": 895920, "dDurationMs": 2250, "segs": [ { "utf8": "That fits our rule of 16 or more," } ] }, { "tStartMs": 898170, "dDurationMs": 1290, "segs": [ { "utf8": "so according to that test," } ] }, { "tStartMs": 899460, "dDurationMs": 2280, "segs": [ { "utf8": "we should call this blob a cheater." } ] }, { "tStartMs": 901740, "dDurationMs": 2160, "segs": [ { "utf8": "There is another term\nworth mentioning here." } ] }, { "tStartMs": 903900, "dDurationMs": 1770, "segs": [ { "utf8": "Assuming this blob is innocent," } ] }, { "tStartMs": 905670, "dDurationMs": 3000, "segs": [ { "utf8": "the probability that\nthey'd get 17 or more heads" } ] }, { "tStartMs": 908670, "dDurationMs": 2550, "segs": [ { "utf8": "is about 1.7%." } ] }, { "tStartMs": 911220, "dDurationMs": 4380, "segs": [ { "utf8": "We call this 1.7% the P\nvalue for this test result." } ] }, { "tStartMs": 915600, "dDurationMs": 1950, "segs": [ { "utf8": "It's kind of like a false positive rate" } ] }, { "tStartMs": 917550, "dDurationMs": 1293, "segs": [ { "utf8": "for a single test result." } ] }, { "tStartMs": 919680, "dDurationMs": 1286, "segs": [ { "utf8": "Kind of." } ] }, { "tStartMs": 920966, "dDurationMs": 3754, "segs": [ { "utf8": "1.7% is below the 5% we\nset as our threshold," } ] }, { "tStartMs": 924720, "dDurationMs": 3720, "segs": [ { "utf8": "so according to the test,\nwe call this one a cheater." } ] }, { "tStartMs": 928440, "dDurationMs": 1890, "segs": [ { "utf8": "And looking at it from\nthe other direction," } ] }, { "tStartMs": 930330, "dDurationMs": 1290, "segs": [ { "utf8": "if the blob is cheating," } ] }, { "tStartMs": 931620, "dDurationMs": 3240, "segs": [ { "utf8": "using a coin that comes\nup heads 75% of the time," } ] }, { "tStartMs": 934860, "dDurationMs": 4500, "segs": [ { "utf8": "there's a 65% chance that\nthey'd get 17 or more heads." } ] }, { "tStartMs": 939360, "dDurationMs": 2850, "segs": [ { "utf8": "Another way to say it is\nthat they're in the top 65%" } ] }, { "tStartMs": 942210, "dDurationMs": 1950, "segs": [ { "utf8": "of results we'd expect from cheaters." } ] }, { "tStartMs": 944160, "dDurationMs": 2340, "segs": [ { "utf8": "So if we wanna catch 80% of the cheaters" } ] }, { "tStartMs": 946500, "dDurationMs": 1800, "segs": [ { "utf8": "we'd better call this one a cheater." } ] }, { "tStartMs": 949440, "dDurationMs": 2043, "segs": [ { "utf8": "Okay, let's try it with one more blob." } ] }, { "tStartMs": 964500, "dDurationMs": 2520, "segs": [ { "utf8": "This one got 13 heads." } ] }, { "tStartMs": 967020, "dDurationMs": 2310, "segs": [ { "utf8": "This is more than half of the 23 flips," } ] }, { "tStartMs": 969330, "dDurationMs": 2250, "segs": [ { "utf8": "so it's tempting to call it a cheater." } ] }, { "tStartMs": 971580, "dDurationMs": 2640, "segs": [ { "utf8": "But 13 is below the 16 heads" } ] }, { "tStartMs": 974220, "dDurationMs": 2790, "segs": [ { "utf8": "the test requires for\na positive result, so," } ] }, { "tStartMs": 977010, "dDurationMs": 1890, "segs": [ { "utf8": "we call it a fair player." } ] }, { "tStartMs": 978900, "dDurationMs": 3030, "segs": [ { "utf8": "The P value of this result is about 34%." } ] }, { "tStartMs": 981930, "dDurationMs": 2850, "segs": [ { "utf8": "So if we accuse players\nwith results like this," } ] }, { "tStartMs": 984780, "dDurationMs": 4110, "segs": [ { "utf8": "we'd expect to wrongly\naccuse about 34% of players." } ] }, { "tStartMs": 988890, "dDurationMs": 2310, "segs": [ { "utf8": "That's well beyond our 5% tolerance," } ] }, { "tStartMs": 991200, "dDurationMs": 2340, "segs": [ { "utf8": "so we can't call it a cheater." } ] }, { "tStartMs": 993540, "dDurationMs": 2220, "segs": [ { "utf8": "And looking at it from\nthe other direction," } ] }, { "tStartMs": 995760, "dDurationMs": 3690, "segs": [ { "utf8": "if it were a cheater, there\nwould be about a 99% chance" } ] }, { "tStartMs": 999450, "dDurationMs": 2190, "segs": [ { "utf8": "that they'd get this many heads or more." } ] }, { "tStartMs": 1001640, "dDurationMs": 2160, "segs": [ { "utf8": "We don't have to catch 99% of the cheaters" } ] }, { "tStartMs": 1003800, "dDurationMs": 2940, "segs": [ { "utf8": "to hit our 80% goal, so we\ncan still meet that goal" } ] }, { "tStartMs": 1006740, "dDurationMs": 2550, "segs": [ { "utf8": "if we let this one off the hook." } ] }, { "tStartMs": 1009290, "dDurationMs": 2550, "segs": [ { "utf8": "Is the first one really a cheater?" } ] }, { "tStartMs": 1011840, "dDurationMs": 2430, "segs": [ { "utf8": "Is that second one really playing fair?" } ] }, { "tStartMs": 1014270, "dDurationMs": 1140, "segs": [ { "utf8": "We can't know for sure," } ] }, { "tStartMs": 1015410, "dDurationMs": 1980, "segs": [ { "utf8": "but based on how we designed our test" } ] }, { "tStartMs": 1017390, "dDurationMs": 3180, "segs": [ { "utf8": "we should expect to catch at\nleast 80% of the cheaters," } ] }, { "tStartMs": 1020570, "dDurationMs": 3423, "segs": [ { "utf8": "and falsely accuse less\nthan 5% of the fair players." } ] }, { "tStartMs": 1026630, "dDurationMs": 1830, "segs": [ { "utf8": "So now let's see how this test does" } ] }, { "tStartMs": 1028460, "dDurationMs": 2400, "segs": [ { "utf8": "on another group of 1000 blobs." } ] }, { "tStartMs": 1030860, "dDurationMs": 2220, "segs": [ { "utf8": "Like before, half the blobs in this group" } ] }, { "tStartMs": 1033080, "dDurationMs": 1140, "segs": [ { "utf8": "are using a trick coin" } ] }, { "tStartMs": 1034220, "dDurationMs": 3483, "segs": [ { "utf8": "that has a 75% probability\nof landing heads." } ] }, { "tStartMs": 1042440, "dDurationMs": 2340, "segs": [ { "utf8": "Okay, the results do look about right." } ] }, { "tStartMs": 1044780, "dDurationMs": 3780, "segs": [ { "utf8": "We accused less than\n5% of the fair players," } ] }, { "tStartMs": 1048560, "dDurationMs": 2853, "segs": [ { "utf8": "and we caught more than\n80% of the cheaters." } ] }, { "tStartMs": 1052400, "dDurationMs": 4080, "segs": [ { "utf8": "5% and 80% are the normal\nnumbers for historical reasons." } ] }, { "tStartMs": 1056480, "dDurationMs": 2460, "segs": [ { "utf8": "So we could make different\ndecisions if we like." } ] }, { "tStartMs": 1058940, "dDurationMs": 840, "segs": [ { "utf8": "Maybe we decide" } ] }, { "tStartMs": 1059780, "dDurationMs": 2490, "segs": [ { "utf8": "that we really do not\nwant to bother the blobs" } ] }, { "tStartMs": 1062270, "dDurationMs": 1230, "segs": [ { "utf8": "who are playing fairly." } ] }, { "tStartMs": 1063500, "dDurationMs": 3210, "segs": [ { "utf8": "So we wanna lower the\nfalse positive rate to 1%." } ] }, { "tStartMs": 1066710, "dDurationMs": 2160, "segs": [ { "utf8": "To achieve this with 23 flips," } ] }, { "tStartMs": 1068870, "dDurationMs": 4080, "segs": [ { "utf8": "we'd have to raise the\nheads threshold to 18 heads." } ] }, { "tStartMs": 1072950, "dDurationMs": 2100, "segs": [ { "utf8": "This would lower the\nfraction of cheaters we catch" } ] }, { "tStartMs": 1075050, "dDurationMs": 2190, "segs": [ { "utf8": "to about 47% though." } ] }, { "tStartMs": 1077240, "dDurationMs": 2280, "segs": [ { "utf8": "If we don't want to increase\nthe number of flips," } ] }, { "tStartMs": 1079520, "dDurationMs": 2790, "segs": [ { "utf8": "we could decide we're okay with that 47%," } ] }, { "tStartMs": 1082310, "dDurationMs": 2280, "segs": [ { "utf8": "maybe we just want cheating to feel risky," } ] }, { "tStartMs": 1084590, "dDurationMs": 2730, "segs": [ { "utf8": "so 47% is good enough." } ] }, { "tStartMs": 1087320, "dDurationMs": 3090, "segs": [ { "utf8": "Or, if we still want to catch\n80% of the cheaters we test," } ] }, { "tStartMs": 1090410, "dDurationMs": 1680, "segs": [ { "utf8": "we could increase the number of flips" } ] }, { "tStartMs": 1092090, "dDurationMs": 2750, "segs": [ { "utf8": "until we find a test that\nachieves both of those goals." } ] }, { "tStartMs": 1101690, "dDurationMs": 1410, "segs": [ { "utf8": "We could also be super hardcore" } ] }, { "tStartMs": 1103100, "dDurationMs": 2640, "segs": [ { "utf8": "and go for a 99% true positive rate," } ] }, { "tStartMs": 1105740, "dDurationMs": 2043, "segs": [ { "utf8": "and a 1% false positive rate." } ] }, { "tStartMs": 1112640, "dDurationMs": 1950, "segs": [ { "utf8": "But we'd have to flip the coin 80 times" } ] }, { "tStartMs": 1114590, "dDurationMs": 1050, "segs": [ { "utf8": "to get to that level." } ] }, { "tStartMs": 1116570, "dDurationMs": 3030, "segs": [ { "utf8": "We'll always be able to set\ntwo of these goals in stone," } ] }, { "tStartMs": 1119600, "dDurationMs": 3270, "segs": [ { "utf8": "but that'll limit how well\nwe can do on the third goal." } ] }, { "tStartMs": 1122870, "dDurationMs": 2220, "segs": [ { "utf8": "How to set these goals\ndepends which trade-offs" } ] }, { "tStartMs": 1125090, "dDurationMs": 1530, "segs": [ { "utf8": "we're willing to make." } ] }, { "tStartMs": 1126620, "dDurationMs": 1260, "segs": [ { "utf8": "For the rest of this video though," } ] }, { "tStartMs": 1127880, "dDurationMs": 4650, "segs": [ { "utf8": "we're just gonna go with\nthe standard 5% and 80%." } ] }, { "tStartMs": 1132530, "dDurationMs": 2220, "segs": [ { "utf8": "Now that we've settled on\nthe goals we're going for," } ] }, { "tStartMs": 1134750, "dDurationMs": 3000, "segs": [ { "utf8": "and we have a test that seems\nto be achieving those goals," } ] }, { "tStartMs": 1137750, "dDurationMs": 1893, "segs": [ { "utf8": "let's test one more set of blobs." } ] }, { "tStartMs": 1140870, "dDurationMs": 1890, "segs": [ { "utf8": "To pretend these are real blobs" } ] }, { "tStartMs": 1142760, "dDurationMs": 1950, "segs": [ { "utf8": "and not some artificial sample," } ] }, { "tStartMs": 1144710, "dDurationMs": 2490, "segs": [ { "utf8": "I'm not going to tell you\nanything about this group" } ] }, { "tStartMs": 1147200, "dDurationMs": 2760, "segs": [ { "utf8": "except that there are 1000 of them." } ] }, { "tStartMs": 1149960, "dDurationMs": 1470, "segs": [ { "utf8": "How do you think this test will do" } ] }, { "tStartMs": 1151430, "dDurationMs": 1860, "segs": [ { "utf8": "on this more mysterious group?" } ] }, { "tStartMs": 1153290, "dDurationMs": 4200, "segs": [ { "utf8": "Will it manage to accuse fewer\nthan 5% of the fair players?" } ] }, { "tStartMs": 1157490, "dDurationMs": 3150, "segs": [ { "utf8": "And will it catch 80% of the cheaters?" } ] }, { "tStartMs": 1160640, "dDurationMs": 3120, "segs": [ { "utf8": "At this point in the video,\nit would be easy to get lazy" } ] }, { "tStartMs": 1163760, "dDurationMs": 2190, "segs": [ { "utf8": "and not actually make the predictions." } ] }, { "tStartMs": 1165950, "dDurationMs": 2760, "segs": [ { "utf8": "But if I'm asking you\nthese questions yet again," } ] }, { "tStartMs": 1168710, "dDurationMs": 2940, "segs": [ { "utf8": "something must be about\nto go wrong, right?" } ] }, { "tStartMs": 1171650, "dDurationMs": 1560, "segs": [ { "utf8": "Or, maybe I'm just pretending" } ] }, { "tStartMs": 1173210, "dDurationMs": 1590, "segs": [ { "utf8": "so you'll engage a little more." } ] }, { "tStartMs": 1174800, "dDurationMs": 1560, "segs": [ { "utf8": "Who can say?" } ] }, { "tStartMs": 1176360, "dDurationMs": 1500, "segs": [ { "utf8": "But really, what do you think?" } ] }, { "tStartMs": 1182030, "dDurationMs": 3210, "segs": [ { "utf8": "Okay, so we labeled about a\nfifth of them to be cheaters," } ] }, { "tStartMs": 1185240, "dDurationMs": 2310, "segs": [ { "utf8": "which is a bit less than before." } ] }, { "tStartMs": 1187550, "dDurationMs": 3270, "segs": [ { "utf8": "If this were the real world,\nthat's all you would get." } ] }, { "tStartMs": 1190820, "dDurationMs": 1710, "segs": [ { "utf8": "You wouldn't get to see\nwho was really cheating" } ] }, { "tStartMs": 1192530, "dDurationMs": 1470, "segs": [ { "utf8": "and who was really innocent" } ] }, { "tStartMs": 1194000, "dDurationMs": 3810, "segs": [ { "utf8": "to get confirmation that the\ntest is working as expected." } ] }, { "tStartMs": 1197810, "dDurationMs": 2670, "segs": [ { "utf8": "I mean, maybe you could, but\nit would take more testing." } ] }, { "tStartMs": 1200480, "dDurationMs": 2910, "segs": [ { "utf8": "You couldn't do it with this test alone." } ] }, { "tStartMs": 1203390, "dDurationMs": 2430, "segs": [ { "utf8": "But because this is a computer simulation," } ] }, { "tStartMs": 1205820, "dDurationMs": 2250, "segs": [ { "utf8": "I do know the full truth." } ] }, { "tStartMs": 1208070, "dDurationMs": 2730, "segs": [ { "utf8": "This group was 90% cheaters." } ] }, { "tStartMs": 1210800, "dDurationMs": 3360, "segs": [ { "utf8": "We still accused less than\n5% of the fair players," } ] }, { "tStartMs": 1214160, "dDurationMs": 3330, "segs": [ { "utf8": "but we only caught about\na quarter of the cheaters." } ] }, { "tStartMs": 1217490, "dDurationMs": 1680, "segs": [ { "utf8": "Something went wrong." } ] }, { "tStartMs": 1219170, "dDurationMs": 2010, "segs": [ { "utf8": "The problem is that we assumed" } ] }, { "tStartMs": 1221180, "dDurationMs": 3420, "segs": [ { "utf8": "that the cheater coins came\nup heads 75% of the time." } ] }, { "tStartMs": 1224600, "dDurationMs": 1860, "segs": [ { "utf8": "And that assumption was wrong." } ] }, { "tStartMs": 1226460, "dDurationMs": 1920, "segs": [ { "utf8": "The real world cheaters were using coins" } ] }, { "tStartMs": 1228380, "dDurationMs": 2790, "segs": [ { "utf8": "that came up heads 60% of the time." } ] }, { "tStartMs": 1231170, "dDurationMs": 1620, "segs": [ { "utf8": "If we knew that from the beginning," } ] }, { "tStartMs": 1232790, "dDurationMs": 2880, "segs": [ { "utf8": "we still could have designed\na test to achieve our goals," } ] }, { "tStartMs": 1235670, "dDurationMs": 2340, "segs": [ { "utf8": "but it would need 158 flips" } ] }, { "tStartMs": 1238010, "dDurationMs": 3600, "segs": [ { "utf8": "and require 90 heads to\nreach those same thresholds," } ] }, { "tStartMs": 1241610, "dDurationMs": 3690, "segs": [ { "utf8": "which is honestly way more coin\nflips than I was expecting." } ] }, { "tStartMs": 1245300, "dDurationMs": 1830, "segs": [ { "utf8": "But in hindsight, it's not that surprising" } ] }, { "tStartMs": 1247130, "dDurationMs": 1290, "segs": [ { "utf8": "that we need a lot of data" } ] }, { "tStartMs": 1248420, "dDurationMs": 2073, "segs": [ { "utf8": "to tease out that smaller difference." } ] }, { "tStartMs": 1251570, "dDurationMs": 1500, "segs": [ { "utf8": "But we didn't design that test" } ] }, { "tStartMs": 1253070, "dDurationMs": 2760, "segs": [ { "utf8": "because we got the effect size wrong." } ] }, { "tStartMs": 1255830, "dDurationMs": 4050, "segs": [ { "utf8": "I know, I know, I was the one\nwho said we should assume 75%." } ] }, { "tStartMs": 1259880, "dDurationMs": 1830, "segs": [ { "utf8": "But be honest with yourself." } ] }, { "tStartMs": 1261710, "dDurationMs": 1440, "segs": [ { "utf8": "Did you remember that assumption" } ] }, { "tStartMs": 1263150, "dDurationMs": 1620, "segs": [ { "utf8": "when making your prediction?" } ] }, { "tStartMs": 1264770, "dDurationMs": 3210, "segs": [ { "utf8": "It's very easy to forget that\nassumptions are assumptions," } ] }, { "tStartMs": 1267980, "dDurationMs": 2580, "segs": [ { "utf8": "and instead just treat them as facts." } ] }, { "tStartMs": 1270560, "dDurationMs": 3270, "segs": [ { "utf8": "This concludes me tricking you\nto try to teach you a lesson," } ] }, { "tStartMs": 1273830, "dDurationMs": 3033, "segs": [ { "utf8": "but they really are easy\nmistakes to make in real life." } ] }, { "tStartMs": 1277790, "dDurationMs": 2250, "segs": [ { "utf8": "On the bright side, though,\nour test did succeed" } ] }, { "tStartMs": 1280040, "dDurationMs": 3570, "segs": [ { "utf8": "at accusing less than\n5% of the fair players." } ] }, { "tStartMs": 1283610, "dDurationMs": 1410, "segs": [ { "utf8": "The framework we built up here" } ] }, { "tStartMs": 1285020, "dDurationMs": 2820, "segs": [ { "utf8": "isn't just good for catching unfair coins." } ] }, { "tStartMs": 1287840, "dDurationMs": 1500, "segs": [ { "utf8": "It's the dominant framework used" } ] }, { "tStartMs": 1289340, "dDurationMs": 2130, "segs": [ { "utf8": "in actual scientific studies." } ] }, { "tStartMs": 1291470, "dDurationMs": 2640, "segs": [ { "utf8": "To summarize we take a yes or no question." } ] }, { "tStartMs": 1294110, "dDurationMs": 1680, "segs": [ { "utf8": "In this case, our question was," } ] }, { "tStartMs": 1295790, "dDurationMs": 2820, "segs": [ { "utf8": "is this particular blob\nusing a biased coin?" } ] }, { "tStartMs": 1298610, "dDurationMs": 1680, "segs": [ { "utf8": "But it could be any question." } ] }, { "tStartMs": 1300290, "dDurationMs": 1620, "segs": [ { "utf8": "Then we come up with a model" } ] }, { "tStartMs": 1301910, "dDurationMs": 3480, "segs": [ { "utf8": "for what kinds of results we'd\nexpect if the answer is yes," } ] }, { "tStartMs": 1305390, "dDurationMs": 2280, "segs": [ { "utf8": "and if the answer is no." } ] }, { "tStartMs": 1307670, "dDurationMs": 2640, "segs": [ { "utf8": "Then we come up with a test\nthat can do a decent job" } ] }, { "tStartMs": 1310310, "dDurationMs": 2190, "segs": [ { "utf8": "of telling those two situations apart," } ] }, { "tStartMs": 1312500, "dDurationMs": 1650, "segs": [ { "utf8": "according to the models." } ] }, { "tStartMs": 1314150, "dDurationMs": 2400, "segs": [ { "utf8": "The details are usually\na bit more complicated," } ] }, { "tStartMs": 1316550, "dDurationMs": 2460, "segs": [ { "utf8": "since most real world\nsystems that we wanna study" } ] }, { "tStartMs": 1319010, "dDurationMs": 2010, "segs": [ { "utf8": "are more complicated than coin flips." } ] }, { "tStartMs": 1321020, "dDurationMs": 1440, "segs": [ { "utf8": "But most scientific studies" } ] }, { "tStartMs": 1322460, "dDurationMs": 2100, "segs": [ { "utf8": "have this framework at their core." } ] }, { "tStartMs": 1324560, "dDurationMs": 1560, "segs": [ { "utf8": "Like I mentioned at the beginning" } ] }, { "tStartMs": 1326120, "dDurationMs": 3270, "segs": [ { "utf8": "this is called frequentist\nhypothesis testing." } ] }, { "tStartMs": 1329390, "dDurationMs": 2820, "segs": [ { "utf8": "There's another method called\nBayesian hypothesis testing" } ] }, { "tStartMs": 1332210, "dDurationMs": 3000, "segs": [ { "utf8": "which we'll look at in the\nnext video in this series." } ] }, { "tStartMs": 1335210, "dDurationMs": 833, "segs": [ { "utf8": "See you then." } ] } ] }