Week 68 of 145 · TAOCP Vol 2: Seminumerical Algorithms

TAOCP 3.3.2 Empirical Tests

2 tasks, 5 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Explain what the gap, poker, coupon collector and runs tests each count.
  • Implement three empirical tests on a good and a bad generator.
  • Recognize why run lengths are correlated and need a special statistic.

Week 68 · Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. A coupon collector's test with d = 3 categories reads 0, 2, 0, 1, 2, 2, 1, 0, ... How long is the first segment?
  2. What does the gap test record?
  3. Why can't the runs-up test feed run lengths straight into an ordinary chi-square test?

Nothing is saved while signed out.

Watch along

Free talks and lectures that go with this week, on the speakers' own channels. Optional.

Discussion

0 posts

Stuck on week 68, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it