kernel density estimation is a non-parametric way to estimate the probability density function of a random variable.