Weight function

From Wikipedia, the free encyclopedia

A weight function is a mathematical device used when performing a sum, integral, or average to give some elements more "weight" or influence on the result than other elements in the same set. They occur frequently in statistics and analysis, and are closely related to the concept of a measure. Weight functions can be employed in both discrete and continuous settings. They can be used to construct systems of calculus called "weighted calculus"[1] and "meta-calculus".[2]

Discrete weights

General definition

In the discrete setting, a weight function \scriptstyle w\colon A\to {{\mathbb  R}}^{+} is a positive function defined on a discrete set A, which is typically finite or countable. The weight function w(a):=1 corresponds to the unweighted situation in which all elements have equal weight. One can then apply this weight to various concepts.

If the function \scriptstyle f\colon A\to {{\mathbb  R}} is a real-valued function, then the unweighted sum of f on A is defined as

\sum _{{a\in A}}f(a);

but given a weight function \scriptstyle w\colon A\to {{\mathbb  R}}^{+}, the weighted sum or conical combination is defined as

\sum _{{a\in A}}f(a)w(a).

One common application of weighted sums arises in numerical integration.

If B is a finite subset of A, one can replace the unweighted cardinality |B| of B by the weighted cardinality

\sum _{{a\in B}}w(a).

If A is a finite non-empty set, one can replace the unweighted mean or average

{\frac  {1}{|A|}}\sum _{{a\in A}}f(a)

by the weighted mean or weighted average

{\frac  {\sum _{{a\in A}}f(a)w(a)}{\sum _{{a\in A}}w(a)}}.

In this case only the relative weights are relevant.

Statistics

Weighted means are commonly used in statistics to compensate for the presence of bias. For a quantity f measured multiple independent times f_{i} with variance \scriptstyle \sigma _{i}^{2}, the best estimate of the signal is obtained by averaging all the measurements with weight \scriptstyle w_{i}={\frac  1{\sigma _{i}^{2}}}, and the resulting variance is smaller than each of the independent measurements \scriptstyle \sigma ^{2}=1/\sum w_{i}. The Maximum likelihood method weights the difference between fit and data using the same weights w_{i}.

Mechanics

The terminology weight function arises from mechanics: if one has a collection of n objects on a lever, with weights \scriptstyle w_{1},\dotsc ,w_{n} (where weight is now interpreted in the physical sense) and locations :\scriptstyle {\boldsymbol  {x}}_{1},\dotsc ,{\boldsymbol  {x}}_{n}, then the lever will be in balance if the fulcrum of the lever is at the center of mass

{\frac  {\sum _{{i=1}}^{n}w_{i}{\boldsymbol  {x}}_{i}}{\sum _{{i=1}}^{n}w_{i}}},

which is also the weighted average of the positions \scriptstyle {\boldsymbol  {x}}_{i}.

Continuous weights

In the continuous setting, a weight is a positive measure such as w(x)dx on some domain \Omega ,which is typically a subset of a Euclidean space \scriptstyle {{\mathbb  R}}^{n}, for instance \Omega could be an interval [a,b]. Here dx is Lebesgue measure and \scriptstyle w\colon \Omega \to \mathbb{R} ^{+} is a non-negative measurable function. In this context, the weight function w(x) is sometimes referred to as a density.

General definition

If f\colon \Omega \to {{\mathbb  R}} is a real-valued function, then the unweighted integral

\int _{\Omega }f(x)\ dx

can be generalized to the weighted integral

\int _{\Omega }f(x)w(x)\,dx

Note that one may need to require f to be absolutely integrable with respect to the weight w(x)dx in order for this integral to be finite.

Weighted volume

If E is a subset of \Omega , then the volume vol(E) of E can be generalized to the weighted volume

\int _{E}w(x)\ dx,

Weighted average

If \Omega has finite non-zero weighted volume, then we can replace the unweighted average

{\frac  {1}{{\mathrm  {vol}}(\Omega )}}\int _{\Omega }f(x)\ dx

by the weighted average

{\frac  {\int _{\Omega }f(x)\ w(x)dx}{\int _{\Omega }w(x)\ dx}}

Inner product

If \scriptstyle f\colon \Omega \to {{\mathbb  R}} and \scriptstyle g\colon \Omega \to {{\mathbb  R}} are two functions, one can generalize the unweighted inner product

\langle f,g\rangle :=\int _{\Omega }f(x)g(x)\ dx

to a weighted inner product

\langle f,g\rangle :=\int _{\Omega }f(x)g(x)\ w(x)\ dx.

See the entry on Orthogonality for more details.

See also

References

  1. Jane Grossman, Michael Grossman, Robert Katz. [http://books.google.com/books?as_brr=0&q=%22The+First+Systems+of+Weighted+Differential+and+Integral+Calculus%E2%80%8E%22&btnG=Search+Books,The First Systems of Weighted Differential and Integral Calculus], ISBN 0-9771170-1-4, 1980.
  2. Jane Grossman.[http://books.google.com/books?q=%22Non-Newtonian+Calculus%22&btnG=Search+Books&as_brr=0, Meta-Calculus: Differential and Integral], ISBN 0-9771170-2-2, 1981.
This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.