<< Central Tendency Central Tendency harmean >>

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

geomean

幾何学的平均

呼び出し手順

gm=geomean(x)
gm=geomean(x,'r')(or, equivalently, gm=geomean(x,1))
gm=geomean(x,'c')(or, equivalently, gm=geomean(x,2))

パラメータ

x

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

説明

この関数は,ベクトルまたは行列xの幾何学的平均 を計算します. ベクトルまたは行列xに関して, gm=geomean(x)は, xの全てのエントリの幾何学的平均を スカラーgmに返します.

gm=geomean(x,'r') (または等価な gm=gmean(x,1) ) は, 行ベクトルgmの各エントリに,xの 各列の幾何学的平均を返します.

gm=geomean(x,'c') (または等価な gm=gmean(x,2) ) は, 列ベクトルgmの各エントリに,xの 各行の幾何学的平均を返します.

参考文献

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


Report an issue
<< Central Tendency Central Tendency harmean >>