1
00:00:00,120 --> 00:00:03,600
We finally reached the end of our hypothesis testing procedure.

2
00:00:03,600 --> 00:00:08,790
And now we're going to go through the last few steps where we get to determine whether or not our result

3
00:00:08,790 --> 00:00:13,110
is significant enough to lend support to our alternative hypothesis.

4
00:00:13,140 --> 00:00:19,950
So to pick up where we left off, we started out the hypothesis testing procedure by stating null and

5
00:00:19,950 --> 00:00:21,320
alternative hypotheses.

6
00:00:21,330 --> 00:00:27,150
And along with that we chose a confidence level and therefore an associated alpha value.

7
00:00:27,150 --> 00:00:31,520
And we decided whether we wanted to run a one tailed test or a two tailed test.

8
00:00:31,530 --> 00:00:36,990
And then in the last lecture we learned how to calculate our test statistic and we calculated this t

9
00:00:36,990 --> 00:00:42,990
score because we always need to use a t test when population standard deviation is unknown.

10
00:00:43,020 --> 00:00:49,770
Once we have our T score or our t test statistic in hand, we need to determine whether or not that

11
00:00:49,770 --> 00:00:56,790
score is significant enough to reject the null hypothesis, and we can determine that significance in

12
00:00:56,790 --> 00:00:57,750
one of two ways.

13
00:00:57,750 --> 00:01:03,240
We can do it by looking at the p value, or we can do it by looking at the critical value.

14
00:01:03,240 --> 00:01:04,830
So we have two options here.

15
00:01:04,830 --> 00:01:10,050
If we use this p value method, then we're going to follow just three steps here.

16
00:01:10,050 --> 00:01:16,950
So we're going to locate the T score our T test statistic in the T table, and we'll do that by navigating

17
00:01:16,980 --> 00:01:23,310
to the appropriate row based on degrees of freedom and then scanning across the row until we locate

18
00:01:23,310 --> 00:01:24,450
the T score.

19
00:01:24,480 --> 00:01:30,000
Once we find the cell in the T table where we're positioning ourselves, we'll look at the corresponding

20
00:01:30,000 --> 00:01:33,270
upper tail probability at the top of the t table.

21
00:01:33,270 --> 00:01:39,060
And then based on the kind of test that we're running, we'll use that upper tail probability to determine

22
00:01:39,060 --> 00:01:45,300
p value and then we'll compare that p value to the alpha value that we set out at the beginning when

23
00:01:45,300 --> 00:01:46,830
we picked a confidence level.

24
00:01:46,830 --> 00:01:49,740
And we'll go through these steps in detail with an example.

25
00:01:49,770 --> 00:01:55,020
Otherwise, if we use the critical value approach, then we're following just two steps.

26
00:01:55,020 --> 00:02:02,310
This time we use our degrees of freedom, remember, based on sample size and the confidence level to

27
00:02:02,310 --> 00:02:05,820
locate a critical value in the body of the T table.

28
00:02:05,850 --> 00:02:12,660
And then we compare that critical value to the absolute value of the T score or the T test statistic

29
00:02:12,660 --> 00:02:14,340
that we calculated earlier.

30
00:02:14,340 --> 00:02:19,410
And then based on what we find, here are the important conclusions that we can make.

31
00:02:19,410 --> 00:02:25,830
If we use the p value approach, then if P is less than or equal to alpha, we reject the null hypothesis

32
00:02:25,830 --> 00:02:29,040
and therefore lend support to the alternative hypothesis.

33
00:02:29,040 --> 00:02:35,040
If we use the critical value approach, if the absolute value of t our t score we calculated when we

34
00:02:35,040 --> 00:02:40,470
found the test statistic, if the absolute value of T is greater than the critical value that we get

35
00:02:40,470 --> 00:02:45,390
from the body of the T table, then we reject the null hypothesis and therefore lend support to the

36
00:02:45,390 --> 00:02:46,590
alternative hypothesis.

37
00:02:46,590 --> 00:02:48,750
So that's a lot to take in.

38
00:02:48,780 --> 00:02:52,650
It'll be much easier to understand if we go through an example.

39
00:02:52,650 --> 00:02:57,570
So let's pull up here a T table and I've consolidated this table.

