Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. AP Statistics
  2. Introduction to Experimental Design

AP STATISTICS • COLLECTING DATA

Introduction to Experimental Design

How deliberate manipulation of variables and careful controls allow researchers to establish cause-and-effect relationships.

SECTION 1

Historical Context & Motivation

For centuries, scientists relied on passive observation to draw conclusions about the natural world, but observation alone could never definitively separate cause from coincidence. The need for a rigorous, structured method of testing hypotheses gave rise to experimental design — the systematic practice of deliberately manipulating one or more factors while holding others constant so that any observed effect can be attributed to the manipulation itself rather than to lurking variables. The development of formal experimental design transformed statistics from a tool of description into a powerful engine of causal inference, and its principles now underpin research in medicine, agriculture, psychology, engineering, and virtually every empirical discipline.

1747
Lind's Scurvy Trial
Scottish naval surgeon James Lind conducted one of the first recorded controlled experiments by dividing twelve scurvy-afflicted sailors into six pairs, each receiving a different dietary supplement. The pair given citrus fruits recovered, providing early evidence for the value of comparison groups.
1835
Placebo-Controlled Testing
Researchers began systematically using placebos to account for psychological effects, recognizing that subjects' beliefs about treatment could influence outcomes independently of the treatment itself.
1925
Fisher's Foundational Work
Sir Ronald A. Fisher published Statistical Methods for Research Workers and later The Design of Experiments (1935), formalizing randomization, replication, and blocking as the three pillars of experimental design at Rothamsted Experimental Station.
1948
First Randomized Clinical Trial
The British Medical Research Council conducted the first properly randomized clinical trial, testing streptomycin against tuberculosis. This landmark study demonstrated that random assignment could credibly establish treatment efficacy and became the gold standard for medical research.
2000s–Present
Modern Adaptive Designs
Advances in computing power have enabled adaptive experimental designs, Bayesian approaches, and large-scale A/B testing (used by technology companies), all of which build on the classical principles Fisher established nearly a century ago.

The central question that experimental design addresses is deceptively simple: How can we determine whether changes in one variable actually cause changes in another? Observational studies can reveal associations and correlations, but they cannot, by themselves, rule out the influence of confounding variables. Only a well-designed experiment — with deliberate manipulation, proper controls, and random assignment — can close the gap between correlation and causation. Understanding these principles is essential not only for the AP Statistics exam but for critically evaluating the scientific claims you encounter throughout your academic and professional life.

SECTION 2

Core Principles & Definitions

An experiment differs from an observational study in one critical way: the researcher deliberately imposes a treatment on the experimental units to observe a response. The vocabulary of experimental design is precise, and mastering it is the first step toward designing and critiquing studies. The explanatory variable (also called the factor) is the variable the researcher manipulates; the specific values of the factor are called levels. The response variable is the outcome measured after the treatment is applied, and the experimental units are the individuals or objects to which treatments are applied (when these are people, we call them subjects). A treatment is a specific combination of factor levels imposed on the experimental units.

1

Control

Hold extraneous variables constant so that differences in the response can be attributed to the treatment. This often involves a control group that receives no treatment (or a placebo) to serve as a baseline for comparison.
2

Randomization

Assign experimental units to treatment groups using a chance mechanism. Random assignment balances both known and unknown confounding variables across groups, making groups roughly equivalent before treatment begins.
3

Replication

Apply each treatment to a sufficiently large number of experimental units so that the effects of chance variation are reduced and results can be distinguished from random noise with statistical confidence.
4

Blocking (Optional but Powerful)

Group experimental units into blocks of similar units before random assignment. By accounting for a known source of variability (e.g., age, gender), blocking reduces unexplained variation and increases the precision of treatment comparisons.
✦ KEY TAKEAWAY
Think of an experiment like a controlled laboratory recipe: you change exactly one ingredient (the treatment), keep everything else the same (control), use random selection of taste-testers (randomization), and have many people taste the dish (replication). If the results are consistently different, you can confidently attribute the difference to the ingredient you changed, not to the cook's mood or the time of day. Random assignment is what distinguishes an experiment from an observational study and is the key to establishing causation.
SECTION 3

Visual Explanation — Anatomy of an Experiment

The following diagram illustrates the general structure of a completely randomized design — the most fundamental experimental layout. Experimental units are first collected, then randomly assigned to treatment groups (including the control group), treatments are applied, and finally responses are measured and compared. This visual framework applies to experiments across every discipline, from pharmaceutical trials to agricultural field studies.

