Two-sample t test (pooled)
A statistics problem from Statisticsdrill. Solve it with one answer box, with a fresh sample on every attempt and the worked steps and spreadsheet function in the answer, and it is checked the moment you submit.
The task
A plant compares the daily output of two machines. Machine A: n = 18, x̄ = 105.5, s = 6.5. Machine B: n = 8, x̄ = 113.8, s = 6.2 (units per day). Assume equal population variances. Find the pooled two-sample t statistic (Machine A minus Machine B) for H0: μ1 = μ2 against H1: μ1 ≠ μ2, then decide at α = 0.01. Round to 2 decimal places.
What this problem teaches
The pooled test assumes both groups share one variance. When the sample standard deviations differ a lot, use the Welch version instead.
A hint if you get stuck
Pool the variances: sp² = [(n1 - 1)s1² + (n2 - 1)s2²] / (n1 + n2 - 2). Then t = (x̄1 - x̄2) / (sp √(1/n1 + 1/n2)) with n1 + n2 - 2 degrees of freedom.
Try it now, free, no account needed
The first 15 tasks on Statisticsdrill are free. Open it on the practice page, solve it, and get instant feedback with a hint. A free account adds the worked solution; Pro unlocks every task, timed mode and the certificate.
Open this problemMore problems in Inference
- Critical t value for an interval
- Margin of error for a mean (t)
- Confidence interval for a proportion
- Sample size for a mean
- Sample size for a proportion
- One-sample t statistic
- Two-sided t test: p-value and decision
- One-sided t test: p-value and decision
- Two-proportion z test
- Paired t test
- Chi-square test of independence (2 x 3)
- Chi-square 2 x 2: p-value and decision
- Welch t test: degrees of freedom and decision
- Confidence interval for a difference of means
- Chi-square goodness of fit
- One-way ANOVA F statistic
- Power of a one-sided z test
- Bonferroni: how many tests survive
- Benjamini-Hochberg: how many discoveries
- Margin of error for a mean (z, σ known)
- One-sample z test (σ known)
- One-proportion z test
- A/B test: sample size per group
- Effect size: Cohen's d
- Chi-square: expected count of a cell