G = (∏xᵢ)^(1/n)
Enter a set of positive numbers to compute the geometric mean as the n-th root of their product, suited to growth rates and ratio-type data.
📐 計算公式
幾何平均:G = exp(Σln xᵢ ÷ n)(對數空間實現,防連乘溢位),所有項必須為正,非正值或非數值立即報錯,不參與計算;對照算術平均 A = Σx ÷ n 與調和平均 H = n ÷ Σ(1/x),並按對數式 G = exp(Σln x ÷ n) 複核、給出 AM−GM 差與逐值 ln(x)、x/G 倍數表。校驗:資料非空守衛;主算、圖表、明細與判讀共用嚴格逐項解析,支援英文/中文逗號、空格、換行、分號與頓號,非數值項按位置報錯,不再只按半形逗號分割。深讀卡遇任一值 ≤0 判「幾何平均無定義」。判據:n<1 無資料,正數列恆有 H ≤ G ≤ A。
乘積的 n 次根,適合比率資料。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Geometric mean | G = (prod x_i)^(1/n) = exp( (1/n) · sum ln x_i ) | ISO 3534-1:2006, Statistics - Vocabulary and symbols |
| Applicability | Defined only for strictly positive data; suited to ratios and growth rates | ISO 3534-1:2006, Statistics - Vocabulary and symbols |
| Mean inequality | H <= G <= A (AM-GM-HM inequality) | Hardy GH, Littlewood JE, Polya G, Inequalities (1934), Cambridge Univ. Press |
| Compound growth rate | CAGR = (V_end / V_begin)^(1/n) - 1 | CFA Institute, Global Investment Performance Standards (GIPS) |
📌 計算說明
- G = (∏xᵢ)^(1/n)。
- 適合增長率平均。