幾何学的平均
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に関して,
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.