40
00:02:57,570 --> 00:03:04,410
So we're just showing the rows four, 18, 19 and 20 degrees of freedom instead of looking at the entire

41
00:03:04,410 --> 00:03:11,280
t table, because we're going to go through an example here where we choose a confidence level of 95%,

42
00:03:11,280 --> 00:03:17,130
therefore an alpha value of 5% or 0.05, and we'll run a two tailed test.

43
00:03:17,130 --> 00:03:24,330
And more specifically, we're going to say that we use a 20% sample or that our sample size is 20.

44
00:03:24,330 --> 00:03:31,680
So because our sample size is 20, remember then that degrees of freedom is always the sample size minus

45
00:03:31,680 --> 00:03:32,130
one.

46
00:03:32,130 --> 00:03:36,330
In our case, that's 20 minus one or 19.

47
00:03:36,330 --> 00:03:39,870
So that's why we're just looking at this section of the T table, because we're going to be looking

48
00:03:39,870 --> 00:03:43,200
at this second row here where we have 19 degrees of freedom.

49
00:03:43,200 --> 00:03:48,510
So to go back to the beginning here, what we're saying is that we are running a two tailed test.

50
00:03:48,510 --> 00:03:54,150
We decided to run a two tailed test because we're not sure about the directionality of our hypothesis

51
00:03:54,150 --> 00:04:02,100
statements, which means by definition, that the null hypothesis has to be that the population mean

52
00:04:02,100 --> 00:04:04,530
is equal to our hypothesized value.

53
00:04:04,530 --> 00:04:07,740
And we're going to say that the hypothesized value here is 14.

54
00:04:07,740 --> 00:04:14,600
That means that our alternative hypothesis is that the population mean is not equal to 14.

55
00:04:14,610 --> 00:04:20,250
In the last few lectures we've been using this hypothesized value where we say that we're running the

56
00:04:20,250 --> 00:04:26,320
shipping department in a warehouse and we're investigating whether mean order processing time is 14

57
00:04:26,320 --> 00:04:26,820
hours.

58
00:04:26,820 --> 00:04:31,020
Let's say that the assumption is that mean order processing time is 14 hours.

59
00:04:31,020 --> 00:04:35,790
We're going to run a two tailed test to investigate our alternative hypothesis here.

60
00:04:35,790 --> 00:04:39,060
That mean order processing time is not 14 hours.

61
00:04:39,060 --> 00:04:42,210
So we have these hypothesis statements.

62
00:04:42,210 --> 00:04:47,070
We can see from the hypothesis statements that we're running a two tailed test because of the fact that

63
00:04:47,070 --> 00:04:49,500
we have the equal sign and the not equal to sign.

64
00:04:49,500 --> 00:04:54,930
Otherwise, if the alternative hypothesis was mu greater than 14 or MU less than 14, then that would

65
00:04:54,930 --> 00:04:58,050
indicate a directional test and therefore a one tailed test.

66
00:04:58,050 --> 00:04:59,850
But we have these hypothesis statements.

67
00:04:59,910 --> 00:05:01,440
We're running a two tailed test.

68
00:05:01,470 --> 00:05:04,290
We've chosen a confidence level of 95%.

69
00:05:04,470 --> 00:05:10,150
That means that the alpha value is 100%, -95% or 5%.

70
00:05:10,170 --> 00:05:14,910
We can also call that alpha value 0.05 if we convert to decimal form there.

71
00:05:14,910 --> 00:05:22,740
And we're saying that we have taken a sample of 20 orders in our warehouse, we computed a sample mean

72
00:05:22,740 --> 00:05:27,780
of 14.4 5 hours with a sample standard deviation of one hour.

73
00:05:27,780 --> 00:05:31,830
And so our next step then is to calculate the t test statistic.

74
00:05:31,830 --> 00:05:33,570
And so we have our formula.

75
00:05:33,570 --> 00:05:35,250
We looked at this in the last lecture.

76
00:05:35,250 --> 00:05:41,700
If we plug in everything that we have here, the sample mean we said was 14.4 5 hours.

77
00:05:41,700 --> 00:05:49,860
We subtract the hypothesized value 14 hours, and then we divide that by sample standard deviation,

78
00:05:49,860 --> 00:05:54,450
which is one hour divided by the square root of the sample size.

