statsmodels.nonparametric.kernel_density.KDEMultivariate.imse¶
-
KDEMultivariate.
imse
(bw)[source]¶ Returns the Integrated Mean Square Error for the unconditional KDE.
- Parameters
- bwarray_like
The bandwidth parameter(s).
- Returns
- CV
float
The cross-validation objective function.
- CV
Notes
See p. 27 in [1] for details on how to handle the multivariate estimation with mixed data types see p.6 in [2].
The formula for the cross-validation objective function is:
CV=1n2n∑i=1N∑j=1ˉKh(Xi,Xj)−2n(n−1)n∑i=1N∑j=1,j≠iKh(Xi,Xj)Where ˉKh is the multivariate product convolution kernel (consult [2] for mixed data types).
References