codecamp

Statistics - Geometric Mean of Individual Series

当数据基于个体给出时。 以下是单个系列的示例:

项目 5 10 20 30 40 50 60 70

在单个项目的情况下,几何平均值使用以下公式计算。

$G.M. = Antilog\ of\ \frac{\sum logx}{n} \\[7pt] \, = Antilog\ of\ \frac{logx_1+logx_2+...+logx_n}{n}$

其中 -

  • $ {G.M。} $ =几何平均值

  • $ {x_1,x_2,x_3,...,x_n} $ =变量x的不同值。

  • $ {n} $ =变量数

例子

问题陈述:

计算以下各个数据的几何平均值:

项目 14 36 45 70 105

解决方案:

基于给定的数据,我们有:

$ {x} $ $ {logx} $
14 1.1461
36 1.5563
45 1.6532
70 1.8450
105 2.0211
8.2217

基于上述公式,几何平均$ G.M. $将是:

$G.M. = Antilog\ of\ \frac{\sum logx}{n} \\[7pt] \, = Antilog\ of\ \frac{8.2217}{5} \\[7pt] \, = Antilog\ of\ 1.6443 \\[7pt] \, = 44.09$

给定数字的几何平均值为44.09。


Statistics - Standard Deviation of Discrete Data Series
Statistics - Geometric Mean of Discrete Series
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

Statistics Tutorial

Statistics Useful Resources

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }