e01.org

Kernel density estimation

random numbers using different smoothing bandwidths. In statistics, kernel density estimation (KDE) is the application of kernel smoothing for probability density estimation, i.e., a non-parametric method to estimate the probability density function of a random variable based on kernels as weights. KDE answers a fundamental data smoothing problem where inferences about the population are made based on a finite data sample. In some fields such as signal processing and econometrics it is also termed the Parzen–Rosenblatt window method, after Emanuel Parzen and Murray Rosenblatt, who are usually credited with independently creating it in its current form. One of the famous applications of kernel density estimation is in estimating the class-conditional marginal densities of data when using a naive Bayes classifier, which can improve its prediction accuracy.

random numbers using different smoothing bandwidths.]] In statistics, kernel density estimation (KDE) is the application of kernel smoothing for probability density estimation, i.e., a non-parametric method to estimate the probability density function of a random variable based on kernels as weights. KDE answers a fundamental data smoothing problem where inferences about the population are made based on a finite data sample. In some fields such as signal processing and econometrics it is also termed the Parzen–Rosenblatt window method, after Emanuel Parzen and Murray Rosenblatt, who are usually credited with independently creating it in its current form. One of the famous applications of kernel density estimation is in estimating the class-conditional marginal densities of data when using a naive Bayes classifier, which can improve its prediction accuracy. ==Definition== Let \mathbf{x} = \left ( x_1, x_2, x_3, ... \right ) be independent and identically distributed samples drawn from some univariate distribution with an unknown density at any given point . We are interested in estimating the shape of this function . Its kernel density estimator is \hat{f}_h(x) = \frac{1}{n}\sum_{i=1}^n K_h (x - x_i) = \frac{1}{nh} \sum_{i=1}^n K{\left(\frac{x-x_i}{h}\right)}, where is the kernel — a non-negative function — and is a smoothing parameter called the bandwidth or simply width. A kernel with subscript is called the scaled kernel and defined as . Intuitively one wants to choose as small as the data will allow; however, there is always a trade-off between the bias of the estimator and its variance. The choice of bandwidth is discussed in more detail below. A range of kernel functions are commonly used: uniform, triangular, biweight, triweight, Epanechnikov (parabolic), normal, and others. The Epanechnikov kernel is optimal in a mean square error sense, though the loss of efficiency is small for the kernels listed previously. Due to its convenient mathematical properties, the normal kernel is often used, which means , where is the standard normal density function. The kernel density estimator then becomes \hat{f}_h(x) = \frac{1}{n} \sum_{i=1}^n \frac{1}{h\sqrt{2\pi}} \exp\left(\frac{-(x-x_i)^2}{2h^2}\right), where h is the standard deviation of the sample \mathbf{x} . The construction of a kernel density estimate finds interpretations in fields outside of density estimation. For example, in thermodynamics, this is equivalent to the amount of heat generated when heat kernels (the fundamental solution to the heat equation) are placed at each data point locations . Similar methods are used to construct discrete Laplace operators on point clouds for manifold learning (e.g. diffusion map). ==Example== Kernel density estimates are closely related to histograms, but can be endowed with properties such as smoothness or continuity by using a suitable kernel. The diagram below based on these 6 data points illustrates this relationship: For the histogram, first, the horizontal axis is divided into sub-intervals or bins which cover the range of the data: In this case, six bins each of width 2. Whenever a data point falls inside this interval, a box of height 1/12 is placed there. If more than one data point falls inside the same bin, the boxes are stacked on top of each other. For the kernel density estimate, normal kernels with a standard deviation of 1.5 (indicated by the red dashed lines) are placed on each of the data points x i . The kernels are summed to make the kernel density estimate (solid blue curve). The smoothness of the kernel density estimate (compared to the discreteness of the histogram) illustrates how kernel density estimates converge faster to the true underlying density for continuous random variables. on the horizontal axis.]] ==Bandwidth selection== The bandwidth of the kernel is a free parameter which exhibits a strong influence on the resulting estimate. To illustrate its effect, we take a simulated random sample from the standard normal distribution (plotted at the blue spikes in the rug plot on the horizontal axis). The grey curve is the true density (a normal density with mean 0 and variance 1). In comparison, the red curve is undersmoothed since it contains too many spurious data artifacts arising from using a bandwidth h = 0.05, which is too small. The green curve is oversmoothed since using the bandwidth obscures much of the underlying structure. The black curve with a bandwidth of h = 0.337 is considered to be optimally smoothed since its density estimate is close to the true density. An extreme situation is encountered in the limit h \to 0 (no smoothing), where the estimate is a sum of delta functions centered at the coordinates of analyzed samples. In the other extreme limit h \to \infty the estimate retains the shape of the used kernel, centered on the mean of the samples (completely smooth). The most common optimality criterion used to select this parameter is the expected L 2 risk function, also termed the mean integrated squared error: \operatorname{MISE} (h) = \operatorname{E}\!\left[ \int\! {\left(\hat{f}\!_h(x) - f(x)\right)}^2 dx \right] Under weak assumptions on and , ( is the, generally unknown, real density function), \operatorname{MISE}(h) = \operatorname{AMISE}(h) + \mathcal{o}{\left((nh)^{-1} + h^4\right)} where is the little o notation, and the sample size (as above). The AMISE is the asymptotic MISE, i. e. the two leading terms, \operatorname{AMISE}(h) = \frac{R(K)}{nh} + \frac{1}{4} m_2(K)^2 h^4 R(f) where R(g) = \int g(x)^2 \, dx for a function , m_2(K) = \int x^2 K(x) \, dx and f is the second derivative of f and K is the kernel. The minimum of this AMISE is the solution to this differential equation \frac{\partial}{\partial h} \operatorname{AMISE}(h) = -\frac{R(K)}{nh^2} + m_2(K)^2 h^3 R(f) = 0 or h_{\operatorname{AMISE}} = \frac{ R(K)^{1/5}}{m_2(K)^{2/5}R(f)^{1/5} } n^{-1/5} = C n^{-1/5} Neither the AMISE nor the h AMISE formulas can be used directly since they involve the unknown density function f or its second derivative f . To overcome that difficulty, a variety of automatic, data-based methods have been developed to select the bandwidth. Several review studies have been undertaken to compare their efficacies, with the general consensus that the plug-in selectors and cross validation selectors are the most useful over a wide range of data sets. Substituting any bandwidth which has the same asymptotic order as into the AMISE gives that , where is the big O notation. It can be shown that, under weak assumptions, there cannot exist a non-parametric estimator that converges at a faster rate than the kernel estimator. Note that the rate is slower than the typical convergence rate of parametric methods. If the bandwidth is not held fixed, but is varied depending upon the location of either the estimate (balloon estimator) or the samples (pointwise estimator), this produces a particularly powerful method termed adaptive or variable bandwidth kernel density estimation. Bandwidth selection for kernel density estimation of heavy-tailed distributions is relatively difficult. ===A rule-of-thumb bandwidth estimator=== If Gaussian basis functions are used to approximate univariate data, and the underlying density being estimated is Gaussian, the optimal choice for h (that is, the bandwidth that minimises the mean integrated squared error) is: h = {\left(\frac{4\hat{\sigma}^5}{3n}\right)}^{1/5} \approx 1.06 \, \hat{\sigma} \, n^{-1/5}, An h value is considered more robust when it improves the fit for long-tailed and skewed distributions or for bimodal mixture distributions. This is often done empirically by replacing the standard deviation \hat{\sigma} by the parameter A below: A = \min\left(\hat{\sigma}, \frac{\mathrm{IQR}}{1.34}\right) where IQR is the interquartile range. Another modification that will improve the model is to reduce the factor from 1.06 to 0.9. Then the final formula would be: h = 0.9\, \min\left(\hat{\sigma}, \frac{\mathrm{IQR}}{1.34}\right)\, n^{-1/5} where n is the sample size. This approximation is termed the normal distribution approximation, Gaussian approximation, or Silverman's rule of thumb. While this rule of thumb is easy to compute, it should be used with caution as it can yield widely inaccurate estimates when the density is not close to being normal. For example, when estimating the bimodal Gaussian mixture model \frac{1}{2\sqrt{2\pi}} e^{-\frac{1}{2}(x-10)^2} + \frac{1}{2\sqrt{2\pi}}e^{-\frac{1}{2}(x+10)^2} from a sample of 200 points, the figure on the right shows the true density and two kernel density estimates — one using the rule-of-thumb bandwidth, and the other using a solve-the-equation bandwidth. The estimate based on the rule-of-thumb bandwidth is significantly oversmoothed. ==Relation to the characteristic function density estimator== Given the sample , it is natural to estimate the characteristic function as \hat\varphi(t) = \frac{1}{n} \sum_{j=1}^n e^{i t x_j} Knowing the characteristic function, it is possible to find the corresponding probability density function through the Fourier transform formula. One difficulty with applying this inversion formula is that it leads to a diverging integral, since the estimate \hat\varphi(t) is unreliable for large 's. To circumvent this problem, the estimator \hat\varphi(t) is multiplied by a damping function , which is equal to 1 at the origin and then falls to 0 at infinity. The "bandwidth parameter" controls how fast we try to dampen the function \hat\varphi(t) . In particular when is small, then will be approximately one for a large range of 's, which means that \hat\varphi(t) remains practically unaltered in the most important region of 's. The most common choice for function is either the uniform function , which effectively means truncating the interval of integration in the inversion formula to , or the Gaussian function . Once the function has been chosen, the inversion formula may be applied, and the density estimator will be \begin{align} \hat{f}(x) &= \frac{1}{2\pi} \int_{-\infty}^{+\infty} \hat\varphi(t) \psi_h(t) e^{-itx} \, dt \\[1ex] &= \frac{1}{2\pi} \int_{-\infty}^{+\infty} \frac{1}{n} \sum_{j=1}^n e^{it(x_j-x)} \psi(ht) \, dt \\[1ex] &= \frac{1}{nh} \sum_{j=1}^n \frac{1}{2\pi} \int_{-\infty}^{+\infty} e^{-i(ht)\frac{x-x_j}{h}} \psi(ht) \, d(ht) \\[1ex] &= \frac{1}{nh} \sum_{j=1}^n K{\left(\frac{x-x_j}{h}\right)}, \end{align} where is the Fourier transform of the damping function . Thus the kernel density estimator coincides with the characteristic function density estimator. X_{\mu,\nu}=\mu q+\nu p. Its measurement outcomes follow an ordinary probability density \mathcal{W}(x\mid\mu,\nu) , known as a symplectic tomogram. The collection of tomograms over different measurement settings is informationally complete and therefore provides an alternative representation of the quantum state. For independent quadrature measurements X_{1,\mu,\nu},\ldots,X_{n,\mu,\nu} obtained at a fixed setting, the tomogram can be estimated by \widehat{\mathcal{W}}_{n,h}(x\mid\mu,\nu) =\frac{1}{nh} \sum_{j=1}^{n} K_{\mu,\nu}\left( \frac{x-X_{j,\mu,\nu}}{h} \right), where K_{\mu,\nu} is a kernel and h is the bandwidth. This treatment does not require the quadrature density to belong to a predetermined parametric family and can therefore accommodate multimodal and non-Gaussian measurement distributions. The characteristic function of a tomogram is its Fourier transform, \varphi(t;\mu,\nu) = \int_{-\infty}^\infty \mathcal{W}(x\mid\mu,\nu)e^{itx}\,dx. For every fixed (\mu,\nu) , this is the characteristic function of the measured random variable X_{\mu,\nu} . It always exists and satisfies the standard conditions \varphi(0;\mu,\nu)=1 , |\varphi(t;\mu,\nu)|\leq 1 , and \varphi(-t;\mu,\nu)=\varphi(t;\mu,\nu)^{*} . In the tomographic representation, the values \varphi(1;\mu,\nu) over phase space also coincide, up to the adopted conventions, with the characteristic function associated with the Wigner representation of the state. Taking the Fourier transform of the kernel density estimator gives a kernel estimator of the characteristic function, \widehat{\varphi}_{n,h}(t;\mu,\nu) = \widehat{\varphi}_{X,n}(t;\mu,\nu) \varphi_K(th;\mu,\nu), where \widehat{\varphi}_{X,n}(t;\mu,\nu) = \frac{1}{n} \sum_{j=1}^n e^{itX_{j,\mu,\nu}} is the empirical characteristic function and \varphi_K(th;\mu,\nu) = \int_{-\infty}^\infty K_{\mu,\nu}(z)e^{ithz}\,dz is the known characteristic function of the rescaled kernel. Thus, the estimator separates into a data-dependent empirical factor and a deterministic smoothing factor controlled by the kernel and bandwidth. The kernel factor suppresses high-frequency contributions, providing a regularized version of the empirical characteristic function. The characteristic-function representation can be used directly for quantum-state reconstruction. For example, the density matrix in the coordinate basis can be recovered from \rho(y,y') The characteristic-function formulation also permits correction for some measurement-noise models. If the observed quadrature is modeled as Z=\kappa X+(1-\kappa)Y , where Y is independent noise with a known nonvanishing characteristic function, then the signal characteristic function can be obtained through a deconvolution, \varphi_X(t) = \frac{\varphi_Z(t/\kappa)}{\varphi_Y((1-\kappa)t/\kappa)}. A kernel factor can subsequently be included to regularize the resulting estimate. This correction requires the noise characteristic function not to vanish at the frequencies used in the reconstruction. The bias and variance of the KCFE are \operatorname{Bias}\!\left[ \widehat{\varphi}_{n,h}(t;\mu,\nu) \right] = \left[\varphi_K(th;\mu,\nu)-1\right] \varphi(t;\mu,\nu) and \operatorname{Var}\!\left[ \widehat{\varphi}_{n,h}(t;\mu,\nu) \right] =\frac{|\varphi_K(th;\mu,\nu)|^{2}}{n} \left[1-|\varphi(t;\mu,\nu)|^{2}\right]. Thus its pointwise mean squared error is \begin{aligned} \operatorname{MSE}\!\left[ \widehat{\varphi}_{n,h}(t;\mu,\nu) \right] ={}& |\varphi_K(th;\mu,\nu)-1|^{2} |\varphi(t;\mu,\nu)|^{2} \\ &+ \frac{|\varphi_K(th;\mu,\nu)|^2}{n} \left[1-|\varphi(t;\mu,\nu)|^2\right]. \end{aligned} For the Gaussian kernel \varphi_K(th;\mu,\nu) = \exp\left[ -\frac{t^2 h^2(\mu^2+\nu^2)}{4} \right]. The resulting error is \begin{aligned} \operatorname{MSE}\!\left[ \widehat{\varphi}^{\,G}_{n,h}(t;\mu,\nu) \right] ={}& \left( \exp\left[ -\frac{t^2 h^2(\mu^2+\nu^2)}{4} \right]-1 \right)^2 |\varphi(t;\mu,\nu)|^2 \\ &+ \frac{1}{n} \exp\left[ -\frac{t^2h^2(\mu^2+\nu^2)}{4} \right] \left[1-|\varphi(t;\mu,\nu)|^2\right]. \end{aligned} For 0 , minimizing this expression gives a characteristic-function bandwidth of order h_{\varphi}=O(n^{-1/2}), and the minimized error satisfies \operatorname{MSE}\!\left[ \widehat{\varphi}^{\,G}_{n,h_{\varphi}}(t;\mu,\nu) \right] = \frac{1-|\varphi(t;\mu,\nu)|^2}{n} - \frac{\left[1-|\varphi(t;\mu,\nu)|^2 \right]^2} {4n^{2}|\varphi(t;\mu,\nu)|^2} = O(n^{-1}). The characteristic-function estimator therefore converges pointwise at the parametric n^{-1} mean squared error rate, although the underlying tomogram is estimated nonparametrically. Collections of characteristic-function estimates at several measurement settings form the input to the kernel quantum state estimation procedure. If n measurements are taken at each setting and N_{\mu}=N_{\nu}=(\log n)^2 , the numbers of state preparations used for density-matrix and two-dimensional trace estimation are T_{\mu}=nN_\mu, \qquad T_{\mu,\nu}=nN_\mu N_\nu. For the coordinate-space density matrix, the reported uniform pointwise risk is \sup_{y,y'} \mathbb E\left[ \left| \widehat{\rho}(y,y')-\rho(y,y') \right|^2 \right] = \widetilde{O}\!\left(T_\mu^{-1}\right). For the overlap of two quantum states, the reported mean squared error is \mathbb E\left[ \left| \widehat{\operatorname{tr}(\rho_1\rho_2)} - \operatorname{tr}(\rho_1\rho_2) \right|^2 \right] = \widetilde{O}\!\left(T_{\mu,\nu}^{-1}\right), where \widetilde{O} suppresses logarithmic factors arising from the number of measurement settings. M = \{ x:g(x) = 0 \mid \lambda_1(x) Namely, M is the collection of points for which the density function is locally maximized. A natural estimator of M is a plug-in from KDE, where g(x) and \lambda_1(x) are KDE version of g(x) and \lambda_1(x) . Under mild assumptions, M_c is a consistent estimator of M . Note that one can use the mean shift algorithm to compute the estimator M_c numerically. In Origin, 2D kernel density plot can be made from its user interface, and two functions, Ksdensity for 1D and Ks2density for 2D can be used from its LabTalk , Python, or C code. In Perl, an implementation can be found in the Statistics-KernelEstimation module In PHP, an implementation can be found in the MathPHP library In Python, many implementations exist: pyqt_fit.kde Module in the PyQt-Fit package, SciPy ( scipy.stats.gaussian_kde ), Statsmodels ( KDEUnivariate and KDEMultivariate ), and scikit-learn ( KernelDensity ) (see comparison ). KDEpy supports weighted data and its FFT implementation is orders of magnitude faster than the other implementations. The commonly used pandas library offers support for kde plotting through the plot method ( df.plot(kind='kde') [https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.kde.html). The getdist package for weighted and correlated MCMC samples supports optimized bandwidth, boundary correction and higher-order methods for 1D and 2D distributions. One newly used package for kernel density estimation is seaborn ( import seaborn as sns , sns.kdeplot() ). A GPU implementation of KDE also exists. In R, it is implemented through density in the base distribution, and bw.nrd0 function is used in stats package, this function uses the optimized formula in Silverman's book. bkde in the KernSmooth library, ParetoDensityEstimation in the DataVisualizations library (for pareto distribution density estimation), kde in the ks library, dkden and dbckden in the evmix library (latter for boundary corrected kernel density estimation for bounded support), npudens in the np library (numeric and categorical data), sm.density in the sm library. For an implementation of the kde.R function, which does not require installing any packages or libraries, see kde.R. The btb library, dedicated to urban analysis, implements kernel density estimation through kernel_smoothing . In SAS, proc kde can be used to estimate univariate and bivariate kernel densities. In Apache Spark, the KernelDensity() class In Stata, it is implemented through kdensity ; for example histogram x, kdensity . Alternatively a free Stata module KDENS is available allowing a user to estimate 1D or 2D density functions. In Swift, it is implemented through SwiftStats.KernelDensityEstimation in the open-source statistics library SwiftStats. ==See also== Kernel (statistics) Kernel smoothing Kernel regression Density estimation (with presentation of other examples) Mean-shift Scale space: The triplets {(x, h, KDE with bandwidth h evaluated at x: all x, h > 0} form a scale space representation of the data. Multivariate kernel density estimation Variable kernel density estimation Head/tail breaks ==Further reading== ==References== ==External links== Introduction to kernel density estimation A short tutorial which motivates kernel density estimators as an improvement over histograms. Kernel Bandwidth Optimization A free online tool that generates an optimized kernel density estimate. Free Online Software (Calculator) computes the Kernel Density Estimation for a data series according to the following Kernels: Gaussian, Epanechnikov, Rectangular, Triangular, Biweight, Cosine, and Optcosine. Kernel Density Estimation Applet An online interactive example of kernel density estimation. Requires .NET 3.0 or later.

References

  1. ^ Cao, R.; Cuevas, A.; Manteiga, W. G. (1994). "A comparative study of several smoothing methods in density estimation". Computational Statistics and Data Analysis . 17 (2): 153– 176. doi : 10.1016/0167-9473(92)00066-Z . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  2. ^ Jones, M.C.; Marron, J.S.; Sheather, S. J. (1996). "A brief survey of bandwidth selection for density estimation". Journal of the American Statistical Association . 91 (433): 401– 407. doi : 10.2307/2291420 . JSTOR 2291420 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  3. ^ Sheather, S.J. (1992). "The performance of six popular bandwidth selection methods on some real data sets (with discussion)". Computational Statistics . 7 : 225– 250, 271– 281. Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  4. ^ Agarwal, N.; Aluru, N.R. (2010). "A data-driven stochastic collocation approach for uncertainty quantification in MEMS" (PDF) . International Journal for Numerical Methods in Engineering . 83 (5): 575– 597. Bibcode : 2010IJNME..83..575A . doi : 10.1002/nme.2844 . S2CID 84834908 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  5. ^ Xu, X.; Yan, Z.; Xu, S. (2015). "Estimating wind speed probability distribution by diffusion-based kernel density method". Electric Power Systems Research . 121 : 28– 37. Bibcode : 2015EPSR..121...28X . doi : 10.1016/j.epsr.2014.11.029 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  6. ^ Rudemo, M. (1982). "Empirical choice of histograms and kernel density estimators". Scandinavian Journal of Statistics . 9 (2): 65– 78. JSTOR 4615859 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  7. ^ Bowman, A.W. (1984). "An alternative method of cross-validation for the smoothing of density estimates". Biometrika . 71 (2): 353– 360. doi : 10.1093/biomet/71.2.353 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  8. ^ Hall, P.; Marron, J.S.; Park, B.U. (1992). "Smoothed cross-validation" . Probability Theory and Related Fields . 92 : 1– 20. doi : 10.1007/BF01205233 . S2CID 121181481 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  9. ^ Wahba, G. (1975). "Optimal convergence properties of variable knot, kernel, and orthogonal series methods for density estimation" . Annals of Statistics . 3 (1): 15– 29. doi : 10.1214/aos/1176342997 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  10. ^ Chen, Yen-Chi; Genovese, Christopher R.; Wasserman, Larry (2016). "A comprehensive approach to mode clustering" . Electronic Journal of Statistics . 10 (1): 210– 241. arXiv : 1406.1780 . doi : 10.1214/15-ejs1102 . ISSN 1935-7524 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  11. ^ Chazal, Frédéric; Fasy, Brittany Terese ; Lecci, Fabrizio; Rinaldo, Alessandro; Wasserman, Larry (2014). "Stochastic Convergence of Persistence Landscapes and Silhouettes" . Proceedings of the thirtieth annual symposium on Computational geometry . Vol. 6. New York, New York, USA: ACM Press. pp. 474– 483. arXiv : 1312.0308 . doi : 10.1145/2582112.2582128 . ISBN 978-1-4503-2594-3 . S2CID 6029340 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  12. ^ Fukunaga, K.; Hostetler, L. (January 1975). "The estimation of the gradient of a density function, with applications in pattern recognition". IEEE Transactions on Information Theory . 21 (1): 32– 40. Bibcode : 1975ITIT...21...32F . doi : 10.1109/tit.1975.1055330 . ISSN 0018-9448 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  13. ^ Yizong Cheng (1995). "Mean shift, mode seeking, and clustering". IEEE Transactions on Pattern Analysis and Machine Intelligence . 17 (8): 790– 799. Bibcode : 1995ITPAM..17..790Y . CiteSeerX 10.1.1.510.1222 . doi : 10.1109/34.400568 . ISSN 0162-8828 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  14. ^ Comaniciu, D.; Meer, P. (May 2002). "Mean shift: a robust approach toward feature space analysis". IEEE Transactions on Pattern Analysis and Machine Intelligence . 24 (5): 603– 619. Bibcode : 2002ITPAM..24..603C . doi : 10.1109/34.1000236 . ISSN 0162-8828 . S2CID 691081 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  15. ^ Janert, Philipp K (2009). Gnuplot in action : understanding data with graphs . Connecticut, USA: Manning Publications. ISBN 978-1-933988-39-9 . See section 13.2.2 entitled Kernel density estimates . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  16. ^ "Kernel smoothing function estimate for univariate and bivariate data – MATLAB ksdensity" . www.mathworks.com . Retrieved 2020-11-05 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1604530800.0
  17. ^ "SmoothKernelDistribution—Wolfram Language Documentation" . reference.wolfram.com . Retrieved 2020-11-05 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1604530800.0
  18. ^ "KernelMixtureDistribution—Wolfram Language Documentation" . reference.wolfram.com . Retrieved 2020-11-05 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1604530800.0
  19. ^ "Software for calculating kernel densities" . www.rsc.org . Retrieved 2020-11-05 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1604530800.0
  20. ^ The Numerical Algorithms Group. "NAG Library Routine Document: nagf_smooth_kerndens_gauss (g10baf)" (PDF) . NAG Library Manual, Mark 23 . Retrieved 2012-02-16 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1329346800.0
  21. ^ The Numerical Algorithms Group. "NAG Library Routine Document: nag_kernel_density_estim (g10bac)" (PDF) . NAG Library Manual, Mark 9 . Archived from the original (PDF) on 2011-11-24 . Retrieved 2012-02-16 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1329346800.0
  22. ^ Vanderplas, Jake (2013-12-01). "Kernel Density Estimation in Python" . Retrieved 2014-03-12 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1394578800.0
  23. ^ "seaborn.kdeplot — seaborn 0.10.1 documentation" . seaborn.pydata.org . Retrieved 2020-05-12 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1589238000.0
  24. ^ "Kde-gpu: We implemented nadaraya waston kernel density and kernel conditional probability estimator using cuda through cupy. It is much faster than cpu version but it requires GPU with high memory" . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  25. ^ Epanechnikov, V.A. (1969). "Non-parametric estimation of a multivariate probability density". Theory of Probability and Its Applications . 14 : 153– 158. doi : 10.1137/1114019 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  26. ^ "Basic Statistics – RDD-based API – Spark 3.0.1 Documentation" . spark.apache.org . Retrieved 2020-11-05 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1604530800.0
  27. ^ "kdensity — Univariate kernel density estimation" (PDF) . Stata 15 manual . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  28. ^ Jann, Ben (2008-05-26), "KDENS: Stata module for univariate kernel density estimation" , Statistical Software Components , Boston College Department of Economics , retrieved 2022-10-15 Wikipedia revision 1375918779, retrieved 2026-11-18 · 1665788400.0
  29. ^ Scott, D. (1979). "On optimal and data-based histograms". Biometrika . 66 (3): 605– 610. doi : 10.1093/biomet/66.3.605 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  30. ^ Park, B.U.; Marron, J.S. (1990). "Comparison of data-driven bandwidth selectors". Journal of the American Statistical Association . 85 (409): 66– 72. Bibcode : 1990JASA...85...66P . CiteSeerX 10.1.1.154.7321 . doi : 10.1080/01621459.1990.10475307 . JSTOR 2289526 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  31. ^ Park, B.U.; Turlach, B.A. (1992). "Practical performance of several data driven bandwidth selectors (with discussion)" . Computational Statistics . 7 : 251– 270. Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  32. ^ a b Hastie, Trevor ; Tibshirani, Robert ; Friedman, Jerome H. (2001). The Elements of Statistical Learning : Data Mining, Inference, and Prediction : with 200 full-color illustrations . New York: Springer. ISBN 0-387-95284-5 . OCLC 46809224 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  33. ^ Buch-Larsen, TINE (2005). "Kernel density estimation for heavy-tailed distributions using the Champernowne transformation". Statistics . 39 (6): 503– 518. CiteSeerX 10.1.1.457.1544 . doi : 10.1080/02331880500439782 . S2CID 219697435 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  34. ^ Horová, I.; Koláček, J.; Zelinka, J. (2012). Kernel Smoothing in MATLAB: Theory and Practice of Kernel Smoothing . Singapore: World Scientific Publishing. ISBN 978-981-4405-48-5 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  35. ^ a b c d e Markovich, Liubov A.; Liu, Xiaoyu; Tura, Jordi (2026-07-07). "Nonparametric Learning Non-Gaussian Quantum States of Continuous Variable Systems". Physical Review Letters . 137 (2): 020201. arXiv : 2508.06431 . doi : 10.1103/xdcg-6df5 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  36. ^ a b Parzen, E. (1962). "On Estimation of a Probability Density Function and Mode" . The Annals of Mathematical Statistics . 33 (3): 1065– 1076. doi : 10.1214/aoms/1177704472 . JSTOR 2237880 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  37. ^ a b Rosenblatt, M. (1956). "Remarks on Some Nonparametric Estimates of a Density Function" . The Annals of Mathematical Statistics . 27 (3): 832– 837. doi : 10.1214/aoms/1177728190 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  38. ^ a b Silverman, B.W. (1986). Density Estimation for Statistics and Data Analysis . London: Chapman & Hall/CRC. p. 45 . ISBN 978-0-412-24620-3 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  39. ^ a b Sheather, S.J.; Jones, M.C. (1991). "A reliable data-based bandwidth selection method for kernel density estimation". Journal of the Royal Statistical Society, Series B . 53 (3): 683– 690. doi : 10.1111/j.2517-6161.1991.tb01857.x . JSTOR 2345597 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  40. ^ Wand, M.P; Jones, M.C. (1995). Kernel Smoothing . London: Chapman & Hall/CRC. ISBN 978-0-412-55270-0 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  41. ^ a b c d Botev, Zdravko (2007). Nonparametric Density Estimation via Diffusion Mixing (Technical report). University of Queensland. Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
  42. ^ Botev, Z.I.; Grotowski, J.F.; Kroese, D.P. (2010). "Kernel density estimation via diffusion". Annals of Statistics . 38 (5): 2916– 2957. arXiv : 1011.2602 . Bibcode : 2010AnSta..38OS799B . doi : 10.1214/10-AOS799 . S2CID 41350591 . Wikipedia revision 1375918779, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Kernel density estimation". 1789933029. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1375918779

JSON record · API collection · citation policy