Lesson For T Tests
Lesson For T Tests
Lesson For T Tests
INTRODUCTION TO T-TEST
ANALYSIS
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data followed a normal distribution (W = 0.969, p = 0.615.)
The results of the t-test revealed that there is no significant difference between the sample
mean and the hypothesized population mean of 20 hours (t[24] = -0.9, p = 0.377, 95% CI =
[-.790 – 0.310]), two-tailed. The effect size was small (Cohen's d = -0.180). Therefore, the
researchers failed to reject the null hypothesis, and that the hypothesized battery life is not
different from the actual battery life.
SAMPLE PROBLEM FOR ONE-SAMPLE T-TEST:
A nutritionist claims that their new weight loss program results in an average weight loss of at
least 15 pounds in one month. To test this claim, a random sample of 20 participants who
completed the program was taken, and their weight loss was recorded. The sample mean
weight loss was found to be 6.11 pounds with a standard deviation of 0.670 pounds.
Conduct a one-sample t-test to determine whether the mean weight loss in the program is
significantly different from 5 pounds at a 95% confidence level.
H0: The mean weight loss in the program is not significantly different from 15 pounds
H1: The mean weight loss in the program is significantly different from 15 pounds.
A one-sample t-test was conducted to determine whether the mean weight loss in the
program is significantly different from 5 pounds at a 95% confidence level. A sample of N =
20 participants was taken, and the sample mean was found to be M = 6.11 lbs. with a
standard deviation of SD = 0.670 lbs.
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data followed a normal distribution (W = 0.966, p = 0.679.)
The results of the t-test revealed that the mean weight loss in the program is significantly
different from 15 pounds (t[19] = -59.4, p < .001, MD = -8.89), two-tailed. The effect size was
large (Cohen's d = -13.1, 95% CI [-17.3 – 8.86]). Therefore, the researchers reject the null
hypothesis, and that the mean weight loss in the program is significantly different from 15
pounds.
Independent-Sample t-test
A researcher wants to test whether there is a significant difference in the average amount
of time it takes for two different groups of students to complete a standardized test.
Group A consists of 20 students who used a traditional paper-and-pencil format, while
Group B consists of 18 students who used a computerized format. The researcher wants
to use an independent samples t-test to compare the means of the two groups and
determine whether the difference is statistically significant.
H0: There is no significant difference between Group A and Group B in terms of the
average amount of time to complete a standardized test.
H1: There is a significant difference between Group A and Group B in terms of the
average amount of time to complete a standardized test.
An independent-sample t-test was conducted to determine whether Group A and Group B
are statistically different in terms of the average amount of time to complete a standardized
test at 95% confidence interval. The mean score for Group A was M = 23.4 (SD = 2.82, N =
20), and the mean score for Group B was M = 22.1 (SD = 2.29, N = 18).
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data followed a normal distribution (W = 0.978, p = 0.657). The
Levene's test for equality of variances was not significant (F[1, 36] = 1.02, p = 0.320),
indicating that the assumption of equal variances was met.
The results of the independent-sample t-test revealed that Group A and Group B are not
statistically different in terms of the average amount of time to complete a standardized test
(t[36] = 1.66, p = .105, MD = 1.39), two-tailed. The effect size was moderate (Cohen's d =
.540, 95% CI [-0.126 – 1.19]). Therefore, the researchers failed to reject the null hypothesis,
and that the average time to complete a standardized test of Group A and Group B are not
different from one another.
An independent-sample t-test was conducted to
determine whether Group A and Group B are statistically
different in terms of the average amount of time to
complete a standardized test at 95% confidence interval.
The mean score for Group A was M = 23.4 (SD = 2.82, N =
20), and the mean score for Group B was M = 22.1 (SD =
2.29, N = 18)
An independent-sample t-test was conducted to
determine whether Group A and Group B are statistically
different in terms of the average amount of time to
complete a standardized test at 95% confidence interval.
The mean score for Group A was M = 23.4 (SD = 2.82, N =
20), and the mean score for Group B was M = 22.1 (SD =
2.29, N = 18)
The normality assumption of the data was tested using
the Shapiro-Wilk test, and the results of the test indicated
that the data followed a normal distribution (W = 0.978, p
= 0.657). The Levene's test for equality of variances was
not significant (F[1, 36] = 1.02, p = 0.320), indicating that
the assumption of equal variances was met.
The normality assumption of the data was tested using
the Shapiro-Wilk test, and the results of the test indicated
that the data followed a normal distribution (W = 0.978, p
= 0.657). The Levene's test for equality of variances was
not significant (F[1, 36] = 1.02, p = 0.320), indicating that
the assumption of equal variances was met.
The results of the independent-sample t-test revealed that Group A and Group B are not
statistically different in terms of the average amount of time to complete a standardized test
(t[36] = 1.66, p = .105, MD = 1.39), two-tailed. The effect size was moderate (Cohen's d =
.540, 95% CI [-0.126 – 1.19]). Therefore, the researchers failed to reject the null hypothesis,
and that the average time to complete a standardized test of Group A and Group B are not
different from one another.
The results of the independent-sample t-test revealed that Group A and Group B are not
statistically different in terms of the average amount of time to complete a standardized test
(t[36] = 1.66, p = .105, MD = 1.39), two-tailed. The effect size was moderate (Cohen's d =
.540, 95% CI [-0.126 – 1.19]). Therefore, the researchers failed to reject the null hypothesis,
and that the average time to complete a standardized test of Group A and Group B are not
different from one another.
SAMPLE PROBLEM FOR INDEPENDENT-SAMPLE T-TEST:
A company is interested in testing a new training program for their customer service
representatives. They randomly select 30 customer service representatives and assign
them to either the control group or the experimental group. The control group will
receive the usual training program, while the experimental group will receive the new
training program. After the training, the company wants to know if there is a significant
difference in the average customer satisfaction ratings between the two groups. The
customer satisfaction ratings are measured on a scale from 1 to 10.
H0: There is no significant difference between the control group and experimental group
in terms of the average customer satisfaction ratings.
H1: There is a significant difference between the control group and experimental group in
terms of the average customer satisfaction ratings.
An independent-sample t-test was conducted to determine if there is significant difference
between the control group and experimental group in terms of the average customer
satisfaction ratings at 95% confidence interval. The mean score for experimental group was
M = 8.5 (SD = 0.519, N = 14), and the mean score for control group was M = 5.88 (SD =
0.806, N = 16).
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data did not followed a normal distribution (W = 0.893, p =
0.006). The Levene's test for equality of variances was significant (F[1, 28] = 1.79, p = 0.192),
indicating that the assumption of equal variances was met.
The results of the independent-sample t-test revealed that there is a significant difference
between the control group and experimental group in terms of the average customer
satisfaction ratings (t[28] = 10.4, p = < .001, MD = 2.63), two-tailed. The effect size was large
(Cohen's d = 3.82, 95% CI [2.18 – 5.42]). Therefore, the researchers reject the null hypothesis,
and that the average customer satisfaction rating between the experimental and control
group are statistically different from one another.
Dependent-Sample t-test
H0: There is no significant difference in terms of the average anxiety level of participants
before and after the therapy.
H1: There is a significant difference in terms of the average anxiety level of participants
before and after the therapy.
A paired-sample t-test was conducted to determine if there is a significant difference in
terms of average anxiety levels before and after the therapy at 95% confidence interval. The
mean anxiety level before the therapy was M = 74 (SD = 11.1, N = 20), and the mean anxiety
level after the therapy was M = 65.8 (SD = 11.2, N = 20).
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data did not followed a normal distribution (W = 0.886, p =
0.023).
The results of the independent-sample t-test revealed that there is a significant difference in
terms of average anxiety levels before and after the therapy (t[19] = 11.7, p = < .001, MD =
8.30), two-tailed. The effect size was large (Cohen's d = 2.62, 95% CI [1.68 – 3.55]). Therefore,
the researchers reject the null hypothesis, and that the average anxiety levels of participants
before the treatment is significantly different from their anxiety levels after the treatment.
SAMPLE PROBLEM FOR PAIRED-SAMPLE T-TEST:
H0: There is no significant difference in terms of the average resting heart rate before and
after completing the exercise program.
H1: There is a significant difference in terms of the average resting heart rate before and
after completing the exercise program.
A paired-sample t-test was conducted to determine if there is a significant difference in the
average resting heart rate before and after completing the exercise program at 95%
confidence interval. The mean resting heart rate before the program was M = 10.4 (SD =
2.35, N = 25), and the mean resting heart rate after the program was M = 11.7 (SD = 2.54, N
= 25).
The normality assumption of the data was tested using the Shapiro-Wilk test, and the results
of the test indicated that the data did not followed a normal distribution (W = 0.887, p =
0.010).
The results of the independent-sample t-test revealed that there is a significant difference in
the average resting heart rate before and after completing the exercise program (t[24] = -
5.30, p = < .001, MD = -1.28), two-tailed. The effect size was large (Cohen's d = -1.06, 95%
CI [-1.54 – -0.560]). Therefore, the researchers reject the null hypothesis, and that the
average resting heart rate before the program is statistically different from the average
resting heart rate after completing the program.