Skip to main content

Matched Pairs Design: Definition, Examples and Analysis

Matched pairs design explained with Darwin's 15 pairs of maize: the paired t test gives p = .0497, the wrong unpaired test on the same heights p = .021.

Matched Pairs Design: Definition, Examples and Analysis

A matched pairs design is an experiment with two treatments in which the comparison is made inside pairs. Either two similar participants are paired on a variable that affects the outcome and chance decides which of them gets each treatment, or one participant receives both treatments in a random order. The analysis then works on the difference within each pair. Below: how to build the pairs, how to analyze and report them, and Darwin’s 15 pairs of maize worked through in full.

Key Takeaways

  • A matched pairs design pairs similar units and flips a coin within each pair to decide which member gets which treatment. AP Statistics also counts one unit receiving both treatments in random order; A-level psychology calls that version repeated measures.
  • Analyze the differences within pairs: a paired t test or a Wilcoxon signed-rank test for measurements, a sign test for ordered outcomes or skewed differences, McNemar’s test for yes-or-no outcomes.
  • On Darwin’s 15 pairs of cross- and self-fertilised maize, the crossed plants were 2.62 inches taller on average: t(14) = 2.15, p = .0497, 95% confidence interval 0.004 to 5.23 inches.
  • Pairing bought no precision on those data: the two plants in a pair were negatively correlated (r = −.33), and the wrong unpaired test gave a smaller p value (.021). The design still dictates the paired analysis.
  • Pairing pays when the matching variable predicts the outcome. It costs half the degrees of freedom, a whole pair per dropout, and a pretest.

What is a matched pairs design?

A matched pairs design is a randomized block design with exactly two treatments and blocks of two. Units are first paired on something that affects the response, such as a pretest score, age or litter, and then a chance device decides which member of each pair receives which treatment. Each pair, or each unit given both treatments in random order, yields one difference, and the experiment is judged on those differences.

The College Board’s AP Statistics Course and Exam Description, effective fall 2026, defines it this way (essential knowledge 1.13.B.4): “A matched pairs design is a randomized block design with only two treatments. Experimental units are arranged in pairs by matching on one or more extraneous sources of variation in the response variable.” The same entry then adds the second form: “Alternatively, each experimental unit may get both treatments while the order of the treatments is randomized.”

Courses draw the line in different places.

Where you meet the termWhat “matched pairs” coversWhat the same-person version is called
AP Statistics (College Board, fall 2026)Two similar units, one treatment each, assigned at random within the pair; or one unit given both treatments in random orderAlso matched pairs
AQA AS and A-level Psychology (7181, 7182)Listed as one of three designs, beside repeated measures and independent groups (taught as different participants paired, one in each condition)Repeated measures, a separate design
Research Methods in Psychology (Jhangiani et al., 4th ed.)A matched-groups design: participants ranked on a variable and paired, then assigned at randomA within-subjects experiment

In AQA’s specification, section 4.2.3.1 lists “Experimental designs: repeated measures, independent groups, matched pairs” as three separate designs. The Papero glossary entry on experimental design sets the three side by side.

Matched pairs vs completely randomized vs randomized block designs

Completely randomized, block and matched-pair experiments differ in what happens before chance takes over. A completely randomized design assigns treatments to all units at random in one step. A randomized block design first groups units that are alike on a blocking variable, then randomizes within each group. Matched pairs is the block design with groups of exactly two, for experiments that compare two treatments.

Completely randomizedRandomized blockMatched pairs
Before assignmentNothingGroup units into blocks on a variable that affects the responseForm pairs of similar units, or give each unit both treatments
How chance is usedAssigns every unit to a treatmentAssigns treatments within each block, so every block gets every treatmentA coin flip within each pair decides who gets which treatment, or the order
TreatmentsTwo or moreTwo or moreTwo
ComparisonBetween treatment groupsWithin blocksWithin pairs
Usual analysis for a numeric outcomeTwo-sample t test or one-way analysis of varianceAnalysis of variance with block as a factorPaired t test on the differences
Pays off whenUnits are alike or the sample is largeA known variable drives much of the variationA strong matching variable exists, or each unit can take both treatments

