StatQuest: Histograms, Clearly Explained — Transcript
Full transcript
- 0:00My cat
- 0:02does stats
- 0:04when she sleeps
- 0:08I like to do stats how bout you when I'm awake
- 0:15StatQuest
- 0:18Hello and welcome to StatQuest!!!
- 0:21StatQuest is brought to you by the friendly folks in the genetics department at the University of North Carolina at Chapel Hill
- 0:29Today we're going to be talking front histograms, and they're going to be clearly explained
- 0:35Imagine we went out and measured someone and they were this tall.
- 0:40And then we measured someone else
- 0:43And then we measured a whole bunch of people
- 0:46We've measured so many people that the dots overlap; some dots are completely hidden.
- 0:52We could try to make it easier to see the hidden measurements by stacking any that are exactly the same
- 1:00But measurements that are the exact same are rare and a lot of the hidden measurements are still hidden.
- 1:06So, instead of stacking measurements that are the exact same we divide the range of values into bins
- 1:15And stack the measurements that fall in the same bin
- 1:19This, my friends, is a histogram
- 1:22Bam
- 1:24The taller the stack within a bin the more measurements we made that fall into that bin.
- 1:31Duh
- 1:33We can use the histogram to predict the probability of getting future measurements.
- 1:39I would be willing to bet that the next measurement we make is somewhere in this range.
- 1:45Measurements out here are rarer and less likely to happen in the future.
- 1:50If you want to use a distribution to approximate your data or future measurements,
- 1:56histograms are a good way to justify your decision.
- 1:59By the way, if you don't know what a distribution is, there's a StatQuest for that.
- 2:05In this case we might use a normal distribution to approximate the data and future measurements.
- 2:12If the data look like this
- 2:15we might use an exponential distribution to approximate this data and future measurements
- 2:22Note:
- 2:24Figuring out how wide to make the bins is tricky
- 2:28If the bins are too narrow, then they are not much help
- 2:32In this case the bins are so narrow that pretty much every measurement gets its own bin
- 2:37This doesn't give us much more insight than what we had before
- 2:41so it's not very useful
- 2:44And if the bins are too wide they are not much help
- 2:48In this case the bins are so wide that the measurements are split 50/50
- 2:54All this tells us this how many measurements are above the average and how many are below
- 2:59this is more insight than before, but we can do better
- 3:04Sometimes you have to try a bunch of different bin widths before you get a clear picture
- 3:10In other words don't rely on the default setting of whatever program you're using to draw the histogram
- 3:16You've got to try a bunch of different settings before you're sure that you've got the best histogram you can draw
- 3:23Hooray, we've made it to the end of another exciting StatQuest!!! If you like this StatQuest and want to see more like it
- 3:30Please subscribe
- 3:32It's really easy, and if you have any suggestions for future StatQuests
- 3:36Just let me know in the comments below. Until next time... Quest On!!!
About this transcript
This page contains the full transcript of StatQuest: Histograms, Clearly Explained by StatQuest with Josh Starmer, generated from the public captions YouTube serves with the video. The transcript has 528 words across 46 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.