Random assignment and random sampling both rely on chance, but they do different jobs at different stages of a study. Random sampling — also called random selection — decides who gets into the study from a larger population, which is what lets researchers generalize their results. Random assignment decides which group each participant lands in once they are already in the study, treatment or control, which is what lets researchers claim cause and effect. Keep "sampling selects, assignment sorts" in your head and most exam questions on this topic answer themselves.
- Random sampling selects who joins the study; random assignment sorts them into groups. Memory hook: sampling selects, assignment sorts.
- Sampling protects external validity (generalizing to the population); assignment protects internal validity (cause and effect).
- The two are independent — a study can use either, both, or neither.
- Polls use sampling only; most lab experiments use assignment only; even RCTs usually have just one of the two.
- Random assignment makes groups equivalent on average, not identical — especially in small samples.
- Exam shortcut: randomness before the study has participants is sampling; after enrollment, it's assignment.
What Is Random Assignment?
Random assignment is a procedure that uses pure chance — a coin flip, a random number generator, a shuffled list — to place participants who are already in a study into its different conditions. In a two-group experiment, every participant has exactly a 50/50 shot at landing in the treatment group or the control group, and nothing about them influences where they end up.
The point is equivalence. People differ in ways that affect nearly every outcome researchers measure: sleep, motivation, anxiety, caffeine tolerance, GPA, working memory. No researcher can measure and match all of it. Chance does the matching instead. With enough participants, random assignment spreads those differences roughly evenly across groups — including the differences nobody thought to measure.
Random assignment makes groups equivalent on average — not identical. In a small study, one group can still land older, better-rested, or more caffeinated by luck, which is why researchers report baseline characteristics and why the technique works better as the sample grows.
That is why random assignment in psychology gets drilled so hard in research methods courses. It is the one feature that turns a comparison of groups into a true experiment. When the only systematic difference between two groups is the treatment, a difference in outcomes can be pinned on the treatment and on nothing else.
What Is Random Sampling (and Random Selection)?
Random sampling happens one step earlier. It is a chance-based method for choosing which members of a population end up in the study at all, where every member of the population has a known — usually equal — chance of being picked. Textbooks sometimes call the same idea random selection, so a question framed as random assignment vs. random selection is testing exactly the distinction this article covers.
A concrete version: a researcher wants to know how much her university's 20,000 undergraduates sleep. She gets the registrar's full enrollment list, numbers it, and has a random number generator pick 400 names. That is a simple random sample. Because chance chose it from the whole population, those 400 students should resemble the 20,000 on average — across majors, class years, commuters, night owls, all of it.
The payoff is generalization. When a sample is drawn randomly, results from the sample can be extended to the population with a calculable margin of error. Election polls, government health surveys, and large education studies all depend on this. It is also, honestly, rare in psychology — most lab studies recruit whoever signs up through the department's subject pool, which is a convenience sample, not a random one.
Random Sampling vs. Random Assignment, Side by Side
Here is the whole comparison in one table. When an exam item boils down to a random sample vs. random assignment call, check which stage of the study the randomness happens at: getting people in, or splitting them up.
| Random sampling (selection) | Random assignment | |
|---|---|---|
| What it decides | Who, out of the population, joins the study | Which condition each enrolled participant enters |
| When it happens | Before the study has participants | After participants are enrolled, before the treatment |
| Question it answers | "Can I generalize these results to the population?" | "Did the treatment cause the difference?" |
| Validity it strengthens | External validity | Internal validity |
| Typical tools | Sampling frames, random-digit dialing, random number generators | Coin flips, random number generators, block randomization |
| Without it | Results may not extend beyond the people studied | Confounds make causal claims impossible |
Notice that the two never compete. A study can use either, both, or neither — they solve separate problems, which is exactly why methods instructors love to test the distinction.
A fast tiebreaker on exams: count the groups. If a study has only one group, there is nothing to assign — so any randomness you spotted has to be sampling.
Which Validity Each One Protects
Random assignment protects internal validity: the confidence that the treatment, and not something else, produced the difference you observed. Its enemy is the confound. If students who chose to attend an 8 a.m. study-skills workshop later out-perform students who skipped it, the workshop cannot take the credit — people who volunteer for 8 a.m. anything were already different. Random assignment kills that self-selection problem by taking the choice away from everyone.
Random sampling protects external validity: the confidence that what you found in your sample holds for the population you actually care about. A flawless experiment run entirely on sophomores at one university has strong internal validity and a genuine question mark over how far the finding travels. Psychology has argued about this for decades, precisely because so much published research is built on college-student samples.
Another way to say it: internal validity asks whether the cause-and-effect arrow is real. External validity asks how many people the arrow applies to. Assignment handles the first, sampling handles the second, and no amount of one substitutes for the other.
Can a Study Have One Without the Other?
Yes, in both directions. The two procedures are independent, which produces four kinds of studies:
- Both (rare and powerful): a survey experiment that randomly samples adults from a national frame, then randomly assigns each respondent to read one of two question wordings. It can generalize and support causal claims — the reason large survey experiments carry so much weight.
- Random sampling only: an election poll. Respondents are selected at random, but nobody is assigned to conditions because nothing is manipulated. The results generalize; the study stays correlational.
- Random assignment only: the standard lab experiment. Volunteers from a subject pool are randomly split into treatment and control. Cause and effect is defensible; generalizing beyond people like the volunteers takes a separate argument.
- Neither: an online survey shared on social media comparing self-described early birds with night owls. It can generate hypotheses, and that is about all it can do.
So when a quiz asks whether a study can have random sampling without random assignment — or random assignment without random sampling — the answer to both is yes, and the poll and the lab experiment are your ready-made examples.
How Researchers Actually Carry Out Random Assignment
On paper, "assign randomly" sounds like one sentence. In practice it is a short procedure with rules worth knowing, because methods questions ask about the details:
Random assignment operates on people who are already enrolled and have consented. A participant who joins late gets randomized on arrival — not penciled into whichever group happens to be short.
A fair coin works for two small groups. Beyond that, researchers number participants and use a random number generator — Random.org, RAND() in Excel or Google Sheets, or sample() in R — to shuffle them into conditions.
Clinical researchers call this allocation concealment: whoever enrolls participants must not know which group comes next, or subtle steering creeps in and quietly un-randomizes the study.
Pure chance can drift — 26 people in one group, 14 in the other. Block randomization prevents this by randomizing in small sets (say, blocks of four with two slots per condition), so the groups stay balanced as enrollment goes.
Two refinements show up in journal articles. Stratified random assignment first sorts participants by an important trait — sex, age band, baseline score — and randomizes within each stratum, guaranteeing balance on that trait. And if you have ever used an online group randomizer for a class assignment, you have already run the core procedure — the research version just records the method and sticks with the result, even when the groups look lopsided in some way nobody expected.
A Worked Example from a Psychology Study
Say a cognitive psychology lab wants to test whether caffeine improves short-term recall. Eighty students volunteer through the subject pool. The researcher numbers them 1 through 80, has software shuffle the numbers, and sends the first forty to a caffeinated-gum condition and the rest to a placebo-gum condition. Twenty minutes later, everyone studies the same 20-word list and writes down as many words as they can remember.
Suppose the caffeine group recalls more words. Can the lab credit caffeine? Within this study, yes — because assignment was random, the heavy coffee drinkers, the sleep-deprived, and the students with unusually sharp memories should be spread across both groups about evenly. Caffeine is the only thing that systematically separates them.
Now rerun the study badly. The researcher posts two sign-up sheets and lets students pick: the 8 a.m. session gets placebo, the 2 p.m. session gets caffeine. Any recall difference is now uninterpretable — students who choose 8 a.m. plausibly differ in sleep, schedules, and conscientiousness from the 2 p.m. crowd. The design collapsed the moment participants chose their own group.
One honest limit stands even in the good version: those 80 volunteers were a convenience sample, so the causal claim is solid while the generalization is modest. When you write up a study like this, the assignment procedure belongs in your methods section — the same skeleton this walkthrough of what a lab report looks like covers section by section — and our biology lab report example shows a finished methods-and-results section you can model.
Where Randomized Controlled Trials Fit In
"Randomized controlled trial" and "random assignment" get used interchangeably, and they should not be. Random assignment is a procedure — one step. An RCT is an entire study design built around that step: random assignment, plus a control condition, plus — usually, in medicine — blinding of participants and of the people scoring the outcomes.
So every RCT uses random assignment, but plenty of studies that use random assignment are not RCTs; a ten-minute lab experiment on word recall is a true experiment, not a trial. The vocabulary also shifts across fields — what a psychologist calls "conditions," a clinical researcher calls "arms."
One detail worth noticing: participants in RCTs are almost never randomly sampled. A drug trial enrolls patients who happen to be eligible, nearby, and willing to consent — a convenience sample — and then randomizes them to arms. Even medicine's gold-standard design usually has only one of the two random procedures, which is the neatest proof that they are not the same thing.
How to Keep Them Straight on Exams and in Papers
Four checks that settle nearly every random assignment vs. random sample question:
- Sampling selects, assignment sorts. Selection is about entering the study; assignment is about where you go once inside.
- Check the timing. Randomness before the study has participants is sampling. Randomness after enrollment is assignment.
- Check the claim. If the conclusion is "this applies to all US college students," sampling is on trial. If the conclusion is "the treatment caused the change," assignment is.
- Count the groups. If the study has only one group, there is nothing to assign — any randomness you spotted must be sampling.
Watch the classic exam traps too. "Random selection" is a synonym for sampling, not assignment. "Participants were randomly divided into two groups" describes assignment, no matter how the participants were found. "Names were drawn from a hat containing every senior at the school" is sampling, even though a hat sounds like a group-splitting device.
In your own write-ups, name the procedure plainly — "participants were randomly assigned to one of two conditions using a computer-generated sequence" — and carry the logic into how you report the group comparison; this guide to writing the results section of a research paper shows what that reporting looks like. And if the statistics behind the comparison are the part that has you stuck — the t-test, the ANOVA, the effect size your professor wants alongside it — statistics homework help from someone who handles these designs daily can walk you through your own data instead of a textbook's.
The distinction is genuinely simple once it clicks.
One kind of chance builds your sample; the other builds your groups.
Get both into a design and you have the strongest study there is; know which is which and you have one of the most reliable free points on any methods exam.