[英]Integration of KDE with strange behavior of from scipy.integrate.quad and the setted bandwith
我正在尋找一種從繪制分布中獲取平均值(期望值)的方法,該分布用於擬合來自scipy.stats.gaussian_kde的 Kernel 密度估計。 我記得從我的統計數據 class 中,期望值只是 pdf(x) * x 從 -infinity 到無窮大的積分: 我使用scipy.integrat ...