79
00:05:54,450 --> 00:05:57,600
And in our case, the sample size here is 20 orders.

80
00:05:57,600 --> 00:06:05,550
Now, if we use a calculator to find this value, we get a t test statistic of approximately 2.012 when

81
00:06:05,550 --> 00:06:07,380
we round to three decimal places.

82
00:06:07,380 --> 00:06:12,960
So at this point we have taken care of all three of these steps here.

83
00:06:12,960 --> 00:06:16,170
And the whole first part of our hypothesis testing procedure.

84
00:06:16,170 --> 00:06:21,900
And now we need to either use the p value approach or the critical value approach to make a conclusion

85
00:06:21,900 --> 00:06:27,270
about whether or not this t score is significant enough to allow us to reject the null hypothesis.

86
00:06:27,270 --> 00:06:29,910
So let's look at the p value approach.

87
00:06:30,060 --> 00:06:32,490
If we use this approach, here's what we do.

88
00:06:32,520 --> 00:06:39,060
Once we have our test statistic, we locate this test statistic in our t table and we do that based

89
00:06:39,060 --> 00:06:40,290
on degrees of freedom.

90
00:06:40,290 --> 00:06:45,630
So in this case, with a sample size of 20 degrees of freedom is 20 minus one or 19.

91
00:06:45,630 --> 00:06:52,170
So we go to the row where we find 19 degrees of freedom and then we start moving our way across the

92
00:06:52,170 --> 00:06:54,900
row looking for 2.012.

93
00:06:54,930 --> 00:07:01,620
Now, keep in mind that it's very, very unlikely that we'll find exactly this value for the T score

94
00:07:01,650 --> 00:07:02,670
that we calculated.

95
00:07:02,670 --> 00:07:08,970
Almost certainly we'll find a T value here that lies in between two of the values in the table.

96
00:07:08,970 --> 00:07:16,440
So looking across this 19 degrees of Freedom Row, we see that this score right here lies in between

97
00:07:16,470 --> 00:07:17,520
these two values.

98
00:07:17,520 --> 00:07:21,510
It's in between 1.729 and 2.093.

99
00:07:21,510 --> 00:07:27,000
So since we're in between these two values and our next step is to locate the corresponding upper tail

100
00:07:27,000 --> 00:07:32,070
probability, we want to look at the upper tail probability associated with both of these values, the

101
00:07:32,070 --> 00:07:36,600
value to the left and right of the approximate location of our T score.

102
00:07:36,750 --> 00:07:45,480
So if we go up to the top of our T table, we can see the upper tail probabilities associated with those

103
00:07:45,480 --> 00:07:46,500
two values here.

104
00:07:46,530 --> 00:07:49,500
0.05 and 0.025.

105
00:07:49,500 --> 00:07:54,840
Now, usually what we'll do at this point, because we know that our T score is somewhere in between

106
00:07:54,840 --> 00:08:01,080
these two values, we'll pick some value in between these two upper tail probability values, some value

107
00:08:01,080 --> 00:08:04,680
between 0.05 and 0.025.

108
00:08:04,710 --> 00:08:09,240
So let's just say for the sake of argument that we split the difference equally.

109
00:08:09,240 --> 00:08:14,310
In other words, we take the halfway point between 0.05 and 0.025.

110
00:08:14,310 --> 00:08:22,710
Well, the value exactly halfway between these two is 0.0375.

111
00:08:22,740 --> 00:08:28,980
Now, once we found this value here, if we are running a two tailed test, which is what we're doing

112
00:08:28,980 --> 00:08:33,330
here, we need to multiply this value by two.

113
00:08:33,330 --> 00:08:43,200
So we would take two times 0.0375 and we get 0.075.

114
00:08:43,200 --> 00:08:46,020
And this then is the P value.

115
00:08:46,050 --> 00:08:50,040
The P value is equal to 0.075.

116
00:08:50,040 --> 00:08:53,640
Now here's the reason that we multiply that value by two.

117
00:08:53,640 --> 00:08:57,030
When you hear p value think probability value.

118
00:08:57,060 --> 00:09:02,700
The value of P is essentially giving us the probability of rejecting the null hypothesis.

119
00:09:02,700 --> 00:09:07,800
Or another way to put that would be the probability of falling within the region of rejection.

