Signal or chance?

Shuffle group labels to discover how surprising a difference really is.

Shuffle two groups

1 question · No time limit

Example

Example

Under no treatment effect, what fraction of valid assignments produce a mean difference at least 7/2 away from zero, in either direction?

8 participants were randomly assigned: 4 to condition A and 4 to B. Each number is an observed score. Assume neither condition changes any participant’s score. Shuffle labels while keeping both groups the same size. The observed mean difference A − B is −7/2.

1. Predict

Observed assignment
Condition ACondition B
4349
3152
4635
4038

Scores stay fixed. Only the A and B labels move, with equal group sizes.

Mean difference A − B: −7/2

Before shuffling, how often do you expect this counting rule to be met?

Make a prediction first. It is not scored.

2. Test your idea

Shuffle the labels to build a distribution of differences.

Random shuffles estimate the fraction. Count every assignment to see the exact value.

Choose the exact fraction of valid assignments.

Try the controls, then check your solution.

Help

Try the controls, then check your solution.

Your first checked solution is recorded. You can keep experimenting afterwards.

Share practice

View history

Keyboard shortcuts

Enter
Start or continue
?
Keyboard shortcuts
Esc
Close help or notes

Each practice may show additional keys.

Tab moves between controls. Enter or Space activates the focused control. Shortcuts pause while typing or viewing help.

About this practice

Shuffle group labels to discover how surprising a difference really is.

For a broader mix of practices, explore the statistics practice test. Membership is required to start a test.

Report a problem

Leave and lose today’s round?

This is your free round for today. If you leave, it ends.