<< geomean Central Tendency mean >>

Scilabヘルプ >> Statistics > Central Tendency > harmean

harmean

調和平均

呼び出し手順

hm=harmean(x)
hm=harmean(x,'r')(or, equivalently, hm=harmean(x,1))
hm=harmean(x,'c')(or, equivalently, hm=harmean(x,2))

パラメータ

x

実数または複素数のベクトルまたは行列

説明

この関数は,ベクトルまたは行列xの 調和平均を計算します. あるベクトルまたは行列xについて, hm=harmean(x)はスカラーhmxの全エントリの調和平均を返します.

hm=harmean(x,'r') (または等価な hm=harmean(x,1)) は, 行ベクトルhmの各要素に xの各列の調和平均を返します.

hm=harmean(x,'c') (または等価な hm=harmean(x,2) ) は, 列ベクトルhmの各エントリに xの各行の調和平均を返します.

参考文献

Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.


Report an issue
<< geomean Central Tendency mean >>