Kernel (statistics)

Short description: Window function

The term kernel is used in statistical analysis to refer to a window function. The term "kernel" has several distinct meanings in different branches of statistics.

## Contents

* 1 Bayesian statistics
* 2 Pattern analysis
* 3 Nonparametric statistics
* 3.1 Definition
* 3.2 Kernel functions in common use
* 4 See also
* 5 References

## Bayesian statistics

In statistics, especially in Bayesian statistics, the kernel of a probability density function (pdf) or probability mass function (pmf) is the form of the pdf or pmf in which any factors that are not functions of any of the variables in the domain are omitted.[1] Note that such factors may well be functions of the parameters of the pdf or pmf. These factors form part of the normalization factor of the probability distribution, and are unnecessary in many situations. For example, in pseudo-random number sampling, most sampling algorithms ignore the normalization factor. In addition, in Bayesian analysis of conjugate prior distributions, the normalization factors are generally ignored during the calculations, and only the kernel considered. At the end, the form of the kernel is examined, and if it matches a known distribution, the normalization factor can be reinstated. Otherwise, it may be unnecessary (for example, if the distribution only needs to be sampled from).

For many distributions, the kernel can be written in closed form, but not the normalization constant.

An example is the normal distribution. Its probability density function is

p(x|μ,σ2)=12πσ2e−(x−μ)22σ2

and the associated kernel is

p(x|μ,σ2)∝e−(x−μ)22σ2

Note that the factor in front of the exponential has been omitted, even though it contains the parameter σ2 , because it is not a function of the domain variable x .

## Pattern analysis

The kernel of a reproducing kernel Hilbert space is used in the suite of techniques known as kernel methods to perform tasks such as statistical classification, regression analysis, and cluster analysis on data in an implicit space. This usage is particularly common in machine learning.

## Nonparametric statistics

In nonparametric statistics, a kernel is a weighting function used in non-parametric estimation techniques. Kernels are used in kernel density estimation to estimate random variables' density functions, or in kernel regression to estimate the conditional expectation of a random variable. Kernels are also used in time-series, in the use of the periodogram to estimate the spectral density where they are known as window functions. An additional use is in the estimation of a time-varying intensity for a point process where window functions (kernels) are convolved with time-series data.

Commonly, kernel widths must also be specified when running a non-parametric estimation.

### Definition

A kernel is a non-negative real-valued integrable function K. For most applications, it is desirable to define the function to satisfy two additional requirements:

* Normalization:

∫−∞+∞K(u)du=1;

* Symmetry:

K(−u)=K(u) for all values of u.

The first requirement ensures that the method of kernel density estimation results in a probability density function. The second requirement ensures that the average of the corresponding distribution is equal to that of the sample used.

If K is a kernel, then so is the function K* defined by K*(u) = λK(λu), where λ > 0\. This can be used to select a scale that is appropriate for the data.

### Kernel functions in common use

All of the kernels below in a common coordinate system.

Several types of kernel functions are commonly used: uniform, triangle, Epanechnikov,[2] quartic (biweight), tricube,[3] triweight, Gaussian, quadratic[4] and cosine.

In the table below, if K is given with a bounded support, then K(u)=0 for values of u lying outside the support.

Kernel Functions, K(u)  | ∫u2K(u)du | ∫K(u)2du | Efficiency[5] relative to the Epanechnikov kernel

|
|
|

Uniform ("rectangular window")  | K(u)=12

Support: |u|≤1

"Boxcar function"

|  13 |  12 | 92.9%
Triangular  | K(u)=(1−|u|)

Support: |u|≤1

|  |  16 |  23 | 98.6%
Epanechnikov

(parabolic)

| K(u)=34(1−u2)

Support: |u|≤1

|  |  15 |  35 | 100%
Quartic
(biweight)  | K(u)=1516(1−u2)2

Support: |u|≤1

|  |  17 |  57 | 99.4%
Triweight  | K(u)=3532(1−u2)3

Support: |u|≤1

|  |  19 |  350429 | 98.7%
Tricube  | K(u)=7081(1−|u|3)3

Support: |u|≤1

|  |  35243 |  175247 | 99.8%
Gaussian | K(u)=12πe−12u2 |  |  1 |  12π | 95.1%
Cosine  | K(u)=π4cos⁡(π2u)

Support: |u|≤1

|  |  1−8π2 |  π216 | 99.9%
Logistic | K(u)=1eu+2+e−u |  |  π23 |  16 | 88.7%
Sigmoid function | K(u)=2π1eu+e−u |  |  π24 |  2π2 | 84.3%
Silverman kernel[6] | K(u)=12e−|u|2⋅sin⁡(|u|2+π4) |  |  0 |  3216 | not applicable

## See also

* Kernel density estimation
* Kernel smoother
* Stochastic kernel
* Positive-definite kernel
* Density estimation
* Multivariate kernel density estimation
* Kernel method

## References

1. ↑ Schuster, Eugene (August 1969). "Estimation of a probability density function and its derivatives". The Annals of Mathematical Statistics 40 (4): 1187-1195. doi:10.1214/aoms/1177697495.
2. ↑ Named for Epanechnikov, V. A. (1969). "Non-Parametric Estimation of a Multivariate Probability Density". Theory Probab. Appl. 14 (1): 153–158. doi:10.1137/1114019.
3. ↑ Altman, N. S. (1992). "An introduction to kernel and nearest neighbor nonparametric regression". The American Statistician 46 (3): 175–185. doi:10.1080/00031305.1992.10475879.
4. ↑ Cleveland, W. S.; Devlin, S. J. (1988). "Locally weighted regression: An approach to regression analysis by local fitting". Journal of the American Statistical Association 83 (403): 596–610. doi:10.1080/01621459.1988.10478639.
5. ↑ Efficiency is defined as ∫u2K(u)du∫K(u)2du.
6. ↑ Silverman, B. W. (1986). Density Estimation for Statistics and Data Analysis. Chapman and Hall, London.

* Li, Qi; Racine, Jeffrey S. (2007). Nonparametric Econometrics: Theory and Practice. Princeton University Press. ISBN 978-0-691-12161-1.

* Zucchini, Walter. "APPLIED SMOOTHING TECHNIQUES Part 1: Kernel Density Estimation". http://staff.ustc.edu.cn/~zwp/teach/Math-Stat/kernel.pdf.

* Comaniciu, D; Meer, P (2002). "Mean shift: A robust approach toward feature space analysis". IEEE Transactions on Pattern Analysis and Machine Intelligence 24 (5): 603–619. doi:10.1109/34.1000236.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Kernel (statistics). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Kernel_(statistics)&oldid=183326"