Confidence Intervals for Differences in Matched Pairs (College Board AP® Statistics): Study Guide

Naomi C

Written by: Naomi C

Reviewed by: Dan Finlay

Updated on

Paired t-interval

What is a confidence interval for differences in matched pairs?

  • A confidence interval for differences in matched pairs is

    • a symmetric range of values centered about the sample mean of the differences of the matched pairs

    • designed to capture the actual value of the population mean of the differences of the matched pairs

  • Different samples generate different confidence intervals

    • e.g. a sample mean difference of 5 may have a confidence interval of (4.5, 5.5)

How do I calculate a confidence interval for differences in matched pairs?

  • The confidence interval for the population mean of the differences of the matched pairs is given by

    • x¯d±(critical value)·sdn 

      • Where x¯d  is the mean of the differences between the matched pairs in the sample

      • sd is the standard deviation of the differences of the matched pairs in the sample

      • and sdn is the standard error of x¯d

        • it estimates the standard deviation of the sampling distribution of the sample mean difference where n is the number of pairs

  • Where:

    • The mean of the differences in the sample is calculated from the sample or is given to you

    • The critical value is the relevant t-value

      • The critical value depends on the confidence level C%

  • Always state the order of subtraction when defining μd, e.g. d=first attempt−second attempt

    • This tells you what a positive or negative interval means in context

Examiner Tips and Tricks

The general formula for confidence intervals (including a table of standard errors) is given in the exam: statistic ±(critical value)(standard error of statistic).

You will need to apply it appropriately using the mean of the differences of the matched pairs in the sample and the standard error of these differences.

What are conditions for a confidence interval for differences in matched pairs?

  • When calculating a confidence interval, you must show that:

    • The two measurements are taken on the same individuals (or matched pairs)

    • Items in the sample (or experiment) must satisfy the independence condition

      • by verifying that data is collected by random sampling

      • or random assignment (in an experiment)

      • and, if sampling without replacement, showing that the sample size is at most 10% of the population size

      • This is not needed when treatments are randomly assigned in an experiment

    • the sampling distribution of x¯d is approximately normal

    • This is true if any one of these holds:

      • the population of differences is approximately normal

      • the number of pairs is large, n≥30

      • the sample differences show no strong skewness and no outliers

What is the margin of error?

  • The margin of error is the half-width of the confidence interval

    • margin of error =(critical value)(standard error of the difference between the matched pairs in the sample)

  • The confidence interval is

    • mean of the differences between the matched pairs in the sample±margin of error

  • The total width of a confidence interval is 2×margin of error

  • You may be given an interval and asked to calculate its margin of error

    • or another value, such as n

      • This involves forming and solving an equation

Examiner Tips and Tricks

You need to know that the width of a confidence interval increases as the confidence level increases, whereas it decreases as the number of pairs increases.

How do I interpret a confidence interval for differences in matched pairs?

  • You must conclude calculations of a confidence interval by referring to the context

    • Start by saying 'we can be C% confident that the interval from [lower limit] to [upper limit]...'

      • using the limits from the confidence interval

    • then end with it capturing the population mean difference in context

      • e.g. 'captures the actual population difference between the blood pressures before and after the medication was taken'

How do I use confidence intervals to justify a claim about differences in matched pairs?

  • If the mean of the differences between the matched pairs in the population is claimed to be a specific value

    • check if that value lies in your confidence interval

  • If it is inside the interval, the claimed value is a plausible value for μd

    • The interval does not give evidence against the claim, but it does not prove that the claim is true

  • If it is outside the interval, the interval gives convincing evidence that $μd is different from the claimed value

  • If the interval contains 0, there is not convincing evidence of a difference, on average, between the paired measurements

Worked Example

A random sample of 29 adults from a large town was asked to complete a puzzle, and the time it took each of them to complete it was recorded. A week later, the same group of adults was asked to complete the same puzzle. Their times were again recorded and the difference between their first and second attempts was calculated, with the time of the second attempt being subtracted from the first attempt, x1−x2. The mean of the differences between these attempts is 0.8 minutes and the standard deviation of the differences is 0.15 minutes. The differences between their times are assumed to be normally distributed.

(a) The researchers use the sample to calculate a confidence interval for the actual difference in the population for the time taken between the first and second attempts. Given that the interval they calculate is (0.731, 0.869), determine the level of confidence used.

(b) Based on the confidence interval from part (a), do the sample data provide convincing statistical evidence that, on average, adults from the population take longer to complete the puzzle on their first attempt than on their second attempt? Justify your answer.

Answer:

(a)

State the type of interval being used and verify the conditions for the interval

The correct inference procedure is a paired t-interval

  • Both times were recorded for each adult, so the data are paired

  • The independence condition is satisfied, as

    • the sample of 29 adults was selected at random

    • and the sample size, 29, is at most 10% of the population, implied by a 'large town'

  • The differences in times are assumed to be approximately normally distributed, as stated in the question

    • The population standard deviation of the differences is unknown, so sd is used and a t-interval is appropriate

Define the population parameter, μd

Let μd be the mean difference in time (first attempt − second attempt) for all adults in the town, where d=x1−x2

List the number of data items in the sample, n, the mean of the differences of the matched pairs in the sample, x¯d, and the standard deviation of the differences in the sample, sd

n=29x¯d=0.8sd=0.15

State the degrees of freedom (df)

df = 29 - 1 = 28

Using the given confidence interval (0.731, 0.869) and the formula from the formula sheet, Confidence interval=statistic±(critical value) (standard error of statistic), calculate the critical value

You can calculate the critical value using either bound of the confidence interval

CI=x¯d±t*·sdn0.731=0.8−t*·0.1529t*=(0.8−0.731)·290.15t*=2.477...

Using the t-table, use the row for df = 28 and find the t-value (critical value) closest to the value just calculated

closest t-value = 2.467

2.467 has a tail probability of 0.01, so the confidence level is 1−2×0.01=0.98

confidence level = 98%

Explain the confidence level in the context of the question

The researchers can be 98% confident that the interval from 0.731 minutes to 0.869 minutes captures the actual difference in the population for the time taken between the first and second attempts at the puzzle

(b)

Compare the interval to 0

The 98% confidence interval (0.731, 0.869) does not contain 0

The entire interval lies above 0, meaning every plausible value of μd is positive

State a decision and justify it

Yes, since d=x1−x2 and the entire interval lies above 0, the data provide convincing statistical evidence that, on average, adults in the town take longer to complete the puzzle on their first attempt than on their second

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Naomi C

Author: Naomi C

Expertise: Maths Content Creator

Naomi graduated from Durham University in 2007 with a Masters degree in Civil Engineering. She has taught Mathematics in the UK, Malaysia and Switzerland covering GCSE, IGCSE, A-Level and IB. She particularly enjoys applying Mathematics to real life and endeavours to bring creativity to the content she creates.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.