statsmodels.nonparametric.kernels_asymmetric.kernel_pdf_beta2

statsmodels.nonparametric.kernels_asymmetric.kernel_pdf_beta2(x, sample, bw)[source]

Beta kernel for density, pdf, estimation with boundary corrections.

Parameters:
  • x (array_like, float) – Points for which density is evaluated. x can be scalar or 1-dim.

  • sample (ndarray, 1-d) – Sample from which kde is computed.

  • bw (float) – Bandwidth parameter, there is currently no default value for it.

Return type:

Components for kernel estimation

References