Check in Activity 2
Check in Activity 2
BSN2
Please answer the following. You may use excel for the computation although I suggest that you solve problem
no. 4 manually. You can still use the manual computation if you have difficulty of using the Excel. You may
compute manually the mean and standard deviation and follow the examples in the lecture to do the step by step
process of hypothesis testing.
1. The grades of college Freshmen selected at random enrolled in College Algebra using 2 different
methods of teaching namely Traditional and Computer Aided Instruction, are as follows:
Traditional Computer Aided Instruction
2.0 1.25
2.75 1.5
1.5 1.75
2.25 2.0
2.5 1.75
1.5 2.0
2.25 1.25
1.50 1.5
1.75 1.75
2.5 1.25
2.5
Determine if there is a significant difference in the grades of the students resulting from the use of two
different methods of teaching at .05 level of significance.
Variable Variable
1 2
Mean 2.090909 1.6
Variance 0.215909 0.086111 0.46466 0.293447
Observations 11 10
Hypothesized Mean
Difference 0
df 17
t Stat 2.921291
P(T<=t) one-tail 0.004761
t Critical one-tail 1.739607
P(T<=t) two-tail 0.009523
t Critical two-tail 2.109816
We reject the H0 because t-value 2.92 > 2.11. We have statistically significant evidence at α=0.05 to
show that there is a significant difference in the grades of the students.
We reject the H0 because p-value 0.01 < 0.05. We have statistically significant evidence at α=0.05 to
show that there is a significant difference in the grades of the students.
2. The following data represent the length of life in minute, measured to the nearest tenth, of a random
sample of 27 black flies subjected to a new spray and to 2 different kinds of spray sold in the market in a
controlled laboratory experiment. Test the claim that the spray 2 which is the experimental can be sold at
the market at .01 level of significance.
Spray 1 Spray 2
(Controlled) (Experimental)
2.15 1.35
1.53 1.40
1.6 2.10
1.5 1.83
3.4 2.3
2.4 2.6
1.7 1.7
2.45 1.25
2.15 1.15
2.75
ANSWER:
Spray 1 Spray 2
Mean 2.164444444 1.79125
Variance 0.423127778 0.267898214 0.650482727 0.517588847
Observations 9 8
Hypothesized Mean Difference 0
df 15
t Stat 1.31532554
P(T<=t) one-tail 0.104076423
t Critical one-tail 2.602480295
P(T<=t) two-tail 0.208152847
t Critical two-tail 2.946712883
We accept the H0 because t-value is 1.32 < 2.95. We have statistically significant evidence at α=0.01 to
show that there is no significant difference spray 2 which is the experimental can be sold at the market.
We accept the H0 because p-value is 0.21 > 0.01 . We have statistically significant evidence at α=0.01 to
show that there is no significant difference spray 2 which is the experimental can be sold at the market.
3. A group of researchers would like to find out if there is a significant difference in the content of 2 different
products of 180 ml commercial shampoo. The actual contents obtained from 12 samples of each product is
indicated below. Use α=.05 level of significance.
Shampoo A Shampoo B
169.5 167
169.5 172.9
182 167.5
178.2 173.6
181.5 172.5
168.5 180
180.5 179.8
174.3 176.6
176.8 180.7
167.5 181.4
179.5
180.4
ANSWER:
t-Test: Two-Sample Assuming Unequal Variances
Shampoo A Shampoo B
Mean 174.83 175.9916667
Variance 32.68677778 26.77537879 5.717235 5.174493
Observations 10 12
Hypothesized Mean Difference 0
df 18
-
t Stat 0.495338162
P(T<=t) one-tail 0.31317708
t Critical one-tail 1.734063607
P(T<=t) two-tail 0.62635416
t Critical two-tail 2.10092204
We accept the H0 because t-value is 0.495 < 2.10. We have statistically significant evidence at α=0.05 to
show that there is no significant difference in the content of 2 different products of 180 ml commercial
shampoo.
We accept the H0 because p-value is 0.63 > 0.05. We have statistically significant evidence at α=0.05 to
show that there is a significant difference in the content of 2 different products of 180 ml commercial
shampoo.
4. A hospital branch located in a commercial district of a city has developed an improved process for serving
costumers during the early morning from 7:am to 9:00 am. The waiting time (defined as the time costumer fall in
line until he or she is finished with her/his transaction) of all costumers during this hour is recorded over a period
of 1 week. A random sample of 20 costumers is selected, and the results are as follows:
5.21 4.35 4.02 5.43 3.77 4.34 4.54 3.90 5.10 6.05
5.46 6.29 4.79 2.45 3.69 5.15 4.20 5.10 3.12 1.38
At the 0.05 level of significance, is there evidence that the mean waiting time is less than 5 minutes?
ANSWER:
t-Test: Two-Sample Assuming Unequal Variances
Variable
1
Mean 4.417
Variance 1.407706 1.186468
Observations 20
Hypothesized Mean Difference 0
df 19
t Stat 16.64893
P(T<=t) one-tail 4.34E-13
t Critical one-tail 1.729133
P(T<=t) two-tail 8.67E-13
t Critical two-tail 2.093024
We accept the H0 because p-value is 4.34E-13 > 0.05. We have statistically significant evidence at
α=0.05 to show that there is no evidence that the mean waiting time is less than 5 minutes.