Shuffle Test
You'll collect two groups of measurements from your own life over three weeks, then find out whether the difference is real by shuffling index cards instead of trusting a formula.
About
Most people meet the p-value as a number a computer spits out, and never quite trust it. The shuffle test gives you the same answer with a deck of index cards, and it's hard to misunderstand once you've dealt it. You collect two groups of numbers, see how different their averages are, then shuffle all the cards together and deal them into two random piles over and over. If random piles give a difference as big as yours most of the time, your difference is noise. It takes three weeks to collect and one long evening to shuffle, and at the end you'll know what significant does and doesn't mean.
At a glance
- Per requirement
- 35 XP
- Completion bonus
- 300 XP
- Requirements
- 6
- Takes
- Three weeks
- Skill level
- Intermediate (months of practice)
- Cost
- Cheap (under $10)
- Supplies
- You need some
- Where
- At home
- Other people
- On your own
Requirements
-
1
Pick two groups you can measure and collect at least 15 numbers in each. Try your commute on days you leave before 8 against after, the queue at two shops at the same hour, your resting pulse on mornings after exercise against mornings without, or the price of the same item at two stores across weeks. Write each number on its own index card with the group letter on the back. Take a photo of the full set with the two piles labelled. Photo
-
2
Work out the real difference between the two averages. Average each pile and subtract. Write the difference on a card and set it aside, since that's the number to beat. Take a photo of the two averages and the difference. Photo
-
3
Shuffle all the cards together and deal them into two random piles, then record the difference. Deal the same group sizes as the real ones, with the group letters hidden, work out the two averages, and write the difference down in a tally. One shuffle takes about two minutes once you've got the hang of it. Film one full shuffle and deal. Video
-
4
Repeat for at least 50 shuffles and draw the histogram of differences. Fifty is tedious and a hundred is better, so put on a podcast. Bin the differences on graph paper, draw the bars, and rule in a line where your real difference sits. Count how many shuffles landed at or beyond the real one, and divide by the number of shuffles. That fraction is your p-value. Take a photo of the histogram with the fraction written on it. Photo
-
5
Work the two-sample t-test by hand on the same data and compare. You'll need each group's mean, standard deviation and size, then the standard error of the difference, the t statistic, and a line from a t-table. The two answers should sit close. If they don't, look for an outlier or a lopsided group. Take a photo of the working next to the shuffle result. Photo
-
6
Write what the result means and what else could explain it. A small p-value says the difference is unlikely to be luck. It says nothing about why. Name one other thing that differs between your two groups and how you'd rule it out. Take a photo of the paragraph. Photo