---
title: "Randomness Condition — AP Stats Definition & Exam Guide"
description: "The randomness condition requires data from random sampling or random assignment, deciding whether you can generalize to a population or claim cause and effect."
canonical: "https://fiveable.me/ap-stats/key-terms/randomness-condition"
type: "key-term"
subject: "AP Statistics"
unit: "Unit 3"
---

# Randomness Condition — AP Stats Definition & Exam Guide

## Definition

In AP Statistics, the randomness condition is the requirement that data come from a random sample (for generalizing to a population) or random assignment (for concluding cause and effect); it's the first condition you verify before any confidence interval or significance test.

## What It Is

The randomness condition is the gatekeeper for every inference procedure in [AP Stats](/ap-stats "fv-autolink"). Before you build a confidence interval or run a significance test, you check that the data were collected using some [chance](/ap-stats/unit-3 "fv-autolink") process, either random sampling from a population or random assignment of treatments in an experiment. If the data weren't collected randomly, the math still runs, but the conclusion is built on sand. A biased sample stays biased no matter how fancy your test statistic is.

The condition shows up first in [Topic 3.2](/ap-stats/unit-3/sampling-distributions-for-sample-proportions/study-guide/Ezxev8MPpv3mFKjV4Gq3 "fv-autolink"), where you learn the rules of scope of inference. Random sampling lets you generalize results to the population the sample came from. Random assignment lets you conclude that the treatment caused the difference, because chance (not lurking variables) decided who got which treatment. These are two different jobs done by two different uses of randomness, and the AP exam loves making you tell them apart.

## Why It Matters

This lives in Unit 3 (Collecting Data), Topic 3.2, and directly supports learning objectives AP Stats 3.2.A (identify the type of study) and AP Stats 3.2.B (identify appropriate generalizations and determinations). The essential knowledge is blunt about it. Generalizing to a [population](/ap-stats/key-terms/population "fv-autolink") is only appropriate when the [sample](/ap-stats/unit-1/random-sampling-data-collection/study-guide/nQz8XwRMmIKKBS59qrew "fv-autolink") was randomly selected or otherwise representative, and observational studies can never establish causation. But the randomness condition's reach goes way beyond Unit 3. Every inference procedure you learn in Units 6 through 9 (proportions, means, chi-square, slopes) starts with the same checklist, and 'random' is always the first box. Skip the check on an FRQ and you lose points even if your calculations are perfect.

## Connections

### [Random Assignment (Unit 3)](/ap-stats/key-terms/random-assignment)

[Random assignment](/ap-stats/key-terms/random-assignment "fv-autolink") is one of the two ways to satisfy the randomness condition. It's the experiment version, where chance decides which subjects get which treatment, balancing out lurking variables so you can claim the treatment caused the effect.

### [Generalization (Unit 3)](/ap-stats/key-terms/generalization)

[Generalization](/ap-stats/key-terms/generalization "fv-autolink") is what random sampling buys you. If the sample was randomly selected from a population, your conclusion applies to that whole population. No random sample, no generalization, full stop.

### [Confounding (Unit 3)](/ap-stats/key-terms/confounding)

[Confounding](/ap-stats/key-terms/confounding "fv-autolink") is the disease the randomness condition prevents. Without random assignment, a hidden variable could explain the difference between groups, which is exactly why observational studies can't prove cause and effect.

### Conditions for Inference (Units 6-9)

The randomness condition is the first thing you verify in every confidence interval and significance test, from one-proportion z-intervals to chi-square tests. The probability calculations in inference only mean something if chance was actually involved in collecting the data.

## On the AP Exam

Multiple-choice questions hand you a study description and ask what conclusion is justified. The correct answer hinges on whether there was random sampling (generalize), random assignment (causation), both, or neither. On FRQs, study-design questions like the 2019 tumbleweed/Kochia problem ask you to evaluate or design a data collection plan, and your answer needs to name randomness explicitly and explain what it accomplishes. In the inference FRQs of Units 6-9, you must state and check the randomness condition before computing anything, usually by quoting the stem ('the problem states the sample was randomly selected'). Writing 'conditions are met' without checking them earns nothing.

## randomness condition vs Random sampling vs. random assignment

Both satisfy 'randomness,' but they do different jobs. Random sampling is about WHO gets into the study, and it earns you generalization to the population. Random assignment is about WHICH treatment each subject gets, and it earns you a cause-and-effect conclusion. A study can have one, both, or neither, and the AP exam tests whether you can match each type of randomness to the conclusion it permits.

