Z-statistics vs. T-statistics | Inferential statistics | Probability and Statistics | Khan Academy — Transcript
Full transcript
- 0:00I want to use this video to kind of make sure we
- 0:03intuitively and otherwise and understand the difference
- 0:06between a Z-statistic-- something I have trouble
- 0:13saying-- and a T-statistic.
- 0:19So in a lot of what we're doing in this inferential
- 0:22statistics, we're trying to figure out what is the
- 0:25probability of getting a certain sample mean.
- 0:28So what we've been doing, especially when we have a
- 0:30large sample size-- so let me just draw a sampling
- 0:34distribution here.
- 0:35So let's say we have a sampling distribution of the
- 0:38sample mean right here.
- 0:40It has some assumed mean value and some standard deviation.
- 0:48What we want to do is any result that we get, let's say
- 0:52we get some sample mean out here.
- 0:55We want to figure out the probability of getting a
- 0:57result at least as extreme as this.
- 0:59So you can either figure out the probability of getting a
- 1:03result below this and subtracted that from 1, or
- 1:05just figure out this area right over there.
- 1:08And to do that we've been figuring out how many standard
- 1:11deviations above the mean we actually are.
- 1:15The way we figured that out is we take our sample mean, we
- 1:20subtract from that our mean itself, we subtract from that
- 1:26what we assume the mean should be, or maybe we don't know
- 1:28what this is.
- 1:31And then we divide that by the standard deviation of the
- 1:36sampling distribution.
- 1:42This is how many standard deviations we
- 1:44are above the mean.
- 1:46That is that distance right over there.
- 1:48Now, we usually don't know what this is either.
- 1:52We normally don't know what that is either.
- 1:54And the central limit theorem told us that assuming that we
- 2:01have a sufficient sample size, this thing right here, this
- 2:04thing is going to be the same thing as-- the sample is going
- 2:09to be the same thing as the standard deviation of our
- 2:12population divided by the square root
- 2:17of our sample size.
- 2:19So this thing right over here can be re-written as our
- 2:24sample mean minus the mean of our sampling distribution of
- 2:30the sample mean divided by this thing right here--
- 2:34divided by our population mean, divided by the square
- 2:37root of our sample size.
- 2:39And this is essentially our best sense of how many
- 2:41standard deviations away from the actual mean we are.
- 2:45And this thing right here, we've learned it before, is a
- 2:48Z-score, or when we're dealing with an actual statistic when
- 2:51it's derived from the sample mean statistic, we call this a
- 2:55Z-statistic.
- 2:58And then we could look it up in a Z-table or in a normal
- 3:02distribution table to say what's the probability of
- 3:04getting a value of this Z or greater.
- 3:08So that would give us that probability.
- 3:09So what's the probability of getting that
- 3:11extreme of a result?
- 3:13Now normally when we've done this in the last few videos,
- 3:18we also do not know what the standard deviation of the
- 3:24population is.
- 3:25So in order to approximate that we say that the Z-score
- 3:31is approximately, or the Z-statistic, is approximately
- 3:34going to be-- so let me just write the numerator over
- 3:38again-- over, we estimate this using our sample standard
- 3:42deviation-- let me do this in a new color-- with using our
- 3:48sample standard deviation.
- 3:53And this is OK if our sample size is greater than 30.
- 4:02Or another way to think about it is this will be normally
- 4:05distributed if our sample size is greater than 30.
- 4:14Even this approximation will be approximately normally
- 4:16distributed.
- 4:17Now, if your sample size is less than 30, especially if
- 4:21it's a good bit less than 30, all of a sudden this
- 4:23expression will not be normally distributed.
- 4:25So let me re-write the expression over here.
- 4:28Sample mean minus the mean of your sampling distribution of
- 4:32the sample mean divided by your sample standard deviation
- 4:35over the square root of your sample size.
- 4:39We just said if this thing is well over 30, or at least 30,
- 4:44then this value right here, this statistic, is going to be
- 4:48normally distributed.
- 4:49If it's not, if this is small, then this is going to have a
- 4:55T-distribution.
- 5:00And then you're going to do the exact same thing you did
- 5:02here, but now you would assume that the bell is no longer a
- 5:04normal distribution, so this example it was normal.
- 5:09All of Z's are normally distributed.
- 5:11Over here in a T-distribution, and this will actually be a
- 5:14normalized T-distribution right here because we
- 5:16subtracted out the mean.
- 5:18So in a normalized T-distribution, you're going
- 5:22to have a mean of 0.
- 5:24And what you're going to do is you want to figure out the
- 5:26probability of getting a T-value at least this extreme.
- 5:30So this is your T-value you would get, and then you
- 5:34essentially figure out the area under the curve right
- 5:37over there.
- 5:39So a very easy rule of thumb is calculate this quantity
- 5:43either way.
- 5:44Calculate this quantity either way.
- 5:47If you will have more than 30 samples, if your sample size
- 5:51is more than 30, your sample standard deviation is going to
- 5:55be a good approximator for your
- 5:57population standard deviation.
- 5:59And so this whole thing is going to be approximately
- 6:01normally distributed, and so you can use a Z-table to
- 6:04figure out the probability of getting a result
- 6:06at least that extreme.
- 6:08If your sample size is small, then this statistic, this
- 6:14quantity, is going to have a T-distribution, and then
- 6:19you're going to have to use a T-table to figure out the
- 6:22probability of getting a T-value at least this extreme.
- 6:27And we're going to see this in an example a couple
- 6:29of videos from now.
- 6:30Anyway, hopefully that helped clarify some things in your
- 6:32head about when to use a Z-statistic or when to use a
- 6:36T-statistic.
About this transcript
This page contains the full transcript of Z-statistics vs. T-statistics | Inferential statistics | Probability and Statistics | Khan Academy by Khan Academy, generated from the public captions YouTube serves with the video. The transcript has 971 words across 116 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.