charges, large popcorn, and two medium soft drinks at a sample of six theatre chains:
At the 0.05 level of significance, is there evidence that the mean price for two tickets, with online
service charges, large popcorn, and two medium soft drinks, is different from $35? Determine the
p-value in (a) and interpret your results.
Q2
In customer data set. we want to determine whether or not the mean of age of the customers in
each income category differ from 42 at 5% level of significant.

7
Exercises Solution
Q1
𝐻
0
: 𝜇 = 35 𝐻
1
: 𝜇 ≠ 35
p-value = 0.431
∵ p − value = 0.431 > 0.05
We do not reject the null hypothesis
𝐻
0
. We do not have enough evidence to conclude that the
mean
price
for
two
tickets,
with
online
service charges, large popcorn, and two medium soft
drinks, is different from $35.
Q2
Under $25
𝐻
0
: 𝜇
1
= 42 𝐻
1
: 𝜇
1
≠ 42
$25 - $49
𝐻
0
: 𝜇
2
= 42 𝐻
1
: 𝜇
2
≠ 42
$50 - $74
𝐻
0
: 𝜇
3
= 42 𝐻
1
: 𝜇
3
≠ 42
$75+
𝐻
0
: 𝜇
4
= 42 𝐻
1
: 𝜇
4
≠ 42
Under $25, $25 - $49, $50 - $74 and $75+: p-value < 0
We reject the null hypothesis
𝐻
0
. We have enough evidence to conclude that the
mean
age of the
customers in each income category differ from 42.
One-Sample Test
Test Value = 35
t
df
Sig. (2-
tailed)
Mean
Difference
95% Confidence Interval
of the Difference
Lower
Upper
Price
.856
5
.431
1.53333
-3.0733
6.1399
One-Sample Statistics
Income category in thousands
N
Mean
Std. Deviation
Std. Error Mean
Under $25
Age in years
1174
37.78
16.096
.470
$25 - $49
Age in years
2388
38.81
10.902
.223
$50 - $74
Age in years
1120
42.93
9.573
.286
$75+
Age in years
1718
48.94
9.268
.224
One-Sample Test
Income category in
thousands
Test Value = 42
t
df
Sig. (2-
tailed)
Mean
Difference
95% Confidence Interval of
the Difference
Lower
Upper
Under $25
Age in years
-8.993
1173
.000
-4.225
-5.15
-3.30
$25 - $49
Age in years
-14.306
2387
.000
-3.191
-3.63
-2.75
$50 - $74
Age in years
3.249
1119
.001
.929
.37
1.49
$75+
Age in years
31.018
1717
.000
6.935
6.50
7.37