YouTube2Text

How To Identify Type I and Type II Errors In Statistics — Transcript

by The Organic Chemistry Tutor · 1,556 words · 297 segments · language en · Watch on YouTube

Full transcript

  1. 0:01in this video we're going to talk about
  2. 0:02the type 1 and type 2 error that you
  3. 0:05need to understand in a typical
  4. 0:06statistics course
  5. 0:09the type 1 error occurs when you reject
  6. 0:11a null hypothesis
  7. 0:13when the null hypothesis is true
  8. 0:16the type 2 error occurs when you fail to
  9. 0:19reject the null hypothesis when it's
  10. 0:21false
  11. 0:23the probability
  12. 0:24of making a type 1 error given that the
  13. 0:27null hypothesis is true
  14. 0:29this is alpha
  15. 0:31the probability of making a type ii
  16. 0:33error when h0 is false is beta
  17. 0:37and the probability of rejecting a false
  18. 0:40null hypothesis
  19. 0:41is one minus beta that's also referred
  20. 0:44to as the power of the test
  21. 0:47now what we're going to do is we're
  22. 0:48going to make a table
  23. 0:49that's going to summarize
  24. 0:52all of this
  25. 1:03bear with me uh one moment
  26. 1:09so here we have a atro the null
  27. 1:11hypothesis
  28. 1:14and
  29. 1:15there's
  30. 1:16two possibilities
  31. 1:18either h o
  32. 1:19is true
  33. 1:21or
  34. 1:23it's false
  35. 1:26we can't control that
  36. 1:28what we can control
  37. 1:30is our decisions
  38. 1:32we can choose to reject the null
  39. 1:34hypothesis
  40. 1:36or
  41. 1:37we can fail
  42. 1:38to reject the null hypothesis which
  43. 1:41means that
  44. 1:42we accept it
  45. 1:44so those are our our two options
  46. 1:47so let's say if the null hypothesis is
  47. 1:49true
  48. 1:50and we reject it when it's true that's
  49. 1:52an error specifically
  50. 1:55that is a type 1 error
  51. 1:58now if the null hypothesis is false
  52. 2:01and we've ejected then we've made a good
  53. 2:03decision that is not an error
  54. 2:07now if the null hypothesis is true
  55. 2:10and we fail to reject it or we accept it
  56. 2:13that is also a good decision but if the
  57. 2:16null hypothesis is false and we don't
  58. 2:19reject it
  59. 2:20that's bad we don't want to accept
  60. 2:23a false null hypothesis so that's
  61. 2:25another error that is the type 2 error
  62. 2:32so hopefully this
  63. 2:34table helps you to see the difference
  64. 2:36between
  65. 2:37a type 1 error and the type 2 error
  66. 2:40the type 1 error occurs
  67. 2:42when the null hypothesis is true and we
  68. 2:44make a bad decision we've ejected
  69. 2:46the type 2 error occurs when the null
  70. 2:49hypothesis is false and we make a bad
  71. 2:51decision we don't reject it
  72. 2:54now let's work on some example problems
  73. 2:56number one
  74. 2:58let's say that the null hypothesis atro
  75. 3:02is this statement john's used car is
  76. 3:05safe to drive
  77. 3:07so that's the null hypothesis
  78. 3:09part a
  79. 3:11which statement
  80. 3:12represents a type 1 error
  81. 3:15and we could also do part b
  82. 3:16simultaneously which statement
  83. 3:19represents a type 2 error
  84. 3:22so what i like to do is
  85. 3:23distinguish the good decisions from the
  86. 3:25bad ones
  87. 3:27let's look at
  88. 3:28answer choice a first
  89. 3:30john thinks that his car may be safe
  90. 3:33when in fact it is not safe
  91. 3:36is that a good decision or a bad
  92. 3:37decision
  93. 3:39let's say if he drives his car believing
  94. 3:41that it's safe when it's really not safe
  95. 3:44that's a bad decision
  96. 3:46that would be an error
  97. 3:49b john thinks that his car may be safe
  98. 3:52when in when in fact it is safe
  99. 3:55if it's if the car is safe and he
  100. 3:57decides to drive it
  101. 3:59that is not a bad decision that's a good
  102. 4:01one
  103. 4:02see
  104. 4:03john thinks that his car may not be safe
  105. 4:05when
  106. 4:06in fact it is not safe
  107. 4:08so if the car is not safe and he doesn't
  108. 4:10drive it
  109. 4:11that's a good decision
  110. 4:13d
  111. 4:14john thinks that his car may not be safe
  112. 4:18when in fact it is safe
  113. 4:20that's a bad decision
  114. 4:22if the car is good to drive and he
  115. 4:23doesn't drive it that's not really
  116. 4:25helpful so that's an error right there
  117. 4:29now we want to identify the type 1 error
  118. 4:31so we can eliminate answer choice b and
  119. 4:34c
  120. 4:35now looking at answer choice a
  121. 4:37would you say it's a type 1 error or a
  122. 4:40type 2 error
  123. 4:43feel free to pause the video and think
  124. 4:44about it for a moment
  125. 4:49now remember
  126. 4:51the type 1 error occurs
  127. 4:54when we reject the null hypothesis
  128. 4:57when
  129. 4:58h0 is true
  130. 5:00it never occurs when h0 is false
  131. 5:04the type 2 error
  132. 5:06this one occurs
  133. 5:09when we don't reject the null hypothesis
  134. 5:12when h0 is false
  135. 5:16so at this point we need to determine
  136. 5:18when h0 is true and when h0 is false
  137. 5:23so we know h0
  138. 5:25is
  139. 5:26john's used car is safe to drive
  140. 5:29as choice a is saying that it's not safe
  141. 5:32to drive so it's saying that
  142. 5:34the null hypothesis is false because it
  143. 5:36doesn't agree with it
  144. 5:38so since we have a false
  145. 5:41ho
  146. 5:44and he fails to reject
  147. 5:47the false atro this is a type ii error
  148. 5:54now looking at the other option
  149. 5:57we could see that
  150. 5:59it agrees with the null hypothesis the
  151. 6:03car is safe to drive
  152. 6:04however he doesn't accept it he rejects
  153. 6:08the card
  154. 6:09he doesn't feel that it's safe so this
  155. 6:11is a type one error
  156. 6:14he rejects the null hypothesis when it
  157. 6:16is true
  158. 6:18so that's a simple way to distinguish a
  159. 6:20type 1 error from a type 2 error
  160. 6:22now let's move on to part c
  161. 6:26which type of error
  162. 6:27has greater consequence
  163. 6:30would you say it's the type 2 error or
  164. 6:32the type 1 error
  165. 6:35well let's look at answer choice d first
  166. 6:40d says the car is safe but john doesn't
  167. 6:43believe that it's safe to drive
  168. 6:45so if he feels that way he's probably
  169. 6:47not going to drive the car he's probably
  170. 6:48going to stay at home
  171. 6:49eat some pizza watch tv
  172. 6:52and
  173. 6:53that decision really doesn't have a
  174. 6:56significant consequence he's going to
  175. 6:58continue to be alive so
  176. 6:59he's not going to get into a car
  177. 7:01accident
  178. 7:02now looking at the type 2 error in
  179. 7:04answer choice a
  180. 7:06if the car is not safe to drive
  181. 7:08but he believes that it's safe and he
  182. 7:10goes and drives the vehicle gets into a
  183. 7:13car accident ends up in the hospital
  184. 7:16that's pretty bad i mean he could lose
  185. 7:18his life
  186. 7:19so answer choice a the type 2 error
  187. 7:23has
  188. 7:24greater consequence
  189. 7:26because if he makes that error
  190. 7:28it can cost him big time it can cost him
  191. 7:30his life
  192. 7:32now for the sake of practice let's work
  193. 7:33on another example
  194. 7:35number two
  195. 7:37in a criminal court case
  196. 7:39the null hypothesis ho is that the
  197. 7:42defendant is presumed innocent
  198. 7:46part a
  199. 7:47which statement represents a type 1
  200. 7:49error and b
  201. 7:51which statement represents a type 2
  202. 7:53error
  203. 7:55well
  204. 7:56let's distinguish the good decisions
  205. 7:59from the bad ones
  206. 8:01looking at answer choice a
  207. 8:03the jury believes that the defendant is
  208. 8:06guilty
  209. 8:07when in fact he is innocent
  210. 8:11that's not good
  211. 8:13so if they pronounce him guilty when he
  212. 8:15is innocent that is a bad decision that
  213. 8:17is an error
  214. 8:19part b
  215. 8:20the jury believes that the defendant is
  216. 8:22guilty when in fact he is not innocent
  217. 8:25okay that's a good decision if he's not
  218. 8:27innocent
  219. 8:28he's guilty
  220. 8:31so let's put a check for that one
  221. 8:33see
  222. 8:34the jury believes that the defendant is
  223. 8:36not guilty
  224. 8:38when in fact he is not innocent if he's
  225. 8:40not innocent he's guilty and if they
  226. 8:42believe he's not guilty that is an error
  227. 8:46d
  228. 8:47the jury believes that the defendant is
  229. 8:49not guilty
  230. 8:50when in fact he's innocent
  231. 8:54if he's innocent he's not guilty so that
  232. 8:57is
  233. 8:58a good decision
  234. 9:00so now let's analyze the two errors that
  235. 9:03we have
  236. 9:04b and d have been eliminated because
  237. 9:06those are not errors
  238. 9:08so let's focus on answer choice a the
  239. 9:10jury believes that the defendant is
  240. 9:12guilty when in fact he is innocent
  241. 9:16so h.o
  242. 9:18says that
  243. 9:19he is innocent
  244. 9:21so ant's choice a is saying that h o the
  245. 9:23null hypothesis is true
  246. 9:25however
  247. 9:26the jury
  248. 9:28rejects h or when it is true they
  249. 9:31believe he is guilty when he is innocent
  250. 9:33so therefore this is going to be a type
  251. 9:361 error
  252. 9:42now what about c
  253. 9:45c
  254. 9:47disagrees with h o so basically answer
  255. 9:49choice c is saying that the null
  256. 9:51hypothesis is false he is not innocent
  257. 9:55but the jury believes that the defendant
  258. 9:57is not guilty they believe that he is
  259. 9:59innocent
  260. 10:00so
  261. 10:02they fail to reject the false
  262. 10:05null hypothesis and this is
  263. 10:07a type two error
  264. 10:14they're accepting
  265. 10:16a false null hypothesis
  266. 10:18now let's move on to part c
  267. 10:21which type of error has greater
  268. 10:23consequence
  269. 10:24would you say it's the type 1 error or
  270. 10:27the type 2 error
  271. 10:30looking at the type 1 error here we have
  272. 10:32a man who is innocent
  273. 10:34but the jury believes that he is guilty
  274. 10:36and as a result if he does prison time
  275. 10:38when he is innocent that is a very very
  276. 10:41bad thing that should happen
  277. 10:43now looking at answer choice c here we
  278. 10:46have a man that's not innocent
  279. 10:48but the jury believes that he's not
  280. 10:51guilty they believe that he's innocent
  281. 10:53that's also a bad decision
  282. 10:56but
  283. 10:56who knows next time he does something
  284. 10:58bad he may get caught
  285. 11:00however having an innocent man
  286. 11:02be in punch for something that he hasn't
  287. 11:05done that is very very bad
  288. 11:07so i believe
  289. 11:08that
  290. 11:10is
  291. 11:10that type of error has the greater
  292. 11:12consequence you might feel differently
  293. 11:14but
  294. 11:15that's just my opinion on it
  295. 11:16so that's it for this video if you like
  296. 11:19it don't forget to subscribe and thanks
  297. 11:21again for watching

About this transcript

This page contains the full transcript of How To Identify Type I and Type II Errors In Statistics by The Organic Chemistry Tutor, generated from the public captions YouTube serves with the video. The transcript has 1,556 words across 297 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.