P
Pooled t
Combines the sample variances under a common population-variance restriction. Its standard error can be smaller or larger than Welch’s, depending on the sample sizes and variances.
SE = sp√(1/nA + 1/nB)
Module 01 Two independent groups
See what pooled, Welch, and HC2 inference change—and what none of them can establish about causality.
The same estimand, written two ways
The binary-regressor coefficient is the raw difference in group means. The model changes the language—not the quantity.
Learn it One contrast, three uncertainty models
All three methods estimate the sample mean of Group B minus the sample mean of Group A. They differ in how they model uncertainty and calibrate the reference distribution.
P
Combines the sample variances under a common population-variance restriction. Its standard error can be smaller or larger than Welch’s, depending on the sample sizes and variances.
SE = sp√(1/nA + 1/nB)
W
Keeps each group’s contribution separate and adjusts the degrees of freedom. Equal variances are not required.
SE = √(sA²/nA + sB²/nB)
H2
Expresses the same comparison as a regression. With an intercept and one binary regressor, HC2 reproduces Welch’s standard error exactly.
VarHC2(β̂) = sA²/nA + sB²/nB
Run it Synthetic workflow-time case
The observations are generated locally from the moments you set. The case is synthetic by design: no personal, client, or institutional data.
Welch t
+5.0095% CI [−0.21, 10.21]
What this method asks you to defend
Real public-data case World Development Indicators · 2024
This unweighted descriptive comparison includes every economy classified by the World Bank API as low income or upper-middle income at retrieval with a reported 2024 value.
What the estimate describes. In this snapshot, the mean 2024 life expectancy among the 59 upper-middle-income economies is 9.60 years higher than among the 25 low-income economies.
What it does not identify. The grouping is observational and current classifications were applied to 2024 outcomes. The contrast is not a causal effect of income classification and is not population weighted.
Source: World Bank, World Development Indicators, retrieved 2026-08-18, CC BY 4.0. Audit the derived CSV and snapshot record with direct API URLs and hashes.
Defend it Estimation, assumptions, identification
Inference quantifies sampling uncertainty under a model. Identification explains why the contrast answers a causal question. One cannot substitute for the other.
Current design reading · descriptive
Exact algebraic check
Equal within machine precision
| Method | Estimate | SE | df | 95% CI | p |
|---|
A defensible sentence
State the direction, units, population, and time frame. “Difference” is incomplete without them.
Explain why pooling is warranted—or retain separate variance contributions with Welch or HC2.
Name the standard-error correction and reference distribution. Software defaults are not a methods section.
Connect causal language to assignment, sampling, interference, attrition, and measurement—not statistical significance.
Teach it A reusable original exercise
This prompt is original and instructor-neutral. It can be used in a workshop, research meeting, or self-study session without carrying a named course or learner.
Decision prompt · 15 minutes
A team records completion times under two historically adopted workflows. Group A has n = 20, mean = 38, s = 5; Group B has n = 16, mean = 43, s = 9.
Continue without duplication