Sampling Lab

Draw a sample, look at its result, then check who was included.



Data source

Our sample

Most uneven of 200 draws

Results from 200 samples

Compare the recruitment methods below. Change any row's selection rule to see who gets included.


The response pool is our known benchmark for this demonstration. In a real survey, check representation against credible population information. Matching a few demographics does not establish that every outcome is accurate.

Controls

Both samples use the same size. Changing a selection rule or sample size starts a new comparison.

What are we comparing?

The full response pool is everyone whose response is included here. Matching this pool does not establish that a sample represents the whole class or university. The survey may already exclude some people.


Same outcome, three groups

Who is included?

Counts, percentages, and differences

Does a sample that is close on the outcome also have similar group proportions? Try another comparison variable.

These comparisons describe the displayed variables. They do not give an overall pass/fail rating for representativeness.


Keep the pool and sample size fixed, then draw many simple random samples. Look at the center and the tails, and inspect individual draws.


Gray dashed line: full-pool estimate. Orange line: fixed nonrandom sample. Red: the draw being inspected. Click a dot to inspect that draw.

Check this draw

The demographic sniff test

Here we know the full response pool, so we can see which estimates are far off. In a real survey we usually do not know the population outcome. We cannot tell how far off a result is from that result alone.

Compare demographics with credible population benchmarks when available. A mismatch is a reason to investigate. A match on a few characteristics does not prove the outcome is accurate or rule out nonresponse and measurement problems.

The farthest-draw button uses information we have in this demonstration; it is not a rule for rejecting samples in a real study. These are repeated samples without replacement within each draw; rows can appear again in later draws.


Rows in response pool
Outcome definition
Response-pool estimate

Variable snapshot

Response pool preview


What is your most obscure (safe for work) hobby, interest, community, or skill?

All recorded answers to G03Q17. Sampling controls do not filter these responses.

Larger words occur more often. All words are included by default.

Word counts

All recorded image responses from the class survey. Sampling controls do not filter this heat map.

Recorded clicks
What this shows

Each point marks where a respondent clicked on the Escher image. Brighter regions show where class attention clustered.

Class click map