YouTube2Text

YouTube transcript (HoqzIR8xj4s) — Transcript

2,831 words · 407 segments · language en · Watch on YouTube

Full transcript

  1. 0:10[Music]
  2. 0:15hello thank you for watching and welcome
  3. 0:18to the next video in my series on basic
  4. 0:20statistics now as usual a few things
  5. 0:23before we get started number one if
  6. 0:25you're watching this video because you
  7. 0:26are struggling in a class right now I
  8. 0:29want you to stay positive and keep your
  9. 0:30head up if you're watching this it means
  10. 0:32you've accomplished quite a bit already
  11. 0:34you're very smart and talented and you
  12. 0:36may have just hit a temporary rough
  13. 0:38patch now I know with a right amount of
  14. 0:40hard work practice and patience you can
  15. 0:43get through it I have faith in you many
  16. 0:46other people around you have faith in
  17. 0:48you so so should you number two please
  18. 0:52feel free to follow me here on YouTube
  19. 0:54on Twitter on Google+ or on LinkedIn
  20. 0:58that way when I upload a new video you
  21. 1:00know about it and it's always nice to
  22. 1:02connect with people who watch my videos
  23. 1:04online the world is much too large and
  24. 1:07life is Much Too Short not to take the
  25. 1:09opportunity to connect with one another
  26. 1:12number two if you like the video please
  27. 1:14give it a thumbs up share it with
  28. 1:17classmates or colleagues or put it on a
  29. 1:18playlist cuz that does encourage me to
  30. 1:21keep making them for you on the flip
  31. 1:23side if you think there is something I
  32. 1:24can do better please leave a
  33. 1:26constructive comment below the video and
  34. 1:28I will try to take those ideas into
  35. 1:30account when I make new ones for you and
  36. 1:33finally just keep in mind that these
  37. 1:34videos are meant for individuals who are
  38. 1:36relatively new to Stats so I'm just
  39. 1:39going over basic concepts and I will be
  40. 1:42doing so in a very slow deliberate
  41. 1:44manner not only do I want you to know
  42. 1:47what's going on but also why and how to
  43. 1:50apply it so all that being said let's go
  44. 1:53ahead and get
  45. 1:56started so this video is the next in our
  46. 1:59series on hypothesis formulation and now
  47. 2:02finally hypothesis testing so up to this
  48. 2:06point we've talked about what a
  49. 2:07hypothesis is we talked about the no
  50. 2:10hypothesis we talked about the
  51. 2:11alternative hypothesis we talked about
  52. 2:14type one error and type two error with
  53. 2:17many many examples so all those were
  54. 2:20leading up to this very topic and that
  55. 2:22is actually conducting a hypothesis test
  56. 2:26now there are many types of hypothesis
  57. 2:29test but we're going to do the most
  58. 2:30simple in this video and that is where
  59. 2:33we have a single sample with a known
  60. 2:37Sigma or we have a single sample we are
  61. 2:41testing against a hypothesized mean and
  62. 2:44we are given Sigma which is the
  63. 2:46population standard deviation so we'll
  64. 2:50go over several distribution curves
  65. 2:52we'll talk about critical values and how
  66. 2:54that affects our Alpha level and things
  67. 2:56like that and then we will walk through
  68. 2:59two real world examples so all that
  69. 3:02being said let's go ahead and Dive Right
  70. 3:06In now it's very important to point out
  71. 3:08the hypothesis tests follow a very
  72. 3:11prescribed procedure now as usual it
  73. 3:14always starts with a well-developed
  74. 3:17clear research problem or analytical
  75. 3:21question if the problem is poorly
  76. 3:23thought out if what you're trying to
  77. 3:25accomplish is unclear then no amount of
  78. 3:29statistic is going to be able to solve
  79. 3:31that and it can actually make it worse
  80. 3:34so always think through what you're
  81. 3:36trying to find out at the problem
  82. 3:39stage now once you have that we always
  83. 3:42establish our hypothesis both the null
  84. 3:46and the alternative so remember the null
  85. 3:49and the alternative are complete
  86. 3:51opposites of each other and they must
  87. 3:54account for all possible
  88. 3:57outcomes then we determine the approach
  89. 3:59apprpriate statistical test and sampling
  90. 4:02distribution so as I said before there
  91. 4:05are many types of hypothesis tests so in
  92. 4:09this one we're going to be looking at
  93. 4:10the Z test in other ones we might look
  94. 4:12at the T Test and there are more still
  95. 4:16after that then of course the sampling
  96. 4:18distribution will depend on whether or
  97. 4:20not we have Sigma given to us or we know
  98. 4:23it or we have to estimate it so step
  99. 4:26three is always determine the
  100. 4:28appropriate statistical test and and the
  101. 4:29sampling
  102. 4:31distribution then we choose our type one
  103. 4:33error rate so what Comfort level do we
  104. 4:37have with making a type one error is it
  105. 4:415% 1% 10% again it will just depend on
  106. 4:46what our study asks for and what we are
  107. 4:49comfortable with it all also has to do
  108. 4:52with what level of type two error we are
  109. 4:55comfortable making because remember they
  110. 4:57are inversely related
  111. 5:00then we State our decision rule so in
  112. 5:03this case we're going to come up with a
  113. 5:04z statistic and then we will have to
  114. 5:07determine whether or not based on that Z
  115. 5:10statistic we're going to reject our null
  116. 5:14hypothesis or fail to reject our null
  117. 5:18hypothesis then and only then do we go
  118. 5:22out and gather our sample data so I know
  119. 5:25a lot of students I've worked with are
  120. 5:27really excited about going out and
  121. 5:29collecting data the very first thing but
  122. 5:32I always have to say no always form your
  123. 5:36research question or your analytical
  124. 5:38question first set up your hypothesis so
  125. 5:41you know what you're actually going at
  126. 5:43and then you choose your test your
  127. 5:46distribution your error rate decision
  128. 5:48rule Etc then go out and get your data
  129. 5:52so there is this impulse to want to go
  130. 5:54out and collect data first and then form
  131. 5:56the research question based on the data
  132. 5:59you collected
  133. 6:00no it's the other way around always form
  134. 6:02your question
  135. 6:04first now once we have the data we
  136. 6:07calculate our test statistics so in this
  137. 6:09case it will be the Z
  138. 6:11statistic now based on those test
  139. 6:13statistics we will state our statistical
  140. 6:17conclusion so we'll have a statistic to
  141. 6:19then compare to our decision Rule and
  142. 6:22then however our statistic compared to
  143. 6:24the decision rule will be our
  144. 6:27conclusion and then finally in the real
  145. 6:29world we can either make a decision or
  146. 6:32an inference based on that conclusion so
  147. 6:36it may be some research question in a
  148. 6:38journal we're looking at it may be a
  149. 6:40policy in our business we are looking at
  150. 6:43it may be some analytical work we are
  151. 6:45doing maybe in the financial industry or
  152. 6:47in the insurance industry or in the
  153. 6:49production industry whatever it might be
  154. 6:51so we finally get to the point where we
  155. 6:53can make a decision or some policy
  156. 6:56recommendation based on our conclusion
  157. 7:01now as I said there are really two types
  158. 7:04of these statistical tests there are
  159. 7:06ones where we know Sigma and ones where
  160. 7:08we don't so as with confidence intervals
  161. 7:11there are two types of single sample
  162. 7:13hypothesis tests when the population
  163. 7:16standard deviation Sigma is known or
  164. 7:18it's given to us and when the population
  165. 7:21standard deviation Sigma is not known
  166. 7:24and therefore we have to estimate it
  167. 7:26using S the sample standard deviation
  168. 7:30now when Sigma is known or given to us
  169. 7:33we use the normal standard or the Z
  170. 7:37distribution to establish the
  171. 7:39non-rejection region and the critical
  172. 7:43values in our sampling distribution so
  173. 7:46again we talked about that at Great
  174. 7:47length when we looked at type one and
  175. 7:49type two error rates so if you're still
  176. 7:51unsure what this concept is go back and
  177. 7:54look at those videos but when we know
  178. 7:56Sigma we're going to use the normal
  179. 7:58standard or the Z distribution to
  180. 8:01establish these regions now when Sigma
  181. 8:04is not known we will use the T
  182. 8:07distribution instead because remember
  183. 8:09the T distribution is a little bit
  184. 8:11shorter in the middle and it has a
  185. 8:13little bit more probability in the tails
  186. 8:16to account for that unknown or that
  187. 8:19estimation we're doing with the standard
  188. 8:22deviation of our
  189. 8:23population now some instructors in some
  190. 8:25books will indicate that using the Z
  191. 8:28distribution is acceptable anytime the
  192. 8:32sample size is 30 or greater whether or
  193. 8:35not you know Sigma or not now I prefer
  194. 8:39to go ahead and use the T distribution
  195. 8:42anytime I do not know Sigma now remember
  196. 8:46the reality is is that as sample size
  197. 8:49increases the Z distribution and the T
  198. 8:52distribution actually converge so it
  199. 8:55just depends on what your instructor or
  200. 8:57your book is asking you to do because
  201. 9:01the T distribution with its fatter Tails
  202. 9:04will actually change a little bit how
  203. 9:06the alpha level affects your critical
  204. 9:10values now it's always good to check the
  205. 9:12sample data for normality better safe
  206. 9:15than sorry so you might want to look at
  207. 9:17a histogram or a QQ plot or a PP plot of
  208. 9:21your sample data to make sure it's not
  209. 9:23skewed heavily in One Direction you
  210. 9:25don't have any really crazy outliers or
  211. 9:29whatever ever else that might be it's
  212. 9:30just always good to check your data for
  213. 9:35normality so remember what we're talking
  214. 9:37about here is the hypothesized versus
  215. 9:40the true mean so mu is the true mean of
  216. 9:45the population under analysis so if
  217. 9:48we're analyzing a
  218. 9:50population it actually has a real world
  219. 9:53true
  220. 9:55mean now mu sub Z is the hypo ized mean
  221. 10:00of the population under analysis so we
  222. 10:03might have some guess or some previous
  223. 10:07study or something else we are testing
  224. 10:09it against so we're testing two means
  225. 10:14we're testing our data's mean the actual
  226. 10:17population mean versus some hypothesized
  227. 10:20value we think it
  228. 10:22is so what we're asking here is the true
  229. 10:25mean the same as the hypothesized mean
  230. 10:29are they coming from the same
  231. 10:32distributions now we will test that
  232. 10:34question or this question using sample
  233. 10:36means of course and confidence intervals
  234. 10:39which we'll call critical regions here
  235. 10:42in a
  236. 10:44minute now let's just remind ourselves
  237. 10:46about the two-tailed test rejection
  238. 10:49region so here we have our two
  239. 10:51hypothesis as we had before and then in
  240. 10:54this case we're going to choose an alpha
  241. 10:56of
  242. 10:5705 so we have our distribution our
  243. 11:00sampling distribution that looks like
  244. 11:03this now remember what we're actually
  245. 11:05saying here with an alpha of
  246. 11:0805 we are saying that this blue area in
  247. 11:10the middle is
  248. 11:1295% now 95% of what well what we're
  249. 11:16saying is that 95% of our sample means
  250. 11:19that we would take should be within this
  251. 11:22blue region and then we risk 5% being
  252. 11:27outside that region
  253. 11:29now our hypothesized mean is set here in
  254. 11:32the middle and we call this blue region
  255. 11:35the non-rejection region and on the ends
  256. 11:38and the Tails those are both rejection
  257. 11:43regions now our Alpha in this case is
  258. 11:46spread evenly among both Tails so our
  259. 11:49Alpha of 05 we have 025 in the lower
  260. 11:52tail and 025 in the upper tail so it's
  261. 11:562.5% in the lower 2.5% in the upper tail
  262. 12:01now dividing the non-rejection region
  263. 12:03and the rejection region it's called the
  264. 12:06critical value it's kind of that
  265. 12:08boundary between the two now remember
  266. 12:11the critical value is determined by
  267. 12:13Alpha in this case 05 and if we are
  268. 12:16using the T or the Z
  269. 12:19distributions with an alpha of 05 and
  270. 12:22sigma Noone we would consult the Z table
  271. 12:25and find the corresponding zc scores for
  272. 12:28a two-tail test with the alpha of
  273. 12:3105 now when we do that we see that our Z
  274. 12:35critical values are negative
  275. 12:381.96 and positive
  276. 12:411.96 so that zcore is the boundary
  277. 12:45between the non-rejection region and the
  278. 12:48rejection region based off our Z table
  279. 12:52and our Alpha and again we're using the
  280. 12:54Z table because we know our Sigma
  281. 13:01now what if we change the alpha level to
  282. 13:030.10 so we had 05 now we have an alpha
  283. 13:07of 0.10 which is twice the previous
  284. 13:11Alpha now if you look at our taals
  285. 13:13something should be fairly obvious right
  286. 13:16off the bat our rejection regions are
  287. 13:20larger and our non-rejection region is
  288. 13:23smaller or
  289. 13:25narrower now we are saying that 90% of
  290. 13:28our sample means should be in the blue
  291. 13:31in the non-rejection region therefore
  292. 13:3310% would be in the tails in the
  293. 13:36rejection region either above or below
  294. 13:40so now we have an alpha divid two of
  295. 13:4305 so that's 5% in the lower tail and 5%
  296. 13:47in the upper tail now as far as critical
  297. 13:49values go are they going to become
  298. 13:52smaller or
  299. 13:54larger well they're going to become
  300. 13:56smaller because the critical values move
  301. 14:00inward we have less probability there in
  302. 14:02the middle so it has to move inward so
  303. 14:05our Z critical values are now netive
  304. 14:081.645 and positive
  305. 14:121.645 so what happens when our Alpha
  306. 14:15level
  307. 14:16increases so in this case we went from
  308. 14:1905 to
  309. 14:200.10 our non-rejection region gets
  310. 14:23smaller in the middle and the rejection
  311. 14:26regions in the tails get larger and of
  312. 14:29course our critical values move
  313. 14:34inward so finally let's look at what
  314. 14:36happens to our critical values when we
  315. 14:38use an alpha of
  316. 14:400.1 so in the previous slide we looked
  317. 14:42at an alpha of 0.10 so now this is
  318. 14:4501 so let's make some predictions about
  319. 14:47what's going to happen here well you
  320. 14:49notice that our non-rejection region in
  321. 14:51the middle is much wider there's much
  322. 14:54more area there in the blue now the
  323. 14:57reason that is is because we have to
  324. 14:58take the this 01 or 1% and divide it
  325. 15:02evenly among both Tails so we have 05 or
  326. 15:061 half of 1% in the lower tail and we
  327. 15:09have 05 or 1 half of 1% in the upper
  328. 15:13tail so what we're saying is that we
  329. 15:15expect 99% of our sample means to be in
  330. 15:18this non-rejection region in the blue
  331. 15:20region in the middle and of course in
  332. 15:23the tails that is our rejection region
  333. 15:25and we expect 1% of our sample means to
  334. 15:28either be in the upper or the lower
  335. 15:30rejection region now of course the whole
  336. 15:32point of these series of slides is to
  337. 15:34talk about what happens to our critical
  338. 15:36values so what's going to happen to our
  339. 15:38critical values with a very very small
  340. 15:41Alpha of
  341. 15:4201 it's going to get larger or
  342. 15:46smaller well the critical values are
  343. 15:48going to get larger so here we have plus
  344. 15:51or minus
  345. 15:552576 and those are by far the largest
  346. 15:59values or you can think of them as the
  347. 16:00widest values of all the alphas we have
  348. 16:03used so the overall point of these last
  349. 16:06few slides is look at the relationship
  350. 16:08between Alpha and the area of our
  351. 16:11non-rejection region in the middle our
  352. 16:13rejection regions on the ends and the
  353. 16:16effects of the critical value as it sets
  354. 16:19the demarcation or the boundary between
  355. 16:22these two
  356. 16:25regions so what are we really asking in
  357. 16:27sort of real World Language what we're
  358. 16:31asking is did our sample come from the
  359. 16:33same population we assume is underlying
  360. 16:38the null hypothesis so if we take a
  361. 16:41sample from a population to use in our Z
  362. 16:45statistic we want to make sure we're
  363. 16:47testing whether or not our sample came
  364. 16:50from the population we are hypothesizing
  365. 16:53it came from now if so then we expect
  366. 16:57our sample mean to be inside the
  367. 17:00critical region either 90% of the time
  368. 17:0295% of the time or 99% of the time
  369. 17:05depending on what we choose for Alpha
  370. 17:09that's what we are really asking is our
  371. 17:11sample mean from the same population we
  372. 17:15are hypothesizing it to be coming
  373. 17:20from so let's go ahead and look at the
  374. 17:22actual Z test for a single mean so here
  375. 17:26is our formula now it is comprised of
  376. 17:28xar which is the sample mean mu Sub 0
  377. 17:32which is the hypothesized population
  378. 17:34mean given in our problem Sigma is the
  379. 17:37population standard deviation again
  380. 17:38that's a given or unn to us in this case
  381. 17:41and N of course is the sample size as it
  382. 17:44always is now if you remember from the
  383. 17:46previous videos this denominator is a
  384. 17:49very special term it is the standard
  385. 17:53error of the mean which is another name
  386. 17:56for the standard deviation of of the
  387. 17:59sampling distribution so the standard
  388. 18:02error of the mean is the standard
  389. 18:04deviation of a distribution of many many
  390. 18:07many samples so you may see it written
  391. 18:11like this so Sigma subx bar is the same
  392. 18:16thing as it's written over here on the
  393. 18:19left they're both representations of the
  394. 18:22standard error of the mean so just
  395. 18:24wanted to show you both ways depending
  396. 18:26on whatever class you're in whatever
  397. 18:27book you're using you might see it
  398. 18:29either way now the question we are
  399. 18:31asking when we find this Z statistic is
  400. 18:36is this Z test value in the
  401. 18:39non-rejection region in the
  402. 18:41middle or is it in the rejection region
  403. 18:45in the Tails so one of the other taals
  404. 18:48depending on how our hypothesis is set
  405. 18:50up and that's what we're doing when we
  406. 18:53do a z
  407. 18:57test e

About this transcript

This page contains the full transcript of YouTube transcript (HoqzIR8xj4s) , generated from the public captions YouTube serves with the video. The transcript has 2,831 words across 407 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.