120
00:09:07,800 --> 00:09:14,160
And another way to put that would be that it represents the amount of area under the distribution that

121
00:09:14,160 --> 00:09:16,230
makes up the region of rejection.

122
00:09:16,230 --> 00:09:22,320
And that's normally what we imagine Alpha to be, which means that if we get a P value that is smaller

123
00:09:22,320 --> 00:09:26,610
than the alpha value, it means that we're going to fall within the region of rejection and therefore

124
00:09:26,640 --> 00:09:28,500
that we can reject the null hypothesis.

125
00:09:28,500 --> 00:09:33,810
But if we get a p value that is larger than the alpha value, it means we're falling outside the region

126
00:09:33,810 --> 00:09:39,420
of rejection and therefore that we won't be able to reject the null hypothesis, will fail to reject

127
00:09:39,420 --> 00:09:43,650
it, which is why we can compare the p value directly to the alpha value.

128
00:09:43,650 --> 00:09:50,280
We want to look at them in direct comparison and that's why we double this value that we found here

129
00:09:50,280 --> 00:09:52,440
when we're running a two tailed test.

130
00:09:52,440 --> 00:09:57,690
Because from the T table we just get an upper tail probability value.

131
00:09:57,690 --> 00:09:59,790
And so this estimate here is an.

132
00:09:59,870 --> 00:10:04,690
Estimate of the amount of area we'd find in the region of rejection in the upper tail.

133
00:10:04,700 --> 00:10:10,340
But if we're running a two tailed test, we expect this same amount of area in the lower tail.

134
00:10:10,340 --> 00:10:16,760
And so to find P for a two tailed test, we have to double this value to capture the full region of

135
00:10:16,760 --> 00:10:19,100
rejection from both tails.

136
00:10:19,100 --> 00:10:26,180
So for a two tailed test, we double this value that we find and then we compare that double value directly

137
00:10:26,180 --> 00:10:27,140
to Alpha.

138
00:10:27,320 --> 00:10:32,930
In this case, alpha is 0.05 and P is 0.075.

139
00:10:32,930 --> 00:10:41,120
So within this particular set of circumstances, P is greater than alpha, which means that we'll fail

140
00:10:41,120 --> 00:10:45,380
to reject the null we can't reject.

141
00:10:46,570 --> 00:10:47,740
The null hypothesis.

142
00:10:47,740 --> 00:10:53,230
If instead of using the p value approach, we use the critical value approach, then our first step

143
00:10:53,230 --> 00:10:56,350
is to locate the critical value in our t table.

144
00:10:56,350 --> 00:11:00,250
What that means is that we look up degrees of freedom and our confidence level.

145
00:11:00,250 --> 00:11:05,890
So here for this example, we know we're at 19 degrees of freedom at a confidence level of 95%.

146
00:11:06,070 --> 00:11:11,890
So we come to 19 degrees of freedom and move across until we see that confidence level of 95%.

147
00:11:11,890 --> 00:11:15,100
And that puts us here at this critical value.

148
00:11:15,100 --> 00:11:20,920
We call this the critical value when we find the intersection of those two things, 2.093.

149
00:11:20,920 --> 00:11:29,740
So 2.093 is our critical value and we want to compare the absolute value of the T score that we calculated.

150
00:11:29,770 --> 00:11:34,270
Remember that absolute value just means taking the positive version of whatever value we have.

151
00:11:34,270 --> 00:11:43,480
So even if here we had calculated RT is -2.01 to the absolute value of -2.012 is just positive 2.01

152
00:11:43,480 --> 00:11:46,780
to the absolute value of a positive number is itself.

153
00:11:46,780 --> 00:11:52,090
So all this means here to take the absolute value of RT is if we come up with a negative value for t

154
00:11:52,120 --> 00:11:57,370
taking the absolute value just removes that negative sign and turns the negative number into a positive

155
00:11:57,370 --> 00:11:57,760
number.

156
00:11:57,760 --> 00:11:59,590
Positive numbers stay the same.

157
00:11:59,680 --> 00:12:01,300
So here we have a positive number.

158
00:12:01,300 --> 00:12:03,790
Taking the absolute value means it stays the same.

159
00:12:03,790 --> 00:12:09,370
So we're comparing positive 2.012 to the critical value of 2.093.

