Learning
LESSON 18 / 20 · TOPIC 4.9

How do you set up a comparison of independent groups?

You will be able to: Define two population means and select the test direction.

Graphs, tables and mathematical reasoningFree study resourceReview editionTeacher review pending

How do you set up a comparison of independent groups?

A school compares average task time for students using two independently assigned formats. The question is whether Format A takes less time than Format B.

A useful starting point: How do signs and zero guide a difference claim? →

Words and symbols before equations

μA and μB
Population or treatment mean times for the defined groups.
Equality null
H₀:μA−μB=0.
Directional alternative
A prespecified less-than or greater-than claim.
Two-sample t test
An independent-group test for means with unknown population spreads.
Null t distribution: shaded p-value-5-4-3-2-10123450.00.10.20.30.4Density (fixed scale); teal reference, gray dashed normalStandardized value; numeric probability includes tails beyond ±5
Read this model snapshot. t=2, df=44.5104, p=0.051625. At α=0.05, fail to reject H₀. Chosen design, sampling fraction where applicable, and shape/size assumptions support the procedure.
What this picture assumes

Synthetic summaries, with positive sample SDs. Random samples without replacement use source populations of N=100000 each, satisfying 10% for these sizes. A randomized experiment does not require that sampling-fraction check. Design and shape are assumptions chosen here, not conclusions that summary statistics can verify. Strong skewness/outlier selection conservatively withholds inference at all sizes; real data require examination. Groups are independent. Equality null μ₁−μ₂=0. Welch df uses separate variance estimates, not a pooled SD.

Read the picture in three steps

  1. Read the axes and labels first. Identify what each symbol and line represents. Read the units and fixed conditions before comparing quantities.
  2. t=2, df=44.5104, p=0.051625. At α=0.05, fail to reject H₀. Chosen design, sampling fraction where applicable, and shape/size assumptions support the procedure.
  3. Check what the picture assumes below. Use the Explore task to predict one change before moving a control.

Connect the picture to the mathematics

Define μA and μB with the response, units and relevant populations. Write H₀:μA−μB=0 and Hₐ:μA−μB<0 for shorter A time.

If the same students use both formats, these are paired data and the analysis changes to differences within students. Two columns of numbers alone do not establish independence.

For distinct independent groups, use a two-sample t test with separate variance estimates. Do not import the pooled-proportion formula from Unit 3; equality of means does not imply equality of variances.

Do not transfer the wrong null model
FeatureTwo proportionsTwo means
ResponseCategorical success/failureQuantitative measurement
ReferenceNormal z with pooled null shareWelch t with separate variances
Equality meansEqual population proportionsEqual population means, not necessarily variances

A worked example, step by step

Separate random samples compare two schools’ mean homework time for any difference.

  1. Let μ₁ and μ₂ be the population mean homework minutes for the two schools.
  2. H₀:μ₁−μ₂=0.
  3. Hₐ:μ₁−μ₂≠0.
  4. Choose a two-sided independent two-sample t test after verifying both groups’ conditions.
Common mix-up

An equality-of-means null says nothing about equal SDs or identical distributions.

CHECK THE IDEA

Can you pool variances solely because H₀ says equal means?

Compare with an explanation

No. Means and variances are distinct parameters.

Now investigate one change Explore →

Predict. Change one thing. Explain.

Change the alternative with fixed summaries to compare tails, then state which alternative the original question actually authorized.

On narrow screens, swipe or scroll diagrams sideways to read all labels.

Null t distribution: shaded p-value-5-4-3-2-10123450.00.10.20.30.4Density (fixed scale); teal reference, gray dashed normalStandardized value; numeric probability includes tails beyond ±5

t=2, df=44.5104, p=0.051625. At α=0.05, fail to reject H₀. Chosen design, sampling fraction where applicable, and shape/size assumptions support the procedure.

QuantityValue
Estimate (minutes)4
SE (minutes)2
Degrees of freedom44.51039
Group 1 variance contribution (min²)2.56
Group 2 variance contribution (min²)1.44

Synthetic summaries, with positive sample SDs. Random samples without replacement use source populations of N=100000 each, satisfying 10% for these sizes. A randomized experiment does not require that sampling-fraction check. Design and shape are assumptions chosen here, not conclusions that summary statistics can verify. Strong skewness/outlier selection conservatively withholds inference at all sizes; real data require examination. Groups are independent. Equality null μ₁−μ₂=0. Welch df uses separate variance estimates, not a pooled SD.