The AP course description gives the reason for blocking in 1.13.B.3: it separates “the variation in the response caused by the blocking variable from the rest of the extraneous variation”, which “allows for more precise comparisons of the response across the treatments.” Darwin’s maize, below, shows that the gain arrives only when the pairing variable drives the response.

How do you build matched pairs?

Build matched pairs in four steps: choose a matching variable that predicts the outcome, measure it in every participant before the experiment, rank participants on it and pair neighbors, then flip a coin within each pair to decide who receives which treatment. Keep the pair labels with the data, because the analysis needs them.

  1. Choose the matching variable. It must predict the outcome; a pretest on the same measure is the usual choice.
  2. Measure everyone first, in a pretest session or from records.
  3. Rank and pair. Pair the first with the second, the third with the fourth, and so on. With an odd number, one participant has no partner.
  4. Randomize within each pair with a separate coin flip, or a computer-generated sequence, for every pair.

The open textbook Research Methods in Psychology (Jhangiani, Chiang, Cuttler and Leighton) ranks participants on health before a writing study, and “the two healthiest participants would be randomly assigned to complete different conditions”, then the next two, “and so on until the two least healthy participants.” R. A. Fisher, analyzing the Darwin experiment below in The Design of Experiments (1935, p. 48), asks for the same: “we then assign at random, as by tossing a coin, which site shall be occupied by the crossed and which by the self-fertilised plant”. One toss for all the pairs would leave any side effect “confounded with the advantage, real or apparent” of the treatment (p. 49). Our guide to random assignment simulates how much matched pairs shrink chance imbalance in a class of 20.

A worked example: Darwin’s 15 pairs of maize

In a book published in 1876, Charles Darwin reported 15 pairs of maize (Zea mays) seedlings, one cross-fertilised and one self-fertilised in each pair. The crossed plants were taller in 13 of the 15 pairs and by 2.62 inches on average. Analyzed as matched pairs, the difference gives t(14) = 2.15, p = .0497, with a 95% confidence interval of 0.004 to 5.23 inches.

How the pairs were made. In The Effects of Cross and Self Fertilisation in the Vegetable Kingdom (1876, p. 12), Darwin let seeds germinate on damp sand, and “as often as a pair germinated at the same time, they were planted on opposite sides of a pot”. The matching variables were age and pot. For maize, the pairs went into “four very large pots”, and the plants were “first measured to the tips of their leaves when only between 1 and 2 feet in height” (p. 234). Darwin measured “by an ordinary English standard divided into inches and eighths of an inch” (p. 14), so every height below is in inches and eighths.

The data. These are the rows of Darwin’s Table XCVII (p. 234), read from the scan of the 1876 first edition and checked against the Project Gutenberg text and the ZeaMays data set in the R package HistData. Differences are crossed minus self-fertilised.

PairPotCrossed (inches)Self-fertilised (inches)Difference (inches)
1I23 4/817 3/8+6.125
2I1220 3/8−8.375
3I2120+1.000
4II2220+2.000
5II19 1/818 3/8+0.750
6II21 4/818 5/8+2.875
7III22 1/818 5/8+3.500
8III20 3/815 2/8+5.125
9III18 2/816 4/8+1.750
10III21 5/818+3.625
11III23 2/816 2/8+7.000
12IV2118+3.000
13IV22 1/812 6/8+9.375
14IV2315 4/8+7.500
15IV1218−6.000

The calculation. Every number in this section comes from a Python script (standard library only) run over these 15 rows. It reproduces Fisher’s published figures: a sum of differences of 314 eighths of an inch, a standard error of 9.746 eighths and t = 2.148.

