statsmodels.nonparametric.kernel_density.KDEMultivariateConditional
class statsmodels.nonparametric.kernel_density.KDEMultivariateConditional(endog, exog, dep_type, indep_type, bw, defaults=) [source]
Conditional multivariate kernel density estimator. Calculates P(Y_1,Y_2,...Y_n | X_1,X_2...X_m) = P(X_1, X_2,...X_n, Y_1, Y_2,..., Y_m)/P(X_1, X_2,..., X_m). The conditional density is by definition the ratio of the two densities, see [R8]. Parameters:
endog: list of ndarrays or 2-D ndarray :