COMPLETELY RANDOMIZED DESIGNExperimentalUnits (n)RANDOMASSIGNMENT(coin flip, RNG, table)Treatment 1(e.g., Drug A)Treatment 2(e.g., Drug B)Control Group(Placebo)CompareResultsAll available unitsTreatment 1Treatment 2ControlRandom AssignmentRandom assignment creates roughly equivalent groups before treatment.
The diagram shows the flow of a completely randomized design: all experimental units enter from the left, pass through random assignment, are divided into treatment groups and a control group, and then results are compared to determine whether the treatments produced statistically significant differences.

Notice that the random assignment step is the critical juncture in the diagram. Without it, pre-existing differences among the experimental units might systematically favor one treatment group over another — a problem known as confounding. A confounding variable is a variable associated with both the explanatory variable and the response variable, making it impossible to determine which one is truly responsible for the observed effect. Randomization does not eliminate confounding variables; rather, it distributes their effects evenly across all treatment groups so that they cannot systematically bias the comparison.

SECTION 4

How Experimental Design Works — Key Mechanisms

The Role of Random Assignment

Random assignment is not the same as random selection, and confusing these two concepts is one of the most common errors on the AP Statistics exam. Random selection refers to how experimental units are chosen from a population — it allows generalization from a sample to the broader population. Random assignment refers to how units already in the study are allocated to treatment groups — it allows causal conclusions. An experiment can use one, both, or neither; the strongest inference is possible when both are present.

Comparison of random selection vs. random assignment
FeatureRandom SelectionRandom Assignment
What it doesChooses who is in the study from the populationAllocates study participants to treatment groups
PurposeReduces sampling bias; enables generalization to the populationBalances confounders; enables causal inference
Inference supportedGeneralizationCausation
ExampleSRS of 500 adults from the U.S. populationFlip a coin to decide which group each participant joins

Blinding and the Placebo Effect

Even with proper randomization, human psychology can introduce bias. The placebo effect occurs when subjects respond to the mere expectation of receiving an effective treatment. To combat this, researchers employ blinding. In a single-blind experiment, the subjects do not know which treatment they are receiving. In a double-blind experiment, neither the subjects nor the researchers who interact with them and measure outcomes know the assignment. Double-blinding prevents both the placebo effect and unconscious bias by evaluators, and it is considered the gold standard for clinical trials. A placebo is a dummy treatment (such as a sugar pill) that is indistinguishable from the real treatment to the subjects.

Scope of Inference

The combination of random selection and random assignment determines the scope of inference — what conclusions a study can support. With both random selection and random assignment, you can make causal claims about the entire population. With only random assignment (but a convenience sample), you can claim causation only for units similar to those in the study. With only random selection (an observational study), you can generalize associations to the population but cannot claim causation. With neither, the study is severely limited in its conclusions.

SECTION 5

Types of Experimental Designs

While the completely randomized design is the most straightforward layout, experimenters often need more sophisticated designs to control for known sources of variability or to study multiple factors simultaneously. The AP Statistics curriculum focuses on three primary designs: the completely randomized design (CRD), the randomized block design (RBD), and the matched-pairs design (a special case of the block design). Understanding when to use each design is as important as understanding how they work.

THREE EXPERIMENTAL DESIGNSCOMPLETELY RANDOMIZEDUnits mixed randomlyRandom AssignmentTrt 1Trt 2ControlCompare responsesRANDOMIZED BLOCKBlock 1 (e.g., Males)Block 2 (e.g., Females)Random assignment WITHIN each blockTrt 1Trt 2CtrlMATCHED PAIRSSubject A₁Subject A₂Subject B₁Subject B₂Randomly assign one of eachpair to Treatment, other to ControlCompare within pairsWHEN TO USE EACH DESIGNCRDNo known confounders;simplest to implementRBDKnown source of variability;group similar units firstMatched PairsOnly 2 treatments; pairsimilar units or use same unitBlock what you can, randomize what you cannot. — George Box
This diagram compares the three major experimental designs covered in AP Statistics. The CRD is simplest, the RBD adds blocking to control for known variability, and the matched-pairs design is a special block design where each block contains exactly two matched units (or the same unit measured twice).

In a completely randomized design, every unit has an equal chance of receiving any treatment, and there is no preliminary grouping. This works well when the experimental units are relatively homogeneous. In a randomized block design, units are first sorted into blocks based on a variable that is expected to affect the response (such as age, gender, or pre-existing condition), and then units within each block are randomly assigned to treatments. This ensures that each treatment group contains a representative mix of the blocking variable, reducing variability and increasing the experiment's ability to detect true treatment effects.

The matched-pairs design is a special case where each block contains exactly two experimental units that are as similar as possible (e.g., twins), or where the same subject receives both treatments in random order (a crossover design). By comparing differences within pairs rather than between separate groups, matched-pairs designs can be especially powerful at detecting small treatment effects, because much of the subject-to-subject variation is eliminated.

SECTION 6

Worked Example — Designing an Experiment

