コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

利用者:H335/重み関数

重み関数総和積分したり、平均などの演算をするときに、いくつかの要素または全ての要素に「重み」をつけるための方法である(具体的な方法は本文で述べる)。しばしば統計分析測定を行う際に用いられる。重み関数は、離散的な場合と連続な場合があってよい。単に重みと表現することがある。離散的な場合とくに、重みと呼ぶことが多い。

離散的な

[編集]

一般的な定義

[編集]

対象が離散的な場合、重み関数は離散的に定義された正の関数になる。 ここで集合は典型的には有限かつ可算である。

重み関数は、全ての要素に対して重みが等しい、すなわち、重みなしに相当する。この重みはさまざまな概念に適用できる。

もし、関数実数関数で与えられるならばにおける重みなしの総和は次のように定義される。

;

しかし、もし重み関数が与えられれば、 重みつき総和は次のように与えられる。

.

よく使われる応用としては、数値積分において重みつきの総和をとる例があげられる。これは、離散空間で相互相関、または畳み込みを計算することと等価である。

もしA有限な空でない集合ならば、重みなし平均は以下のようになる。

加重平均は以下のように与えられる。

統計

[編集]

重みつき平均は統計偏りを補償するためにしばしば用いられる。統計量の複数の独立した測定値 がそれぞれ分散をもっているとき、もっともらしい平均値は 次のような重みを用いて得られ、

,

平均値の分散は、それぞれの測定の分散よりも小さくなる。

最尤法は、フィットとデータの差に同じ重み関数を掛ける。

力学

[編集]

The terminology weight function arises from mechanics: if one has a collection of 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 .

Continuous weights

[編集]

In the continuous setting, a weight is a positive measure such as on some domain ,which is typically a subset of an Euclidean space , for instance could be an interval . Here is Lebesgue measure and is a non-negative measurable function. In this context, the weight function is sometimes referred to as a density.

General definition

[編集]

If is a real-valued function, then the unweighted integral

can be generalized to the weighted integral

Note that one may need to require to be absolutely integrable with respect to the weight in order for this integral to be finite.

Weighted volume

[編集]

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

.

Weighted average

[編集]

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

by the weighted average

Inner product

[編集]

If and are two functions, one can generalize the unweighted inner product

to a weighted inner product

See the entry on Orthogonality for more details.


関連項目

[編集]