statsmodels.nonparametric.kernel_density.KDEMultivariateConditional.loo_likelihood#
- KDEMultivariateConditional.loo_likelihood(bw, func=<function KDEMultivariateConditional.<lambda>>)[source]#
Returns the leave-one-out conditional likelihood of the data
If func is not equal to the default, what’s calculated is a function of the leave-one-out conditional likelihood.
- Parameters:
- Returns:
- L
float The value of the leave-one-out function for the data.
- L
Notes
Similar to
KDE.loo_likelihood, but substitutef(y|x)=f(x,y)/f(x)forf(x).