A biology teacher wants to determine whether a new fertilizer increases the growth rate of tomato plants compared to the standard fertilizer currently used in the school greenhouse. She has 30 tomato seedlings of the same variety, all approximately the same height. She also knows that the greenhouse has two shelves: the top shelf receives more light than the bottom shelf. Design an experiment to test the fertilizer's effectiveness.

Designing a Randomized Block Experiment

Step 1 — Identify the Components

The experimental units are the 30 tomato seedlings. The explanatory variable (factor) is the type of fertilizer, with two levels: new fertilizer and standard fertilizer. The response variable is the plant growth rate (measured as height increase in centimeters over four weeks).
Factor: Fertilizer type (2 levels) • Response: Growth rate (cm/4 weeks) • Units: 30 seedlings

Step 2 — Identify the Blocking Variable

Because the top and bottom shelves differ in light exposure, shelf position is a known source of variability that could confound results. We use shelf position as the blocking variable. Place 15 seedlings on the top shelf (Block 1) and 15 on the bottom shelf (Block 2).
Block 1: 15 seedlings (top shelf) • Block 2: 15 seedlings (bottom shelf)

Step 3 — Randomly Assign Within Blocks

Within each block, number the seedlings 1 through 15. Use a random number generator to select 7 or 8 seedlings from each block to receive the new fertilizer; the remaining seedlings receive the standard fertilizer. For example, in Block 1, assign seedlings whose numbers correspond to the first 8 unique random integers between 1 and 15 to the new fertilizer group, and the remaining 7 to the standard fertilizer group. Repeat for Block 2 with 8 receiving new and 7 receiving standard (or vice versa, as long as group sizes are balanced).
Each block has approximately equal numbers assigned to new and standard fertilizer by a chance mechanism.

Step 4 — Apply Treatments and Control Extraneous Variables

Apply the assigned fertilizer to each seedling according to the manufacturer's recommended dosage. All other conditions — watering schedule, soil type, pot size, temperature — should be kept the same for all seedlings. These are the controlled variables. Note that this is not double-blind because the teacher knows which plants receive which fertilizer and the plants cannot exhibit a placebo effect; however, she could use single-blind measurement by having a colleague who does not know the assignment measure the plants.

Step 5 — Measure, Compare, and Conclude

After four weeks, measure the height of every seedling and calculate the mean growth for each treatment group within each block, then compare the overall treatment means. If the mean growth of the new-fertilizer group is significantly greater than the standard-fertilizer group (using a formal statistical test such as a two-sample t-test or ANOVA), and because the experiment used random assignment, the teacher can conclude that the new fertilizer caused the increase in growth. However, because the seedlings were not randomly selected from all possible tomato plants, generalization beyond this particular batch of seedlings should be made cautiously.
Random assignment → causal conclusion possible. No random selection → limited generalization.
SECTION 7

Strengths, Limitations, and Common Pitfalls

Experiments are the most powerful tool for establishing causation, but they are not always feasible or appropriate. Understanding the strengths and limitations of experimental design helps you evaluate research critically and recognize situations where an observational study may be the only ethical or practical option.

Strengths and limitations of experimental design
AspectStrengthsLimitations
Causal InferenceRandom assignment allows researchers to attribute differences in the response to the treatment, establishing cause-and-effect relationships.Causation claims are valid only when randomization is properly implemented and maintained.
Control of ConfoundersControlled environments and random assignment reduce the influence of confounding variables, both known and unknown.It is impossible to control every extraneous variable; some experiments require impractical or artificially constrained settings.
EthicsWhen ethically permissible, experiments provide the strongest evidence for informing medical treatments and public policy.Many important questions (e.g., effects of smoking, poverty) cannot be ethically studied via experiments because it would require imposing harmful conditions.
GeneralizabilityInternal validity (confidence in the causal conclusion) is typically high when the design is sound.External validity (ability to generalize to other populations or settings) may be limited if the sample is not representative.
Practical FeasibilitySmall-scale experiments (e.g., agricultural plots, classroom studies) can be relatively inexpensive and fast.Large-scale experiments (e.g., multi-year drug trials) can be extremely expensive and time-consuming.
⚠️ Common AP Exam Pitfall
Students frequently confuse random selection with random assignment. Remember: random selection determines who is in the study (generalization), while random assignment determines which treatment each participant receives (causation). Free-response questions often ask you to describe a complete design — always explicitly state the random assignment mechanism and what is being compared.
✦ KEY TAKEAWAY
Think of experimental design like a controlled scientific audit. Just as a financial auditor isolates one account variable at a time to find discrepancies while holding the rest of the books constant, an experimenter isolates one factor at a time while controlling everything else. The auditor's ability to pinpoint the source of an error depends on their systematic methodology — and so does the experimenter's ability to pinpoint a cause. Without systematic control and randomization, you may find a suspicious pattern, but you cannot prove what caused it.
SECTION 8

