← Back to CoursesStatistics: Intermediate

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Comparing Two Groups: Means and Proportions

Manual: General · Subject: Statistics

Apply inferential methods to detect differences between groups in real-world settings.

Two-Sample Inference

Comparing groups

Many practical questions ask whether two populations differ in mean outcome or proportion of success. The inferential strategy depends on whether the response is numerical or categorical.

Two-group methods

QuestionTypical parameterTypical method
Difference in average test scoresμ1−μ2\mu_1-\mu_2Two-sample tt procedures
Difference in success ratesp1−p2p_1-p_2Two-proportion z procedures
Before/after change in same unitsMean of paired differencesPaired tt procedures
🔑

Paired data

Use a paired method when measurements come from matched units or the same subject measured twice, because observations are not independent across groups.

Independent vs paired designs

Independent samples

  • Different units in each group
  • Compare two separate populations
  • Use two-sample methods

Paired samples

  • Same units measured twice or matched pairs
  • Analyze differences within pairs
  • Usually more powerful when pairing is meaningful

Choosing the right two-group test

  1. 1

    Step 1: Identify whether the response is quantitative or categorical.

  2. 2

    Step 2: Decide whether the data are independent or paired.

  3. 3

    Step 3: Form the parameter of interest, such as μ1−μ2\mu_1-\mu_2 or p1−p2p_1-p_2.

  4. 4

    Step 4: Use the appropriate confidence interval or hypothesis test.

Which situation calls for a paired test?

What is the main advantage of pairing when it is appropriate?