KDEMultivariate.pdf()

statsmodels.nonparametric.kernel_density.KDEMultivariate.pdf

KDEMultivariate.pdf(data_predict=None) [source]

Evaluate the probability density function.

Parameters:

data_predict: array_like, optional :

Points to evaluate at. If unspecified, the training data is used.

Returns:

pdf_est: array_like :

Probability density function evaluated at data_predict.

Notes

The probability density is given by the generalized product kernel estimator:

K_{h}(X_{i},X_{j}) =\prod_{s=1}^{q}h_{s}^{-1}k\left(\frac{X_{is}-X_{js}}{h_{s}}\right)

doc_statsmodels
2017-01-18 16:11:15
Comments
Leave a Comment

Please login to continue.