Connections to Inference and Advanced Topics

The principles of experimental design you have learned in this lesson lay the groundwork for the inferential statistics you will study later in the AP Statistics course. When you encounter hypothesis testing and confidence intervals, you will see that the validity of these procedures depends entirely on how the data were collected. A statistically significant p-value is meaningless if the experiment was poorly designed, because the observed effect could be due to confounding rather than the treatment. Conversely, a well-designed experiment with proper randomization and replication provides data that can be analyzed with confidence.

How experimental design concepts connect to inference
Concept in This LessonConnection to Later Topics
Random assignment creates comparable groupsJustifies the independence assumption in two-sample t-tests and ANOVA
Replication provides multiple observationsIncreases statistical power and reduces the standard error of estimates
Blocking reduces within-group variabilityConnects to paired t-tests, which analyze within-pair differences rather than between-group differences
Confounding threatens internal validityLeads to the study of Simpson's Paradox and multiple regression in advanced courses
Scope of inference (causation vs. generalization)Directly tested in free-response conclusions — students must match their language to the study design

In more advanced statistics and data science courses, you will encounter factorial designs (experiments with multiple factors varied simultaneously), Latin square designs, and response surface methodology. These are extensions of the principles covered here. Modern technology companies use A/B testing — essentially a completely randomized design applied at massive scale — to test everything from website layouts to pricing strategies, demonstrating that Fisher's century-old principles remain central to contemporary data-driven decision-making. As you move forward, remember that no statistical method can rescue a poorly designed study; good inference begins with good design.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
A researcher wants to determine whether a new study technique improves exam scores. She recruits 60 volunteers from her university and randomly assigns 30 to use the new technique and 30 to use their usual methods. After two weeks, she compares their exam scores. Which of the following is the best description of why this study can support a causal conclusion?
PROBLEM 2 — BASIC CALCULATION
A pharmaceutical company is testing three dosage levels (10 mg, 20 mg, 40 mg) of a new drug and a placebo on 200 patients. The researchers use a completely randomized design. How many treatments are there, and approximately how many patients should be in each treatment group?
PROBLEM 3 — INTERMEDIATE
A school psychologist wants to compare two types of anti-anxiety interventions (deep breathing exercises vs. guided meditation) on test anxiety. She has 40 students: 20 freshmen and 20 seniors. She suspects that grade level affects baseline anxiety. Which experimental design is most appropriate, and why?
PROBLEM 4 — APPLIED
A tech company wants to test whether a redesigned checkout page increases the proportion of customers who complete a purchase (the conversion rate). They have access to 10,000 daily visitors and want to compare the current page (Page A) with the new design (Page B). The company knows that conversion rates tend to differ between mobile users and desktop users. (a) Identify the experimental units, the factor and its levels, and the response variable. (b) Describe a complete experimental design that accounts for the known difference between mobile and desktop users. Include a description of randomization. (c) Explain why the company can conclude that any difference in conversion rates was caused by the page design. (d) Describe one limitation of this experiment in terms of generalizability.
PROBLEM 5 — CRITICAL THINKING
A medical researcher reads a headline: 'People who eat dark chocolate daily have 20% lower rates of heart disease.' The study was observational — researchers surveyed 50,000 adults about their diets and followed their health outcomes over 10 years. (a) Explain why this study cannot establish that eating dark chocolate causes lower heart disease rates. Identify at least one specific confounding variable. (b) Design a randomized experiment that could establish a causal relationship between dark chocolate consumption and heart disease rates. Be specific about the experimental units, treatments, randomization procedure, and what would be measured. (c) Discuss at least two practical or ethical challenges that might make the experiment you described in part (b) difficult to carry out. (d) Given these challenges, suggest a modification to your experimental design that would make it more feasible while still being an experiment.
SUMMARY

Summary — Introduction to Experimental Design

Experimental design is the cornerstone of statistical reasoning about causation. An experiment deliberately imposes a treatment on experimental units and measures a response variable. The four pillars — control, randomization, replication, and blocking — work together to minimize the effects of confounding variables and allow researchers to draw causal conclusions. Random assignment is the key mechanism enabling causation claims, while random selection enables generalization to a broader population.

The three designs you need to know for AP Statistics are the completely randomized design (simplest; units assigned entirely by chance), the randomized block design (group similar units first, then randomize within blocks), and the matched-pairs design (blocks of size two). Additional techniques like blinding and placebos prevent psychological biases from distorting results. On the AP exam, always specify how randomization is performed, what is being compared, and why the design supports (or does not support) a causal conclusion.

Varsity Tutors • AP Statistics • Introduction to Experimental Design