Quiz 2 and Sol
Quiz 2 and Sol
Q-1: The head office of an international bank instructs the branch managers to ensure that the
average queuing time for customers waiting to see a cashier is no more than 5 minutes. If this is
not followed, a penalty is likely to be imposed and if things are as per the directive of head office,
a bonus will be paid to branch’s employees. You are assigned by the head office to undertake an
audit to check that average waiting time is in accordance with the senior executives’ directive.
a) State the null and alternative hypotheses you will be using in this instance.
b) What is Type I error here and what are its consequences?
c) What is Type II error here and what are its consequences?
Q-2: A courier service advertises that its average delivery time is less than 6 hours for local
deliveries. A random sample of times for 12 deliveries to an address across town was recorded.
These data (delivery times in hours) are shown here.
3.03 6.33 6.50 5.22 3.56 6.76 7.98 4.82 7.96 4.54 5.09 6.46
[Note:∑ 𝑥 2 = 415.65]. Is there sufficient evidence to support the courier’s advertisement, at the
5% level of significance? Assuming normality of delivery times.
Q-3: Between Wendy’s and McDonald’s, which fast-food drive-through window is faster? To
answer the question, a random sample of service times for each restaurant was measured. Can we
infer from these data that there are differences in service times (in seconds) between the two
chains? Use 𝛼 = 0.05 and assume normality of service times.
Wendy’s: 𝑛1 = 20, ̅𝑥1 =158.8, 𝑠1 = 26.66
McDonald’s: 𝑛2 = 15, 𝑥̅2 =152.0, 𝑠2 = 25.21
------------------------------------------
𝑛 ∑ 𝑥 2 −(∑ 𝑥)2 ∑𝑥 𝑥̅ −𝜇0 𝑥̅ −𝜇0
𝑠=√ , 𝑥̅ = ,𝑧= 𝜎 , 𝑡 = 𝑠 , DF : n-1
𝑛(𝑛−1) 𝑛 ⁄ 𝑛 ⁄ 𝑛
√ √
(𝑛1 −1)𝑠12 +(𝑛2 −1)𝑠22 ̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 )
𝑠𝑝 = √ ,𝑡= , DF: 𝑛1 + 𝑛2 − 2
𝑛1 +𝑛2 −2 𝑠𝑝 √𝑛 +𝑛
1 1
1 2
2
𝑠2 𝑠2
(𝑛1 +𝑛2 )
̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 ) 1 2 𝑑̅ −(𝜇1 −𝜇2 )
𝑡= , 𝐷𝐹 ≅ 𝑠2 𝑠2
, Paired t test: t = 𝑠𝑑 ,
𝑠 2𝑠 2 ( 1⁄𝑛1 )2 ( 2⁄𝑛2 )2 ⁄
√ 1+ 2 + 𝑛 −1 √𝑛
𝑛1 𝑛2 𝑛1 −1 2
2
∑𝑑 𝑛 ∑ 𝑑𝑖2 − (∑ 𝑑𝑖 )
𝑑̅ = 𝑖 and 𝑠𝑑 = √ , DF = n-1
𝑛 𝑛(𝑛−1)
Quiz 2 [SET B]
Q-1: A fast-food chain is considering building a restaurant at a certain location. Based on financial
analysis, a location site is acceptable only if the number of pedestrians passing the location
averages more than 100 per hour. In that case the chain is expected to realize a profit of 2 million
dollars per year at the proposed site. In case their decision is wrong, the chain is expected to suffer
a loss of investment worth $200,000.
a) State the null and alternative hypotheses you will be using in this instance.
b) What is Type I error here and what are its financial consequences?
c) What is Type II error here and what are its financial consequences?
Q-2: A random sample of 12 second-year university students enrolled in a business statistics
course was drawn. The instructor has recommended that students devote a total of 36 hours for the
semester. At the course’s completion, each student was asked how many hours he or she spent
doing homework in statistics for the semester. The data are listed here.
31 40 26 30 36 38 29 40 38 30 35 38.
Test to determine whether there is evidence that the average student spent less than the
recommended amount of time for the semester. [Note:∑ 𝑥 2 = 14331] Use 𝛼 = 0.05, assuming that
hours of study are normally distributed.
Q-3: A study of iron deficiency among infants compared samples of infants following different
feeding regimens. One group contained breast-fed infants, while the children in another group
were fed a standard baby formula without any iron supplements. Here are summary results on
blood hemoglobin levels at 12 months of age.
Group n 𝑥̅ s
Breast-fed 23 13.3 1.7
Formula Fed 19 12.4 1.8
Assuming blood hemoglobin are normally distributed, test at 5% level whether there is significant
evidence that the mean hemoglobin level is higher among breast-fed babies than the formula fed?
𝑛 ∑ 𝑥 2 −(∑ 𝑥)2 ∑𝑥 𝑥̅ −𝜇0 𝑥̅ −𝜇
𝑠=√ , 𝑥̅ = ,𝑧= 𝜎 , 𝑡= 𝑠 0 , DF : n-1
𝑛(𝑛−1) 𝑛 ⁄ 𝑛 ⁄ 𝑛
√ √
(𝑛1 −1)𝑠12 +(𝑛2 −1)𝑠22 ̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 )
𝑠𝑝 = √ ,𝑡= , DF: 𝑛1 + 𝑛2 − 2
𝑛1 +𝑛2 −2 1
𝑠𝑝 √+
1
𝑛1 𝑛2
2
𝑠21 𝑠2
2
(𝑛 +𝑛 )
̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 ) 1 2 𝑑̅ −(𝜇1 −𝜇2 )
𝑡= , 𝐷𝐹 ≅ 𝑠2 𝑠2
, Paired t test: t = 𝑠𝑑 ,
𝑠 2
𝑠 2 ( 1⁄𝑛1 )2 ( 2⁄𝑛2 )2 ⁄
√ 1+ 2 + 𝑛 −1 √𝑛
𝑛1 𝑛2 𝑛1 −1 2
2
∑𝑑 𝑛 ∑ 𝑑𝑖2 − (∑ 𝑑𝑖 )
𝑑̅ = 𝑖 and 𝑠𝑑 = √ , DF = n-1
𝑛 𝑛(𝑛−1)
Quiz 2 [SET C]
Q-1: A fast-food chain is considering building a restaurant at a certain location. Based on financial
analysis, a site is acceptable only if the number of pedestrians passing the location averages more
than 100 per hour. In that case the chain is expected to realize a profit of 2 million dollars per year.
In case their decision is wrong, the chain is expected to suffer a loss of investment worth $200,000.
a) State the null and alternative hypotheses you will be using in this instance.
b) What is Type I error here and what are its financial consequences?
c) What is Type II error here and what are its financial consequences?
Q-2: Past experience indicates that the monthly long-distance telephone bill is normally distributed
with a mean of $17.85. After an advertising campaign aimed at increasing long-distance telephone
usage, a random sample of 12 household bills was taken which yielded the following sample bills:
22.2 16.3 21.6 21.6 24.5 14.5 17.2 23.5 22.6 20.3 22.1 1
2
17.9. [Note:∑ 𝑥 = 5081.91]
Do the data allow us to infer at the 10% significance level that the campaign was successful?
Q-3: The College Board SAT college entrance exam consists of three parts: math, writing, and
critical reading. Sample data showing the math and writing scores for a sample of 8 students who
took the SAT follow. Use a 0.05 level of significance and test for a difference between the
population mean for the math scores and the population mean for the writing scores.
Student 1 2 3 4 5 6 7 8
Math 540 480 432 499 528 610 574 502
Writing 474 430 380 459 463 615 612 526
2
𝑛 ∑ 𝑥 2 −(∑ 𝑥) ∑𝑥 𝑥̅ −𝜇0 𝑥̅ −𝜇
𝑠=√ , 𝑥̅ = ,𝑧= 𝜎 , 𝑡= 𝑠 0 , DF : n-1
𝑛(𝑛−1) 𝑛 ⁄ 𝑛 ⁄ 𝑛
√ √
(𝑛1 −1)𝑠12 +(𝑛2 −1)𝑠22 ̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 )
𝑠𝑝 = √ ,𝑡= , DF: 𝑛1 + 𝑛2 − 2
𝑛1 +𝑛2 −2 𝑠𝑝 √𝑛 +𝑛
1 1
1 2
2
𝑠2
1 𝑠2
2
(𝑛 +𝑛 )
̅̅̅̅
𝑋1 −𝑋̅̅̅̅
2 −(𝜇1 −𝜇2 ) 1 2 𝑑̅ −(𝜇1 −𝜇2 )
𝑡= , 𝐷𝐹 ≅ 𝑠2 𝑠2
, Paired t test: t = 𝑠𝑑 ,
𝑠2 𝑠2 ( 1⁄𝑛1 )2 ( 2⁄𝑛2 )2 ⁄
√ 1+ 2 + 𝑛 −1 √𝑛
𝑛1 𝑛2 𝑛1 −1 2
2
∑𝑑 𝑛 ∑ 𝑑𝑖2 − (∑ 𝑑𝑖 )
𝑑̅ = 𝑖 and 𝑠𝑑 = √ , DF = n-1
𝑛 𝑛(𝑛−1)