codecamp

Statistics - Arithmetic Mean of Individual Data Series

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

项目 5 10 20 30 40 50 60 70

对于单个系列,可以使用以下公式计算算术平均值。

$\bar{x} = \sum_{i=1}^{n} X_{i}$

或者,我们可以写如下公式:

$\bar{x} = \frac{_{\sum {x}}}{N}$

其中 -

  • $ X_ {1},X_ {2},X_ {3},... X_ {n} $ =个体观察变量。

  • $ \\ sum {x} $ =变量的所有观察值的和

  • $ {N} $ =观察次数

例子

问题陈述:

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

项目 14 36 45 70 105

解决方案:

基于上述公式,算术平均$ \\ bar {x} $将是:

$\bar{x} = \frac{14 + 36 + 45 + 70 + 105}{5} \\[7pt] \, = \frac{270}{5} \\[7pt] \, = {54}$

给定数字的算术平均值为54。


讨论统计
Statistics - Arithmetic Mean of Discrete Data 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; }