160
00:12:09,370 --> 00:12:18,550
What we're showing here is that the absolute value of T is the absolute value of 2.012 compared to the

161
00:12:18,550 --> 00:12:21,160
critical value of 2.093.

162
00:12:21,160 --> 00:12:25,510
Well, that is less than 2.093.

163
00:12:25,510 --> 00:12:31,270
And because our RT score is less than our critical value, we fail to reject.

164
00:12:31,510 --> 00:12:34,420
We can't reject the null hypothesis.

165
00:12:34,420 --> 00:12:39,670
We need our RT score, the absolute value of our RT score to be greater than the critical value in order

166
00:12:39,670 --> 00:12:41,380
to reject the null hypothesis.

167
00:12:41,380 --> 00:12:49,180
So then in this scenario, the conclusion of our hypothesis test is to say that based on the sample

168
00:12:49,180 --> 00:12:55,370
values we calculated, the sample mean in sample standard deviation at a sample size of 20 orders and

169
00:12:55,370 --> 00:12:58,480
to be 95% confident running a two tailed test.

170
00:12:58,510 --> 00:13:01,330
We fail to reject the null hypothesis.

171
00:13:01,330 --> 00:13:07,960
We can't reject the null, which means that we can't lend support to our alternative hypothesis.

172
00:13:07,960 --> 00:13:14,140
There's no evidence here or there's not enough evidence in this result to support the idea that mean

173
00:13:14,140 --> 00:13:17,470
order processing time is something other than 14 hours.

174
00:13:17,470 --> 00:13:21,610
And that would then be the conclusion of this hypothesis test.

175
00:13:21,610 --> 00:13:27,490
But let's look at what happens if we run a one tailed test instead of a two tailed test.

176
00:13:27,610 --> 00:13:31,660
So we keep the same confidence level and therefore alpha value.

177
00:13:31,690 --> 00:13:39,940
We want to be 95% confident, but instead this time we're running a one tailed test, which means therefore

178
00:13:39,970 --> 00:13:42,520
that we have to change our hypothesis statements.

179
00:13:42,520 --> 00:13:49,150
We'll say that we're going to hypothesize that mean order processing time is greater than 14 hours.

180
00:13:49,150 --> 00:13:55,630
Therefore, the null hypothesis would need to say that mean order processing time is not greater than

181
00:13:55,630 --> 00:13:59,050
meaning less than or equal to 14 hours.

182
00:13:59,050 --> 00:14:04,780
So we change our hypothesis statements, but we still took a 20 order sample.

183
00:14:04,780 --> 00:14:09,970
We found a sample mean of 14.4 5 hours, a sample standard deviation of one hour.

184
00:14:09,970 --> 00:14:15,310
And of course, this is still our hypothesized value, which means we're going to compute the same t

185
00:14:15,310 --> 00:14:18,910
score, the same T test statistic of 2.012.

186
00:14:18,940 --> 00:14:21,850
Now let's go back to our P value approach.

187
00:14:21,850 --> 00:14:27,880
But first, when we look here at our t table, we need to be careful because this t table is really

188
00:14:27,880 --> 00:14:30,580
set up for two tailed tests.

189
00:14:30,580 --> 00:14:34,210
If you can see here the confidence level across the bottom.

190
00:14:34,210 --> 00:14:36,640
Let's take this 90% confidence level here.

191
00:14:36,670 --> 00:14:42,400
That means the alpha value would be 10% for this confidence level, which means that if we're running

192
00:14:42,400 --> 00:14:49,780
a two tailed test will have 5% of the alpha value, that 10% alpha value will be divided between 5%

193
00:14:49,780 --> 00:14:52,150
in the lower tail and 5% in the upper tail.

194
00:14:52,150 --> 00:14:58,930
And you see here the upper tail probability that corresponds to 90% is a 5% upper tail probability,

195
00:14:58,930 --> 00:15:06,340
which means that this t table by design is representing a two tailed test because this upper tail probability,

196
00:15:06,340 --> 00:15:11,770
if we match it up to the confidence level by definition is showing that upper tail probability for a

197
00:15:11,800 --> 00:15:12,820
two tailed test.

198
00:15:12,820 --> 00:15:18,700
So we need to be aware of that, that this row here, this confidence level row that's given to us by

199
00:15:18,700 --> 00:15:21,220
default is for a two tailed test.

