|
|
Line 1: |
Line 1: |
| 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 [[mathematical analysis|analysis]], and are closely related to the concept of a [[measure (mathematics)|measure]]. Weight functions can be employed in both discrete and continuous settings. They can be used to construct systems of calculus called "weighted calculus"<ref>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.</ref> and "meta-calculus".<ref>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.</ref>
| | Nothing to write about me I think.<br>Hurrey Im here and a part of this community.<br>I really wish Im useful at all<br><br>Feel free to surf to my web site - [http://hemorrhoidtreatmentfix.com/thrombosed-hemorrhoid-treatment thrombosed hemorrhoids treatment] |
| | |
| == Discrete weights ==
| |
| === General definition ===
| |
| In the discrete setting, a weight function <math>\scriptstyle w\colon A \to {\Bbb R}^+</math> is a positive function defined on a [[discrete mathematics|discrete]] [[Set (mathematics)|set]] '''<math>A</math>''', which is typically
| |
| [[finite set|finite]] or [[countable]]. The weight function <math>w(a) := 1</math> corresponds to the ''unweighted'' situation in which all elements have equal weight. One can then apply this weight to various concepts.
| |
| | |
| If the function <math>\scriptstyle f\colon A \to {\Bbb R}</math> is a [[real number|real]]-valued [[mathematical function|function]], then the ''unweighted [[sum]] of <math>f</math> on '''<math>A</math>''''' is defined as
| |
| | |
| :<math>\sum_{a \in A} f(a);</math>
| |
| | |
| but given a ''weight function'' <math>\scriptstyle w\colon A \to {\Bbb R}^+</math>, the '''weighted sum''' or [[conical combination]] is defined as
| |
| | |
| :<math>\sum_{a \in A} f(a) w(a).</math>
| |
| | |
| One common application of weighted sums arises in [[numerical integration]].
| |
| | |
| If ''B'' is a [[finite set|finite]] subset of ''A'', one can replace the unweighted [[cardinality]] ''|B|'' of ''B'' by the ''weighted cardinality''
| |
| | |
| :<math>\sum_{a \in B} w(a).</math>
| |
| | |
| If ''A'' is a [[finite set|finite]] non-empty set, one can replace the unweighted [[mean]] or [[average]]
| |
| | |
| :<math>\frac{1}{|A|} \sum_{a \in A} f(a)</math>
| |
| | |
| by the [[weighted mean]] or [[weighted average]]
| |
| | |
| :<math> \frac{\sum_{a \in A} f(a) w(a)}{\sum_{a \in A} w(a)}.</math>
| |
| | |
| 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 <math>f</math> measured multiple independent times <math>f_i</math> with [[variance]] <math>\scriptstyle\sigma^2_i</math>, the best estimate of the signal is obtained
| |
| by averaging all the measurements with weight <math>\scriptstyle w_i=\frac 1 {\sigma_i^2}</math>, and
| |
| the resulting variance is smaller than each of the independent measurements
| |
| <math>\scriptstyle\sigma^2=1/\sum w_i</math>. The [[Maximum likelihood]] method weights the difference between fit and data using the same weights <math>w_i</math>.
| |
| | |
| === Mechanics ===
| |
| The terminology ''weight function'' arises from [[mechanics]]: if one has a collection of ''<math>n</math>'' objects on a [[lever]], with weights <math>\scriptstyle w_1, \dotsc, w_n</math> (where [[weight]] is now interpreted in the physical sense) and locations :<math>\scriptstyle\boldsymbol{x}_1,\dotsc,\boldsymbol{x}_n</math>, then the lever will be in balance if the [[Lever|fulcrum]] of the lever is at the [[center of mass]]
| |
| | |
| :<math>\frac{\sum_{i=1}^n w_i \boldsymbol{x}_i}{\sum_{i=1}^n w_i},</math>
| |
| | |
| which is also the weighted average of the positions <math>\scriptstyle\boldsymbol{x}_i</math>.
| |
| | |
| == Continuous weights ==
| |
| In the continuous setting, a weight is a positive [[measure (mathematics)|measure]] such as ''<math>w(x) dx</math>'' on some [[domain (mathematics)|domain]] '''<math>\Omega</math>''',which is typically a [[subset]] of a [[Euclidean space]] <math>\scriptstyle{\Bbb R}^n</math>, for instance '''<math>\Omega</math>''' could be an [[Interval (mathematics)|interval]] <math>[a,b]</math>. Here ''<math>dx</math>'' is [[Lebesgue measure]] and <math>\scriptstyle w\colon \Omega \to \R^+</math> is a non-negative [[measurable]] [[mathematical function|function]]. In this context, the weight function ''<math>w(x)</math>'' is sometimes referred to as a [[density]].
| |
| | |
| === General definition ===
| |
| If <math>f\colon \Omega \to {\Bbb R}</math> is a [[real number|real]]-valued [[mathematical function|function]], then the ''unweighted'' [[integral]]
| |
| | |
| :<math>\int_\Omega f(x)\ dx</math> | |
| | |
| can be generalized to the ''weighted integral''
| |
| | |
| :<math>\int_\Omega f(x) w(x)\, dx</math>
| |
| | |
| Note that one may need to require ''<math>f</math>'' to be [[absolutely integrable]] with respect to the weight ''<math>w(x) dx</math>'' in order for this integral to be finite.
| |
| | |
| === Weighted volume ===
| |
| If ''E'' is a subset of <math>\Omega</math>, then the [[volume]] vol(''E'') of ''E'' can be generalized to the ''weighted volume''
| |
| :<math> \int_E w(x)\ dx,</math>
| |
| | |
| === Weighted average ===
| |
| If <math>\Omega</math> has finite non-zero weighted volume, then we can replace the unweighted [[average]]
| |
| | |
| :<math>\frac{1}{\mathrm{vol}(\Omega)} \int_\Omega f(x)\ dx</math>
| |
| | |
| by the '''weighted average'''
| |
| | |
| :<math> \frac{\int_\Omega f(x)\ w(x) dx}{\int_\Omega w(x)\ dx}</math>
| |
| | |
| === Inner product ===
| |
| If <math>\scriptstyle f\colon \Omega \to {\Bbb R}</math> and <math>\scriptstyle g\colon \Omega \to {\Bbb R}</math> are two functions, one can generalize the unweighted [[inner product]]
| |
| | |
| :<math>\langle f, g \rangle := \int_\Omega f(x) g(x)\ dx</math>
| |
| | |
| to a weighted inner product
| |
| | |
| :<math>\langle f, g \rangle := \int_\Omega f(x) g(x)\ w(x)\ dx.</math>
| |
| | |
| See the entry on [[Orthogonality]] for more details.
| |
| | |
| == See also ==
| |
| * [[Center of mass]]
| |
| * [[Numerical integration]]
| |
| * [[Orthogonality]]
| |
| * [[Weighted mean]]
| |
| * [[Kernel (statistics)]]
| |
| | |
| ==References==
| |
| {{Reflist}}
| |
| | |
| {{DEFAULTSORT:Weight Function}}
| |
| [[Category:Mathematical analysis]]
| |
| [[Category:Measure theory]]
| |
| [[Category:Combinatorial optimization]]
| |
| [[Category:Functional analysis]]
| |
| [[Category:Types of functions]]
| |
Nothing to write about me I think.
Hurrey Im here and a part of this community.
I really wish Im useful at all
Feel free to surf to my web site - thrombosed hemorrhoids treatment