## Key Takeaways

- The randomness condition requires that data come from random sampling, random assignment, or both, and it must be checked before any inference procedure.
- Random sampling lets you generalize results to the population the sample was drawn from, and only to that population.
- Random assignment lets you conclude cause and effect because chance balances out confounding variables between treatment groups.
- Observational studies, even with random sampling, can never establish causation because no treatments are imposed.
- On FRQs, you must explicitly verify the randomness condition (usually by citing the problem statement) to earn full credit on inference questions.

## FAQs

### What is the randomness condition in AP Stats?

It's the requirement that data come from a random sample or random assignment before you run inference. It appears in Topic 3.2 of Unit 3 and gets rechecked in every confidence interval and significance test in Units 6-9.

### Is the randomness condition the same as random assignment?

No. Random assignment is one way to satisfy the randomness condition (the experiment way). Random sampling is the other way. Each one justifies a different conclusion, causation versus generalization.

### Can you generalize from a non-random sample?

Almost never. The CED says generalization is only appropriate when the sample is randomly selected or otherwise representative of the population, and a sample only generalizes to the population it actually came from.

### Does random sampling let you prove cause and effect?

No. Random sampling only supports generalizing to the population. Causation requires random assignment of treatments in an experiment, because observational studies can't rule out confounding variables.

### How do I check the randomness condition on an FRQ?

Quote the stem. Write something like 'the problem states the 50 plants were randomly selected,' or for experiments, 'treatments were randomly assigned.' Graders want explicit verification, not a generic 'conditions are met.'

## Related Study Guides

- [Legacy AP Statistics Topic: Planning a Study](/ap-stats/unit-3/intro-planning-study/study-guide/YR5NI5ejwMAQ2dglm67s)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/ap-stats/key-terms/randomness-condition#resource","name":"Randomness Condition — AP Stats Definition & Exam Guide","url":"https://fiveable.me/ap-stats/key-terms/randomness-condition","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/ap-stats/key-terms/randomness-condition#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-06-11T05:22:53.547Z","isPartOf":{"@type":"Collection","name":"AP Statistics Key Terms","url":"https://fiveable.me/ap-stats/key-terms"},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/ap-stats/key-terms/randomness-condition#term","name":"randomness condition","description":"In AP Statistics, the randomness condition is the requirement that data come from a random sample (for generalizing to a population) or random assignment (for concluding cause and effect); it's the first condition you verify before any confidence interval or significance test.","url":"https://fiveable.me/ap-stats/key-terms/randomness-condition","inDefinedTermSet":{"@type":"DefinedTermSet","name":"AP Statistics Key Terms","url":"https://fiveable.me/ap-stats/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is the randomness condition in AP Stats?","acceptedAnswer":{"@type":"Answer","text":"It's the requirement that data come from a random sample or random assignment before you run inference. It appears in Topic 3.2 of Unit 3 and gets rechecked in every confidence interval and significance test in Units 6-9."}},{"@type":"Question","name":"Is the randomness condition the same as random assignment?","acceptedAnswer":{"@type":"Answer","text":"No. Random assignment is one way to satisfy the randomness condition (the experiment way). Random sampling is the other way. Each one justifies a different conclusion, causation versus generalization."}},{"@type":"Question","name":"Can you generalize from a non-random sample?","acceptedAnswer":{"@type":"Answer","text":"Almost never. The CED says generalization is only appropriate when the sample is randomly selected or otherwise representative of the population, and a sample only generalizes to the population it actually came from."}},{"@type":"Question","name":"Does random sampling let you prove cause and effect?","acceptedAnswer":{"@type":"Answer","text":"No. Random sampling only supports generalizing to the population. Causation requires random assignment of treatments in an experiment, because observational studies can't rule out confounding variables."}},{"@type":"Question","name":"How do I check the randomness condition on an FRQ?","acceptedAnswer":{"@type":"Answer","text":"Quote the stem. Write something like 'the problem states the 50 plants were randomly selected,' or for experiments, 'treatments were randomly assigned.' Graders want explicit verification, not a generic 'conditions are met.'"}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"AP Statistics","item":"https://fiveable.me/ap-stats"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/ap-stats/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 3","item":"https://fiveable.me/ap-stats/unit-3"},{"@type":"ListItem","position":4,"name":"randomness condition"}]}]}
```
