Weight function
From Exampleproblems
|
A weight function is a mathematical device used when performing a sum, integral, or average in order to give some elements more of a "weight" than others. They occur frequently in statistics and analysis, and are closely related to the concept of a measure. Weight functions can be constructed in both discrete and continuous settings. Discrete weightsIn the discrete setting, a weight
function If is a real-valued function, then the unweighted sum of f on A is
but for a weight function
the weighted sum is
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 If A is a finite non-empty set, one can replace the unweighted mean or average by the weighted mean or weighted average
In this case only the relative weights are relevant. Weighted means are commonly used in statistics to compensate for the presence of bias. The terminology weight function arises from mechanics: if one has a collection of n objects on a lever, with weights (where weight is now interpreted in the physical sense) and locations
then the lever will be in balance if the fulcrum of the lever is at the center of mass
which is also the weighted average of the positions xi. Continuous weightsIn the continuous setting, a weight is a positive measure such as w(x) dx on some domain Ω,
which is typically a subset of an Euclidean space
|
|
is a positive function defined on a
;
.
.
,
,
, for instance
is a non-negative
is a
can be generalized to the weighted integral
. Note that one may need to require f to be
.
by the weighted average
are two functions, one can generalize the unweighted
to a weighted inner product
. See the entry on 