Density Curve

In Probability Theory, a density curve is a function that describes how a random variable is distributed. It is a smooth curve that shows how often each value of the random variable occurs.

In EDAV, a density curve for some data is the density curve of any distribution that approximates the data empirical distribution.
A common technique is to give each point a Normal Distribution with mean equal to its value. Then the density curve is the composition of multiple normal distributions.

variance one

Then the variance of the normal distribution, which can be seen as binwidth in Histogram, controls the shape of the curve.

In real implementations, such variance is controlled by parameter bandwidth h.

Sometimes due to the x-axis limits, the density curve doesn't go to zero at two ends (see the last graph above). We can expand the x-axis limits in such cases.

Creative Commons License by zcysxy