200
00:15:21,250 --> 00:15:28,060
If we're running a one tailed test, notice that these confidence levels shift over one column to the

201
00:15:28,060 --> 00:15:31,240
left while upper tail probability stays the same.

202
00:15:31,240 --> 00:15:37,270
So for that same 90% confidence level that was here, if we have a two tailed test, we know that that

203
00:15:37,270 --> 00:15:43,240
10% alpha value gets divided into 5% in the lower tail and 5% in the upper tail, which we see right

204
00:15:43,240 --> 00:15:45,970
there, but for a one tailed test.

205
00:15:46,080 --> 00:15:52,230
That means the entire 10% alpha value is going to be put into one tail alone.

206
00:15:52,230 --> 00:15:58,320
So we shift these confidence levels over one column to the left so that this confidence level of 90%

207
00:15:58,350 --> 00:16:05,400
corresponds to the upper tail probability of 10%, because the entire 10% alpha value that's associated

208
00:16:05,400 --> 00:16:09,150
with this 90% confidence level is pushed into one tail.

209
00:16:09,150 --> 00:16:18,750
So we need to see 90% confidence with 10% alpha in a one tailed test versus 90% confidence with 5% alpha

210
00:16:18,750 --> 00:16:23,730
in a two tailed test, which means then that if we're going to use this p value approach and follow

211
00:16:23,730 --> 00:16:27,570
these steps again, if we again locate our T score in the T table.

212
00:16:27,570 --> 00:16:35,100
So we calculated a T score of 2.012 and based on the degrees of freedom of 19, we locate that spot

213
00:16:35,100 --> 00:16:36,000
in this row.

214
00:16:36,000 --> 00:16:44,700
And again, just like before we find this spot right here in between 1.729 and 2.093, we locate the

215
00:16:44,700 --> 00:16:46,560
corresponding upper tail probability.

216
00:16:46,560 --> 00:16:51,210
So we come up here to the top because we're in between these two values.

217
00:16:51,210 --> 00:16:56,340
Where in between these two upper tail probability values, 0.05 and 0.025.

218
00:16:56,340 --> 00:17:03,960
So if we then pick a value that's exactly halfway between those two, we pick 0.0375.

219
00:17:03,960 --> 00:17:07,770
That's exactly halfway between 0.05 and 0.025.

220
00:17:07,770 --> 00:17:14,520
But because we're only running a one tailed test, we do not double this value like we did before when

221
00:17:14,520 --> 00:17:16,140
we were running a two tailed test.

222
00:17:16,170 --> 00:17:21,210
Now we keep the p value as just 0.0375.

223
00:17:21,210 --> 00:17:27,119
So this time we get P equals 0.0375.

224
00:17:27,119 --> 00:17:32,340
We compare that to our alpha value of 5% or 0.05.

225
00:17:32,340 --> 00:17:36,600
And we see here in this case that P is less than alpha.

226
00:17:36,600 --> 00:17:42,630
And based on that finding, we reject the null hypothesis.

227
00:17:42,630 --> 00:17:45,990
So this is here the two tailed.

228
00:17:47,320 --> 00:17:52,840
Scenario, and this is the one tailed scenario.

229
00:17:52,840 --> 00:17:57,820
So in the one tailed scenario based on the p value approach, we're able to reject the null.

230
00:17:57,850 --> 00:18:01,150
What about using the critical value approach with a one tailed test?

231
00:18:01,180 --> 00:18:07,030
Well, here we again locate the critical value in the T table based on degrees of freedom and confidence

232
00:18:07,030 --> 00:18:07,480
level.

233
00:18:07,480 --> 00:18:14,800
So four degrees of freedom 19 and a confidence level of 95% using our one tailed test row for confidence

234
00:18:14,800 --> 00:18:15,190
level.

235
00:18:15,190 --> 00:18:19,030
So 19 degrees of freedom over to 95% confidence.

236
00:18:19,030 --> 00:18:21,850
And we arrive here at 1.7 to 9.

237
00:18:21,850 --> 00:18:28,990
So our critical value this time, remember last time it was 2.093, Now it is 1.7.

238
00:18:29,660 --> 00:18:36,160
Two nine and let's put this one here in white to indicate that it was part of our two tailed test.

