Independent Samples T-Test
The Independent Samples T-Test evaluates whether the population means of two unrelated groups differ significantly on a continuous numeric outcome. It is one of the most widely used tests in experimental A/B testing, academic research, and customer segmentation.
When to Use & Real-World Examples
Use this test whenever each row belongs to exactly one of two distinct groups and you want to compare their average scores:
- Product A/B Testing: Comparing average session duration or order value between Control and Variant user cohorts.
- Education & Research: Testing whether exam scores differ between students taught with Method A vs. Method B.
- Customer Experience: Comparing satisfaction or NPS ratings between Free and Pro plan respondents.
Inputs, Prerequisites & Assumptions
- Grouping Variable (Independent): One categorical column with exactly 2 distinct groups (for 3 or more groups, use One-Way ANOVA).
- Target Variable (Dependent): One continuous numeric column.
- Independence & Normality: Observations in each group must be independent and approximately normally distributed. If the distribution is strongly skewed or sample size is very small, choose the non-parametric Mann-Whitney U Test.
- Variance Homogeneity: Clustey automatically runs Levene's test; if group variances differ significantly, it automatically reports Welch's T-Test so your p-value remains valid.
Running Independent T-Test in Clustey
- Click Run Analysis and filter by Compare Groups.
- Select Independent Samples T-Test.
- Pick a suggested eligible variable pair or manually select your Grouping Column (2 levels) and Dependent Variable (numeric).
- Review any sample-size or distribution warning, then click Run Analysis (or ask the AI Agent, e.g., "Compare satisfaction score between plan A and plan B").
Interpreting the Output
- Group Means & SDs: Shows the average and spread for each of the two groups.
- t-statistic & df: The test statistic and degrees of freedom (adjusted automatically when Welch's correction applies).
- p-value: Values below
0.05indicate a statistically significant difference between the two group means. - 95% Confidence Interval: The plausible range for the true difference between group averages.
- Cohen's d (Effect Size): Quantifies practical magnitude—roughly
0.2(small),0.5(medium), and0.8(large).
Next, see how to compare two measurements from the same group in Paired T-Test.