KDEMultivariateConditional.cdf()

statsmodels.nonparametric.kernel_density.KDEMultivariateConditional.cdf

KDEMultivariateConditional.cdf(endog_predict=None, exog_predict=None) [source]

Cumulative distribution function for the conditional density.

Parameters:

endog_predict: array_like, optional

The evaluation dependent variables at which the cdf is estimated. If not specified the training dependent variables are used.

exog_predict: array_like, optional

The evaluation independent variables at which the cdf is estimated. If not specified the training independent variables are used.

Returns:

cdf_est: array_like

The estimate of the cdf.

Notes

For more details on the estimation see [R21], and p.181 in [R20].

The multivariate conditional CDF for mixed data (continuous and ordered/unordered discrete) is estimated by:

..math:: F(y|x)=frac{n^{-1}sum_{i=1}^{n}G(frac{y-Y_{i}}{h_{0}})
W_{h}(X_{i},x)}{widehat{mu}(x)}

where G() is the product kernel CDF estimator for the dependent (y) variable(s) and W() is the product kernel CDF estimator for the independent variable(s).

References

[R20] (1, 2) Racine, J., Li, Q. Nonparametric econometrics: theory and practice. Princeton University Press. (2007)
[R21] (1, 2) Liu, R., Yang, L. “Kernel estimation of multivariate cumulative distribution function.” Journal of Nonparametric Statistics (2008)

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.nonparametric.kernel_density.KDEMultivariateConditional.cdf.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部