239
00:18:36,170 --> 00:18:43,970
So for the one tailed test, we get 1.7 to 9 is the critical value we need to compare now the absolute

240
00:18:43,970 --> 00:18:45,800
value of 2.012.

241
00:18:45,800 --> 00:18:49,130
So absolute value of 2.012.

242
00:18:49,130 --> 00:18:55,040
And we need to compare that to the critical value of 1.729.

243
00:18:55,040 --> 00:19:00,200
Well, in this case, 2.012 is greater than 1.729.

244
00:19:00,200 --> 00:19:07,400
And because we get this greater than value, we can again reject the null hypothesis, which means that

245
00:19:07,400 --> 00:19:14,150
if we run this as a one tailed test, then we are successful at rejecting the null and therefore successful

246
00:19:14,150 --> 00:19:17,000
at lending support to the alternative hypothesis.

247
00:19:17,000 --> 00:19:23,180
So in this case we would say that we've found evidence for the idea that mean order processing time

248
00:19:23,180 --> 00:19:25,340
is longer than 14 hours.

249
00:19:25,340 --> 00:19:31,430
The conclusion of this particular hypothesis test with this particular sample that we found supports

250
00:19:31,430 --> 00:19:35,960
that result, supports that conclusion, that mean order processing time is more than 14 hours.

251
00:19:35,960 --> 00:19:41,750
So under the exact same set of circumstances, we failed to reject the null for the two tailed tests

252
00:19:41,750 --> 00:19:45,500
and succeeded at rejecting the null for a one tailed test.

253
00:19:45,500 --> 00:19:50,300
Remember, all the way back at the beginning when we talked about hypothesis statements and one and

254
00:19:50,300 --> 00:19:56,330
two tailed tests that we said that the two tailed test was more conservative and that we should only

255
00:19:56,330 --> 00:20:02,330
use a one tailed test when we had some kind of data, some kind of evidence to give us a reasonable

256
00:20:02,330 --> 00:20:05,270
belief about the directionality of the test.

257
00:20:05,270 --> 00:20:11,720
And that's because with the entire region of rejection shifted into one tail of the distribution, it

258
00:20:11,720 --> 00:20:17,240
makes it easier for us to clear that bar and move out of the region of acceptance and into the region

259
00:20:17,240 --> 00:20:17,990
of rejection.

260
00:20:17,990 --> 00:20:21,980
And we are more likely to reject the null with a one tailed test.

261
00:20:21,980 --> 00:20:27,920
The two tailed test is more conservative, and if we don't have a good reason, some strong suspicion

262
00:20:27,920 --> 00:20:33,770
to expect the directionality of the test, we should use the two tailed test since it is more conservative

263
00:20:33,770 --> 00:20:41,480
and harder for us to reject the null hypothesis, it's usually better to run a two tailed test and fail

264
00:20:41,480 --> 00:20:47,180
to reject the null or find no significance than it is to run a one tailed test and reject the null when

265
00:20:47,180 --> 00:20:51,770
we actually shouldn't, especially if the stakes are high like we talked about before.

266
00:20:51,800 --> 00:20:57,380
Especially if our hypothesis testing procedure relates to something like health and safety and we need

267
00:20:57,380 --> 00:20:59,720
to be really, really sure of our results.

268
00:20:59,720 --> 00:21:04,220
We want to bump up this confidence level as high as we can and make sure that we don't make a wrong

269
00:21:04,220 --> 00:21:07,040
decision here, especially in a scenario like that one.

270
00:21:07,040 --> 00:21:12,470
It's better to be more conservative and run this two tailed test unless we really, really have a good

271
00:21:12,470 --> 00:21:18,350
reason to state a specific direction in our hypothesis statements and run a one tailed test.

272
00:21:18,350 --> 00:21:23,870
But either way, that is the conclusion of the hypothesis testing procedure.

273
00:21:23,870 --> 00:21:28,640
This is the process we'll follow over and over and over again in inferential statistics.

274
00:21:28,640 --> 00:21:34,910
And it always ends this way where we calculate our test statistic and then we use either the p value

275
00:21:34,910 --> 00:21:41,150
approach or the critical value approach to determine whether or not that statistic is significant enough

276
00:21:41,150 --> 00:21:48,740
to allow us to reject the null hypothesis and therefore lend support to our alternative hypothesis.

