statsmodels.nonparametric.kde.KDEUnivariate inconsistency
Author: rtmlpCreated Jul 23, 2018Updated Sep 28, 2026
Labelstype-possible-bug
Hi,
I am currently using the KDEunivariate function to calculate kernel densities. But each time I run the code with the same parameters on the same variable, I get different results which are completely different altogether. Is there any reason to why this is happening ?
My dataset has ~70K observations of the variable
Thanks
Source: statsmodels/statsmodels