The Survey:
This survey was conducted with students living in Warren and Sterling Heights and there were a
total of 30 students surveyed.
1. Which coffee company do you think is more popular, Starbucks or Tim Hortons?
43%
Starbucks
57%
2. How many cups of coffee, on an average day, do you think is sold at each location?
Table 1.
The Results
Student
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Tim
Starbuck
Horton's
s
500 400
600 550
765 700
800 400
550 200
530 300
360 350
290 250
760 100
440 150
500 300
600 900
600 850
550 760
780 300
850 250
678 110
560 650
700 500
500 400
670 320
650 320
550 200
450 150
350 600
290 850
250 200
900 750
250 400
400 650
Table 1 above shows the results of the survey when the students were asked how many
cups of coffee they believe are sold at each location. This data is the data that will be used during
the statistical test.
Statistical Analysis and Two Sample T-Test:
1259
47
2
t=
t=
( x1 x2 )
S1 S2
+
n1 n2
(555.77432)
187.542 242.352
+
30
30
t=2.122
Assumptions: Random sample All the students asked in the survey were randomly selected.
The data is normally distributed the data in the Tim Hortons population is normally
distributed, however the Starbucks in slightly righted skewed, however, since there are no
outliers, the test can still be run confidently
10n > N when N is the population of all the cups of coffee sold in the world.
All the assumptions are met, so the test can be carried on.
T= 2.2122
Pval = 0.015579
distribution where the data collected falls. In this comparison, reject the null hypothesis due to
the p-value of 0.015579 being less than the alpha value of 0.05. There is evidence to suggest that
Tim Hortons sells more cups of coffee on a daily basis when compared to Starbucks. There is a
1.56% chance that data this extreme happened by chance alone, assuming Ho is true.
187.54 242.35
CI =( 555.77432 ) 2.045
+
30
30
CI =123.767 114.412
Clower = 9.35454
Cupper = 238.179
We are 95% confident that the true mean of average cups of coffee sold at a single branch
daily is between 9.35454 and 238.179 cups.
2.045187.54
30
CI =555.77 90.48
Clower = 485.746
Cupper = 625.788
We are 95% confident that the true mean of average cups of coffee sold at Tim Hortons
daily is between 485.746 and 625.788 cups. The true value found through calculating online was
1259, which is more than double the upper bound of the confidence interval, suggesting that the
students vastly underestimated the amount of cups of coffee each Tim Hortons store sells daily.
2.045242.35
30
CI =432 90.48
Clower = 341.505
Cupper = 522.495
We are 95% confident that the true mean of average cups of coffee sold at Starbucks daily
is between 341.505 and 522.495. The true value found through calculating the online data given
by Starbucks is 472, which is within the confidence interval, showing that students were fairly
accurate in their estimations.