StepResult
Number of pairs, n15
Crossed plants, mean (standard deviation, SD)20.19 inches (3.62)
Self-fertilised plants, mean (SD)17.58 inches (2.05)
Mean difference2.62 inches (20.93 eighths), 14.9% of the self-fertilised mean
Standard deviation of the differences4.72 inches
Standard error (SE), SD ÷ √151.22 inches
t = mean difference ÷ standard error2.15, with 14 degrees of freedom
Two-sided p.0497
95% confidence interval, mean ± 2.145 × SE0.004 to 5.23 inches
Effect size dz (mean difference ÷ SD of differences)0.55
Effect size dav (mean difference ÷ average of the two SDs)0.92

The design reduces 30 heights to 15 differences, and everything after that is a one-sample analysis of the differences. That is what the AP course description prescribes in 4.2.B.2: for matched pairs, “the appropriate analysis calculates differences between pairs of values to produce one sample of differences.”

The result clears the 5% line by a hair. Fisher’s verdict (p. 43): “the experimental result may be judged significant, though barely so.” The interval says the same thing in inches: its lower end, 0.004 inch, is about a tenth of a millimeter above zero.

Checks that do not assume normal differences. The 15 differences contain two large negative values, so the script also ran three tests that do not need a normal distribution.

TestWhat it usesResult
Wilcoxon signed-rank, exactRanks of the absolute differences: rank sums W+ = 96 (positive differences), W− = 24 (negative)p = .041 (1,352 of 32,768 sign patterns)
Sign test, exactOnly the direction: 13 of 15 pairs favor crossingp = .0074
Fisher’s randomization testAll 32,768 ways of flipping the signs of the 15 differences863 of 32,768 patterns (2.63%) sum to 314 eighths or more; doubled for a two-sided test, 5.27%

Fisher reported the last test in section 21; the 1935 first edition prints 861 cases and 5.255 per cent. Our enumeration finds 863: the row of Fisher’s table for six negative signs holds 22 combinations above the observed total, where the first edition prints 20. The ninth edition (1971) prints 863 and 5.267 per cent.

What did pairing buy on Darwin’s data?

On these data, pairing bought nothing in precision. The two plants in a pair were slightly negatively correlated (r = −.33), so the differences varied more than an unpaired comparison assumes. The paired standard error, 1.22 inches, is larger than the 1.07 inches an independent-samples test would use, and the correct p value (.0497) is larger than the wrong one (.021).

In the table below, the second row treats the two kinds of plant as unrelated groups of 15, which the design rules out; a Welch test (the two-sample t test that does not assume equal variances), also wrong, gives p = .023.

Analysis of the same heightsDegrees of freedomStandard error (inches)tTwo-sided p95% confidence interval (inches)
Paired t test (correct)141.222.15.04970.004 to 5.23
Two-sample t test, pooled (wrong for this design)281.072.44.0210.42 to 4.82

The reason is one line of algebra: the variance of a difference is the sum of the two variances minus twice their covariance (equation 8 in Daniël Lakens’s primer on effect sizes). A positive correlation narrows the spread of the differences; Darwin’s negative one widened it. Pairing also halves the degrees of freedom, from 28 to 14, which raises the critical t for a 95% interval from 2.048 to 2.145. Lakens notes that in experimental psychology “correlations between measures are typically a positive non-zero value”, so pairing usually wins. Darwin’s maize is a real case where it did not.

None of that licenses the unpaired test. Fisher’s rule (p. 39) is that if an experiment yields a valid estimate of error, “its structure must completely determine the statistical procedure by which this estimate is to be calculated.” Picking whichever analysis gives the smaller p value breeds false positives, the problem our guide to Type I and Type II errors covers under running many tests.

What is odd about Darwin’s data?

Darwin’s maize data are a teaching classic with real flaws. The sides of each pot were not assigned at random, the pairs share four pots, two of the 15 differences run the wrong way, and the heights were taken from young plants, not the fully grown ones. Galton and Fisher both commented on them.

