Solved Problems
Solved Problems
than 5 minutes. To test this claim, you randomly sample 30 customers and record
their wait times (in minutes). The sample data yields the following summary
statistics:
Null hypothesis (H₀): μ ≤ 5 (The population mean wait time is less than or equal to
5 minutes)
Alternative hypothesis (H₁): μ > 5 (The population mean wait time is greater than 5
minutes)
Since our calculated t-statistic (2.08) is greater than the critical t-value
(1.699), we reject the null hypothesis.
Alternatively, since our p-value (0.025) is less than α (0.05), we reject the null
hypothesis.
Alternative hypothesis (H₁): μd > 0 (The mean running time before the training
program is greater than after, indicating improvement)
Difference (D) | D - d̄ | (D - d̄ )²
----------------|---------|----------
1.8 | 0.167 | 0.028
1.3 | -0.333 | 0.111
1.2 | -0.433 | 0.188
1.7 | 0.067 | 0.004
2.4 | 0.767 | 0.588
1.4 | -0.233 | 0.054
1.7 | 0.067 | 0.004
1.4 | -0.233 | 0.054
1.8 | 0.167 | 0.028
1.6 | -0.033 | 0.001
1.5 | -0.133 | 0.018
1.8 | 0.167 | 0.028
----------------|---------|----------
Σ(D - d̄ )² | 1.106
The formula for the t-statistic in a paired t-test is: t = d̄ / (sd / √n)
t = 1.633 / (0.317 / √12) = 17.85
df = 11 (n - 1)
Since our calculated t-statistic (17.85) is greater than the critical t-value
(1.796), we reject the null hypothesis.
Alternatively, since our p-value (< 0.005) is less than α (0.05), we reject the
null hypothesis.
For a two-tailed test with α = 0.05 and df = 38, the critical t-value is ±2.021
(from t-distribution table).
Since our calculated |t-statistic| (1.885) is less than the critical t-value
(2.021), we fail to reject the null hypothesis.
A local candy manufacturer claims that they produce an equal number of each color
of jelly beans in their mixed bags. To test this claim, a researcher randomly
selects a large bag of jelly beans and counts the number of each color. The results
are as follows:
H₀: The distribution of jelly bean colors is uniform (equal for all colors).
H₁: The distribution of jelly bean colors is not uniform.
χ² = Σ [(O - E)² / E]
Since our calculated χ² (5.56) is less than the critical value (9.49), we fail to
reject the null hypothesis.
A small study was conducted to investigate whether there is an association between
a new medication and the occurrence of a specific side effect. The researchers
recruited 40 participants and randomly assigned them to either the treatment group
(receiving the new medication) or the control group (receiving a placebo). After
the study period, they recorded whether each participant experienced the side
effect or not.
The results are as follows:
Group Side Effect No Side Effect
Treatment 5 15
Control 1 19
H₀: There is no association between the medication and the occurrence of the side
effect.
H₁: There is an association between the medication and the occurrence of the side
effect.
Where:
a = 5 (number of side effects in treatment group)
b = 1 (number of side effects in control group)
c = 15 (number without side effects in treatment group)
d = 19 (number without side effects in control group)
n1 = 20 (total in treatment group)
n2 = 20 (total in control group)
n = 6 (total with side effect)
N = 40 (total participants)
For a = 6:
P(X = 6) = [C(20,6) * C(20,0)] / C(40,6)
= [38760 * 1] / 3838380
= 0.01
Since the p-value (0.0909) is greater than the significance level (0.05), we fail
to reject the null hypothesis.