Stats 1.1Lesson outlineLesson 1 of 10 in Module 1
Histograms and Density
See the shape of one feature, and read a smooth density without mistaking smoothing for observed data.
Free sample. Everything in this module opens with a free account.Video in production.
Lesson outline: Histograms and Density
In this lesson6 parts
- 01What the recorded durations can show
- 02A histogram's shape depends on its bins
- 03Density is read through area
- 04The twenty minute boundary
- 05What a smooth density adds
- 06Reproduce and challenge the plot
Key terms: Histograms and Density
The words this lesson introduces, each in one line. The module’s glossary collects them all, and the AI glossary has every term across the courses.
- bin
- A declared interval of values.
[5, 10)includes5and excludes10. - frequency
- The number of observations in a bin.
- histogram
- Counts observations inside adjacent numeric intervals.
- density
- A bar height whose width times height is the bin's fraction. Its unit is per unit of the x axis: per minute for trip durations.
- threshold
- The cutoff in the stated decision rule, such as
<= 20minutes. - kernel density estimate (KDE)
- A smoothed density estimated from observations: a small curve (a kernel) is placed at each value and the curves are added.
- rug plot
- Marks at observed values, one per recorded duration.
- bandwidth
- The amount of smoothing in a KDE. seaborn scales it with
bw_adjust.
Quiz: Histograms and Density
Your first pick on each question is the one that counts. Getting one wrong here is how the lesson sticks.