Explain what you noticed: Answer the investigation prompt above. State one observation and explain it using the means, standard errors, pairing, graph scales or model assumptions. Identify what the representation cannot tell you.

Apply the idea to a fresh problem Practice →

Show what you understand.

Two original questions are a starting check, not proof of mastery. Explain your choice before revealing the answer.

1. “A takes longer” with A−B means…

Show answer and reasoning

Hₐ:μA−μB>0. Longer time corresponds to a positive mean difference.

2. Same students under both formats suggests…

Show answer and reasoning

Paired analysis. Student identity links observations.

Original written challenge

4 points · self-check · not an official AP question

Define hypotheses to test whether mean score in Group 1 exceeds Group 2 for independent samples.

This response is not submitted or saved. Copy it before leaving.

Compare with the answer and four-point rubric
  1. 1 point: Define μ₁ and μ₂ for the target populations’ mean scores.
  2. 1 point: H₀:μ₁−μ₂=0.
  3. 1 point: Hₐ:μ₁−μ₂>0.
  4. 1 point: Use a two-sample t procedure with unknown population SDs after checking design and shape.

Accept equivalent correct methods and explanations. This is a Refresh Kid teaching rubric, not an official AP scoring guideline.

Recall the ideas without notes Review →

Retrieve it before you reveal it.

RECALL 1Why define the populations?

The parameters and scope depend on them.

RECALL 2Does the equality null require equal spreads?

No.

RECALL 3What determines paired versus independent?

The data-collection design.

Revisit these tomorrow and a week later. Try a fresh problem and explain why the method applies.

How do you set up a comparison of independent groups?

  • H₀:μ₁−μ₂=0.
  • Hₐ:μ₁−μ₂<0, >0 or ≠0.
  • Independent groups → two-sample t; related pairs → one-sample t on d.

Remember: An equality-of-means null says nothing about equal SDs or identical distributions.

Conditions: Synthetic summaries, with positive sample SDs. Random samples without replacement use source populations of N=100000 each, satisfying 10% for these sizes. A randomized experiment does not require that sampling-fraction check. Design and shape are assumptions chosen here, not conclusions that summary statistics can verify. Strong skewness/outlier selection conservatively withholds inference at all sizes; real data require examination. Groups are independent. Equality null μ₁−μ₂=0. Welch df uses separate variance estimates, not a pooled SD.

Refresh Kid · AP Statistics Unit 4 · Objectives 4.9.A, 4.9.B · Review edition

Framework, scope and review status

Mapped to College Board, AP Statistics CED, Topic 4.9, objectives 4.9.A, 4.9.B. Framework effective Fall 2026, checked September 17, 2026. Unit 4 includes sampling distributions of means, one-sample and paired t inference, and independent two-sample t inference; it is part of the revised five-unit course.

Examples and datasets are synthetic, independently authored teaching material. Mean inference requires a justified design and suitable shape or sample size. Paired analysis uses one sample of differences. Independent two-sample inference uses separate variance estimates and technology-computed Welch degrees of freedom. Extreme skewness and influential observations need attention even in larger samples. This model conservatively withholds inference when those warnings are selected. Conclusions are limited by random sampling and/or assignment as appropriate.

The Organic Chemistry Tutor companion title and destination were located; the full video was not reviewed. Khan Academy’s destination was checked, but its lesson content was not fully readable by the research tool. OpenStax provides optional reference reading. No provider scripts, questions or graphics were copied. Refresh Kid is not affiliated with these providers.

GitHub’s 3D website collection informed optional spatial inspection. Our original paired-data display uses self-hosted Three.js with its MIT license. Two measurement columns are connected within each labeled student lane; horizontal position is before/after, vertical position is time, and depth separates identities rather than representing a numerical variable. Rotation can separate overlapping connectors. Exact values and differences always remain in the 2D table and labeled plot. The broken-matching option is an explicit counterexample, not a legitimate alternative analysis. No autoplay; complete teaching remains available without 3D.

Independent teacher review and observation of students remain pending. Technical checks do not certify statistical accuracy, accessibility or learning effectiveness. This is a review edition.

Released AP Statistics questions and scoring guides are optional. Older exams use the earlier framework, so check alignment before selecting parts. All practice on this page is original, not official AP material.

Learn → Explore → Practice → Review is informed by the IES learning guide. This implementation has not yet been evaluated with learners.

OPTIONAL LIVE SUPPORT

Want to work through this with a tutor?

Bring your question about How do you set up a comparison of independent groups? Your explanation and answers remain free to access.

Request a statistics tutor →Ask about this lesson on WhatsAppThe team can confirm teacher availability and next steps.