Tools / Compare two groups
Compare two groups
Did the new program really help, or is the difference just noise? This tool compares two groups with a t-test, and, more importantly, tells you how big the difference is (Cohen's d) and how sure you can be (confidence intervals).
New to this? Read Samples, confidence intervals and effect sizes first, then come back.
About this tool: what it does, when to use it, and its limits
- What it does
- Welch's t-test, Cohen's d (and Hedges' g) with confidence intervals, and a dot plot for two groups.
- When to use it
- To compare two independent groups, for example two classes or two first-language groups.
- Data you need
- Two columns: group (exactly two values) and score.
- Limits
- Not for the same students tested twice (that needs a paired test). A significant difference does not show cause unless students were randomly assigned.
Formulas and checks against R are on the Methods and formulas page.
Two columns: a group column with exactly two groups (for example Program and Regular) and a score column. One row per student. Empty or NA = missing.
Press Load sample data: end-of-term reading scores for 98 students at the University of Kerembridge. One group took an extensive reading program; the other had regular classes.