No randomization. In each pot a partition separated the crossed plants from the self-fertilised ones, and Darwin relied on equal conditions on both sides: “I do not believe it possible that two sets of plants could have been subjected to more closely similar conditions” (p. 13). Fisher’s assessment (p. 49): “The one flaw in Darwin’s procedure was the absence of randomisation.”

Two negative differences. Pairs 2 and 15 favor the self-fertilised plant, and in both the crossed plant is recorded at exactly 12 inches. Francis Galton, who examined the table for Darwin, sorted each pot’s plants by height and found “only two exceptions”; Fisher’s footnote (p. 32): “Galton evidently did not notice that this is true also before rearrangement.” Soon after this measurement, Darwin reports, one crossed plant in pot I died, another became “much diseased and stunted” and the third never reached full height: “They seemed to have been all injured, probably by some larva gnawing their roots” (p. 235). He does not say whether the 12-inch plant in pair 2 was already injured when it was measured. Without pairs 2 and 15, t(12) = 5.52: the conclusion leans on two plants, a reason to report them, not to delete them.

Pairs share pots. The four pots hold 3, 3, 5 and 4 pairs, and their mean differences run from −0.42 inches (pot I) to +4.20 (pot III). An analysis of variance of the differences by pot gives F(3, 11) = 0.61, p = .62, a weak test with 15 pairs, and the paired t test still assumes the pairs are independent, which pairs sharing a pot may not be.

Galton’s rearrangement. Galton paired the tallest crossed plant with the tallest self-fertilised one, and so on, and called the mean “perfectly reliable” (p. 17). Analyzed the same way, those artificial pairs give t = 5.17. Fisher (p. 45): the statistician who rearranges data “so as to give an artificial appearance of regularity” is “not elucidating but falsifying the facts.”

Young plants. The HistData documentation calls these figures “the final height”. Darwin’s text says they are the first measurement, of plants 1 to 2 feet tall; for the fully grown plants, without pot I, he prints only averages (68.1 and 62.34 inches for 11 plants of each kind).

How do you analyze a matched pairs design?

Analyze matched pairs with a test for paired data, never with tests for two independent groups. For measured outcomes, compute each pair’s difference and run a paired t test on the differences, or a Wilcoxon signed-rank test when the differences have outliers or are clearly non-normal. For yes-or-no outcomes, use McNemar’s test. When one member of a pair is missing, the pair drops out of the paired analysis.

OutcomeTestChecks before you use it
Measured (height, score, time)Paired t test on the differences30 or more differences, or differences free of strong skewness and outliers
Measured, outliers or clearly non-normal differencesWilcoxon signed-rank testDifferences roughly symmetric; if clearly skewed, use the sign test
Ordered or only the direction countsSign testNothing beyond independent pairs
Yes or no (passed, recovered)McNemar’s testWorks on the 2 × 2 table of the pairs’ outcomes

The first row’s condition is the AP course description’s (4.2.C.1.iii): with fewer than 30 differences, “the sample of differences should be free from strong skewness and outliers.” Darwin’s 15 differences, with two large negative values, fail it, which is why the checks above are worth running.

Martin Bland and Douglas Altman’s BMJ statistics note on matching names the same family of methods for matched clinical comparisons: “Appropriate simple methods include the paired t test for means, McNemar’s test for proportions, and the sign test for ordinal data.” AQA’s psychology specification asks students to know when to use the “related t-test”, the Wilcoxon test and the sign test, and how to calculate the sign test. McNemar’s test compares the two kinds of disagreeing pair, where only one member succeeded; pairs in which both members succeed or both fail add nothing to it.

The phrase matched pair analysis covers any of these within-pair comparisons. The statistical significance entry in the Papero glossary explains what the resulting p value does and does not tell you.

Advantages and disadvantages of a matched pairs design

The advantages of pairing are control of the matching variable and, when that variable predicts the outcome, a more precise comparison from the same number of participants. The disadvantages are practical and statistical: matching takes a pretest, a dropout costs a whole pair, you can only match on variables you know and measure, and the paired analysis has half the degrees of freedom.

