Name Date
T-Test worksheet
Grade 12 to college
Calcapedia Solve each problem and show your work. Round answers to 2 decimal places where needed.
- 1.
Problem 1. - Test: Two-sample, pooled (equal variances)
- Enter: Raw data
- Sample 1 (or 'before' values): 23, 25, 28, 30, 26, 27, 24, 29
- Sample 2 (or 'after' values, in the same order): 20, 22, 25, 21, 24, 23, 19, 22
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Left-tailed (<)
- Significance level (α): 0.05
Find: p-value
Answer
- 2.
Problem 2. - Test: Paired (before and after, matched pairs)
- Enter: Raw data
- Sample 1 (or 'before' values): 18, 22, 20, 28, 26, 35, 22, 26
- Sample 2 (or 'after' values, in the same order): 16, 26, 30, 28, 20, 30, 21, 22
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Left-tailed (<)
- Significance level (α): 0.05
Find: p-value
Answer
- 3.
Problem 3. - Test: Two-sample, pooled (equal variances)
- Enter: Raw data
- Sample 1 (or 'before' values): 23, 25, 28, 30, 26, 27, 24, 29
- Sample 2 (or 'after' values, in the same order): 20, 20, 15, 20, 24, 35, 18, 24
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Right-tailed (>)
- Significance level (α): 0.07
Find: p-value
Answer
- 4.
Problem 4. - Test: One-sample (one mean against a value)
- Enter: Raw data
- Sample 1 (or 'before' values): 22, 32, 22, 36, 20, 24, 28, 26
- Hypothesized mean (μ₀): 22
- Alternative hypothesis: Left-tailed (<)
- Significance level (α): 0.04
Find: p-value
Answer
- 5.
Problem 5. - Test: Paired (before and after, matched pairs)
- Enter: Summary statistics (mean, SD, n)
- Sample 1 mean (paired: mean of the differences): 22.5
- Sample 1 standard deviation (paired: SD of the differences): 2.7
- Sample 1 size (paired: number of pairs): 7
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Left-tailed (<)
- Significance level (α): 0.05
Find: p-value
Answer
- 6.
Problem 6. - Test: Paired (before and after, matched pairs)
- Enter: Raw data
- Sample 1 (or 'before' values): 22, 22, 32, 30, 22, 24, 20, 21
- Sample 2 (or 'after' values, in the same order): 26, 24, 28, 18, 20, 28, 18, 25
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Two-tailed (≠)
- Significance level (α): 0.04
Find: p-value
Answer
- 7.
Problem 7. - Test: Paired (before and after, matched pairs)
- Enter: Raw data
- Sample 1 (or 'before' values): 23, 25, 28, 30, 26, 27, 24, 29
- Sample 2 (or 'after' values, in the same order): 20, 24, 24, 20, 28, 16, 22, 22
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Right-tailed (>)
- Significance level (α): 0.06
Find: p-value
Answer
- 8.
Problem 8. - Test: Paired (before and after, matched pairs)
- Enter: Summary statistics (mean, SD, n)
- Sample 1 mean (paired: mean of the differences): 25
- Sample 1 standard deviation (paired: SD of the differences): 2.5
- Sample 1 size (paired: number of pairs): 10
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Two-tailed (≠)
- Significance level (α): 0.05
Find: p-value
Answer
- 9.
Problem 9. - Test: Two-sample, Welch (unequal variances)
- Enter: Summary statistics (mean, SD, n)
- Sample 1 mean (paired: mean of the differences): 18
- Sample 1 standard deviation (paired: SD of the differences): 2.4
- Sample 1 size (paired: number of pairs): 10
- Sample 2 mean: 22
- Sample 2 standard deviation: 3
- Sample 2 size: 9
- Hypothesized difference (usually 0): 0
- Alternative hypothesis: Two-tailed (≠)
- Significance level (α): 0.05
Find: p-value
Answer
- 10.
Problem 10. - Test: One-sample (one mean against a value)
- Enter: Raw data
- Sample 1 (or 'before' values): 26, 22, 34, 24, 22, 22, 22, 20
- Hypothesized mean (μ₀): 23
- Alternative hypothesis: Left-tailed (<)
- Significance level (α): 0.04
Find: p-value
Answer
Answer key: T-Test worksheet
Calcapedia 1. p-value: 0.999373
Find each sample's mean, spread (standard deviation, dividing by n − 1) and size
Combine the two variances (spread squared) into one, giving the bigger sample more weight
Find the standard error of the difference, the usual amount it wobbles by chance
Find the degrees of freedom: both sample sizes added, minus 2 (n₁ + n₂ − 2)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area below t on the t curve with 14 df
The p-value is above α, so the result is not statistically significant
2. p-value: 0.601515
Subtract each 'after' value from its 'before' value. The test then checks these differences as one sample
Find the differences' mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area below t on the t curve with 7 df
The p-value is above α, so the result is not statistically significant
3. p-value: 0.035276
Find each sample's mean, spread (standard deviation, dividing by n − 1) and size
Combine the two variances (spread squared) into one, giving the bigger sample more weight
Find the standard error of the difference, the usual amount it wobbles by chance
Find the degrees of freedom: both sample sizes added, minus 2 (n₁ + n₂ − 2)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area above t on the t curve with 14 df
The p-value is at or below α, so the result is statistically significant
4. p-value: 0.967512
Find the sample's mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area below t on the t curve with 7 df
The p-value is above α, so the result is not statistically significant
5. p-value: 1
Find the differences' mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area below t on the t curve with 6 df
The p-value is above α, so the result is not statistically significant
6. p-value: 0.713564
Subtract each 'after' value from its 'before' value. The test then checks these differences as one sample
Find the differences' mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out in either direction: double the area beyond |t| on the t curve with 7 df
The p-value is above α, so the result is not statistically significant
7. p-value: 0.012777
Subtract each 'after' value from its 'before' value. The test then checks these differences as one sample
Find the differences' mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area above t on the t curve with 7 df
The p-value is at or below α, so the result is statistically significant
8. p-value: 1.552213e-10
Find the differences' mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out in either direction: double the area beyond |t| on the t curve with 9 df
The p-value is at or below α, so the result is statistically significant
9. p-value: 0.005991
Find each sample's mean, spread (standard deviation, dividing by n − 1) and size
Find the standard error of the difference, using each sample's own spread
Find the degrees of freedom with the Welch–Satterthwaite formula. It is usually not a whole number
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out in either direction: double the area beyond |t| on the t curve with 15.3448 df
The p-value is at or below α, so the result is statistically significant
10. p-value: 0.729245
Find the sample's mean, spread (standard deviation, dividing by n − 1) and size n
Find the standard error, the usual amount a mean wobbles by chance: the standard deviation s divided by the square root of n
Find the degrees of freedom: the number of values minus 1 (n − 1)
Find t: how many standard errors your result is from the value you are testing against
Find the p-value, the chance of a result this far out: the area below t on the t curve with 7 df
The p-value is above α, so the result is not statistically significant