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:
CVfloat

The cross-validation objective function.

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=1n2i=1nj=1NK¯h(Xi,Xj)2n(n1)i=1nj=1,jiNKh(Xi,Xj)

Where K¯h is the multivariate product convolution kernel (consult [2] for mixed data types).

References

[1]

Racine, J., Li, Q. Nonparametric econometrics: theory and practice. Princeton University Press. (2007)

[2] (1,2)

Racine, J., Li, Q. “Nonparametric Estimation of Distributions with Categorical and Continuous Data.” Working Paper. (2000)


Last update: Oct 03, 2024