A-level psychology teaches matched pairs beside independent groups and repeated measures. Our guide to within and between subjects designs compares the same-person and separate-groups designs on sample size and order effects.

Independent groupsRepeated measuresMatched pairs
Who is in each conditionDifferent people, assigned at randomThe same people in bothDifferent people, paired, one of each pair in each condition
Order effects (practice, fatigue)NoneYes; counterbalance the orderNone
Participant differences between conditionsLeft to chanceRemovedReduced on the matching variable only
Participants needed for 20 scores per condition402040, plus a pretest for all of them
Main costNoisy comparisonCarryover from one condition to the nextFinding good matches; one dropout loses a pair

Advantages. Pairs are balanced on the matching variable by construction, even in a small study. Bland and Altman: “Matching is particularly useful in small studies, where we might not have sufficient subjects to adjust for several variables at once.” When pair members are positively correlated on the outcome, the differences vary less and the test gains power. And unlike repeated measures, nobody takes both conditions, so practice and fatigue effects cannot arise.

Disadvantages.

  • A dropout costs a pair. Darwin describes the rule (1876, p. 12): a sickly seedling “was pulled up and thrown away, as well as its antagonist on the opposite side of the same pot.”
  • Only known variables are matched. Writing about case-control studies, Bland and Altman note that “the more variables we match on the more difficult it may be to find such controls,” and pairs still differ on everything nobody measured; the coin flip within each pair protects against those. Our guide to confounding variables covers the other controls.
  • Half the degrees of freedom, which hurts most in small studies with a weak matching variable, as Darwin’s maize shows.

Pretesting also costs time, and a pretest can hint to participants what the study measures.

A matched pairs design example in psychology

A typical matched pairs experiment in psychology pairs students on prior knowledge before comparing two ways of studying, because a student cannot learn the same material twice. Each pair holds two students with similar pretest scores, and a coin decides which of them uses which method. The study below is invented for illustration and has no data.

A researcher asks whether retrieval practice (testing yourself) produces better recall than rereading. Forty volunteers take a 20-item pretest on the subject. The researcher ranks them by score, pairs 1 with 2, 3 with 4, through 39 with 40, and flips a coin for each pair: heads, the higher scorer self-tests. One week after the study session, everyone takes the same recall test.

The independent variable is the study method, the dependent variable recall, and the matching variable the pretest. The analysis is a paired t test on the 20 differences, or a Wilcoxon signed-rank test if they have outliers or look clearly non-normal; a student who misses the recall test takes the pair out of the analysis. The glossary entry on the control group covers the rereading condition’s role.

Matched pairs vs matching in case-control studies

Matching appears in both experiments and observational studies, and the two uses answer different questions. In a matched pairs experiment the researcher forms pairs and then assigns a treatment at random within each pair. In a matched case-control study the outcome has already happened: each case, a person with the disease, is paired with a control without it, and nobody is assigned anything.

Bland and Altman, writing about the case-control kind, note that matching “ensures that any difference between cases and controls cannot be a result of differences in the matching variables. However, we cannot then examine the effects of the matching variables.” They advise the same within-pair analysis as for an experiment. Our guide to the case-control study explains individual and frequency matching and why matched factors still need adjusting for.

Matched-pair randomization, one of the methods of random assignment, is the same procedure as the design described here, seen from the assignment side. It differs from stratified randomization only in the size of the strata: two.

How do you report a matched pairs experiment in APA style?

In the method section, name the design, the matching variable, how pairs were formed and how treatments were assigned within pairs. In the results, report the mean and standard deviation of the differences, the paired t with its degrees of freedom, the exact p value, a confidence interval and an effect size, and say which effect size you computed. Report how many pairs were lost.

The American Psychological Association’s (APA’s) numbers and statistics guide sets the typography: inferential statistics to two decimals, exact p values “to two or three decimals”, no zero before the decimal point when the statistic “cannot be greater than 1”, and italics for statistical symbols. For Darwin’s maize, written as a modern report:

