Python - Scipy Kernal Estimation Example - Density >> 1
I'm currently working through this SciPy example on Kernal Estimation. In particular, the one labelled 'Univariate estimation'. As opposed to creating random data, I am using ass
Solution 1:
The result of a kernel density estimate is a probability density. While probability can't be larger than 1, a density can.
Given a probability density curve, you can find the probability within a range (x_1, x_2)
by integrating the probability density in that range. Judging by eye, the integral under both your curves is approximately 1, so the output appears to be correct.
Post a Comment for "Python - Scipy Kernal Estimation Example - Density >> 1"