Kernel Density Estimation Plots

Let’s learn how kernel density estimation (KDE) plots are created.

KDE plots replace every single observation with a Gaussian (normal) distribution that is centered around that value. Let’s practice this. We’re going to put a kdeplot, rugplot, and distplot for total_bils and tips on a single canvas first:

Get hands-on with 1400+ tech skills courses.