Method (illustration). Seeds germinating on the same day were paired, and the two members of each pair were planted on opposite sides of the same pot (15 pairs in four pots). Within each pair, a coin flip decided which side received the cross-fertilised seedling. Height to the tip of the leaves was measured to the nearest eighth of an inch.

Results (illustration). Cross-fertilised plants were taller than their self-fertilised partners in 13 of 15 pairs, Mdiff = 2.62 in., SD = 4.72, t(14) = 2.15, p = .050, 95% CI [0.00, 5.23], dz = 0.55. An exact Wilcoxon signed-rank test gave p = .041.

The coin flip in the method passage is what Darwin did not do. Two details in the results need care. First, rounding makes the result look like a miss: three decimals turn p = .0497 into .050, and two decimals turn the interval’s lower limit of 0.004 into 0.00. Quoting p as .0497, or saying that the interval excludes zero, prevents the misreading. Second, there is more than one d for paired data. Lakens’s Table 1 recommends dz, the mean difference divided by the standard deviation of the differences, for power analyses, and Hedges’s gav, which is dav (built on the average of the two groups’ standard deviations) with a small-sample correction, for meta-analyses. On Darwin’s data dz = 0.55 and dav = 0.92, because the negative correlation inflates the spread of the differences. Name the one you report. Our guide on how to write a results section shows where these sentences go.

Where Papero fits

Papero is an AI writing workspace for students and researchers. It is a writing and citation tool, not a statistics package: it does not pair participants, flip the coins or run a paired t test. It helps with the reading and writing around the design.

Papero’s Find papers tool searches more than 250 million papers through OpenAlex, which helps you find published experiments in your field that used matched pairs. The citation search marks retracted papers and preprints, and Review’s Claims check finds sentences in your draft that still need a citation. If you are still planning the study, the research proposal page shows how a study idea becomes a proposal with headings for each part and real sources to cite. Choosing the design and running the analysis stay your job.

Frequently Asked Questions

How do you describe a matched pair design?

Describe a matched pair design by its three parts: the matching variable, how pairs were formed, and how treatments were assigned within pairs. For example: “Participants were ranked on a pretest and adjacent participants were paired; within each pair, a coin flip decided who received the new method.” Then name the analysis, usually a paired t test on the within-pair differences.

What are the disadvantages of a matched pair design?

A matched pair design needs a pretest or records for everyone before assignment, and losing one participant removes the whole pair from the analysis. Participants can only be matched on variables the researcher knows and measures, good matches become hard to find as more variables are added, and the paired analysis has half the degrees of freedom of an independent-groups comparison.

What is a matched pair analysis?

A matched pair analysis compares the two members of each pair rather than two separate groups. For a measured outcome it computes one difference per pair and tests whether their mean is zero, with a paired t test or a Wilcoxon signed-rank test. For a yes-or-no outcome it uses McNemar’s test, which works on the pairs whose two members had different results.

What are the four types of experimental design?

One common grouping lists four types of experimental design: true experiments, which assign participants at random and include a control group; quasi-experiments, which compare groups formed without random assignment; pre-experimental designs, which measure one group with no comparison; and factorial designs, which test two or more independent variables at once. Matched pairs is a way of assigning participants within a true experiment. These are different from the three participant designs in A-level psychology: independent groups, repeated measures and matched pairs.

Is matched pairs the same as repeated measures?

The answer depends on the course. In AP Statistics, a study in which each participant receives both treatments in random order counts as matched pairs. In A-level psychology, that same study is called repeated measures, and the term matched pairs is kept for designs in which different participants are paired. Both versions are analyzed with tests for paired data.

Sources

Papero Team

Papero

The Papero team builds an AI writing assistant for students, scholars and researchers, and writes about academic writing from what the product does.

Follow along on Instagram at @papero.ai for campaign breakdowns.

Your next paper, with real citations.

Describe your paper and get an outline in a minute. The Free plan needs no card.

Write your paper with the sources attached.