From what I've seen in workbooks over the years, SUM is the most frequently used Excel function, and AVERAGE is the runner-up. Would you agree, or do you see other functions used more often than those two?

根据我多年来在工作簿中看到的内容,SUM是最常用的Excel函数,而AVERAGE是第二名。 您是否同意,或者您看到其他功能比这两个功能使用得更多?

排除异常值 (Exclude the Outliers)

Last week, a client asked about excluding some of the highest and lowest numbers from a data set, to give a better average. It looked like some of those outliers had been incorrectly entered (an extra zero, or a mistyped numbers), and they were throwing off the results.

上周,一位客户询问要从数据集中排除一些最高和最低的数字,以获得更好的平均值。 看起来其中一些异常值输入错误(一个额外的零或数字输入错误),并且它们排除了结果。

So, we did some tests with the TRIMMEAN function, to compare the results with a simple AVERAGE formula.

因此,我们使用TRIMMEAN函数进行了一些测试,以将结果与简单的AVERAGE公式进行比较。

Do you ever use TRIMMEAN? I'm not a statistician, but it could be useful for giving a slightly different perspective on your data.

您曾经使用TRIMMEAN吗? 我不是统计学家,但对于为您的数据提供稍微不同的观点可能很有用。

排除数据百分比 (Exclude a Percentage of Data)

With the TRIMMEAN function, you can exclude a specific percentage of the data points from the top and bottom of the data set. TRIMMEAN returns the average (mean) of the remaining interior data points.

使用TRIMMEAN功能,可以从数据集的顶部和底部排除特定百分比的数据点。 TRIMMEAN返回其余内部数据点的平均值(均值)。

In the sample data for this demo, there is a list of quantities sold, for stationery orders. There are 20 records, with some outliers at the top and bottom. The data will be trimmed by 25%, to get the trimmed mean.

在此演示的样本数据中,有文具订单的已售数量清单。 有20条记录,顶部和底部有一些离群值。 数据将被修整25%,以获得修整后的平均值。

NOTE: In this example, the quantities are sorted in ascending order, so it is easier to see the top and bottom numbers. Numbers do NOT need to be sorted, for the TRIMMEAN function to calculate correctly.

注意 :在此示例中,数量按升序排序,因此更容易看到顶部和底部的数字。 不需要对数字进行排序,以便TRIMMEAN函数可以正确计算。

Item Qty
Binder 3
Pen 4
Pen 14
Pencil 20
Binder 22
Pencil 30
Pen 36
Binder 41
Pen 44
Binder 52
Pencil 59
Pen 65
Pen 66
Pen 72
Binder 78
Pencil 81
Pen 84
Binder 85
Pencil 86
Binder 97
项目 数量
活页夹 3
钢笔 4
钢笔 14
铅笔 20
活页夹 22
铅笔 30
钢笔 36
活页夹 41
钢笔 44
活页夹 52
铅笔 59
钢笔 65岁
钢笔 66
钢笔 72
活页夹 78
铅笔 81
钢笔 84
活页夹 85
铅笔 86
活页夹 97

TRIMMEAN函数参数 (TRIMMEAN Function Arguments)

The TRIMMEAN function requires 2 arguments: TRIMMEAN(array, percent)

TRIMMEAN函数需要2个参数: TRIMMEAN(array,percent)

In this example,

在这个例子中

  • the values for the array are in cells B2:B21

    数组的值在单元格B2:B21中

  • the trim percent is entered in cell E3, as 25% (or 0.25)

    修剪百分比在E3单元格中输入,为25%(或0.25)

To calculate the trimmed mean, enter this formula in cell E4:

要计算修整后的平均值,请在单元格E4中输入以下公式:

     =TRIMMEAN(B2:B21,E)

The TRIMMEAN result (53.06) is different from the AVERAGE (51.95), which is shown in cell E5.

TRIMMEAN结果(53.06)与单元格E5中显示的平均值(51.95)不同。

TRIMMEAN如何运作 (How TRIMMEAN Works)

In this example, there are 20 values, and the trim percent is 25%.

在此示例中,有20个值,修剪百分比为25%。

To calculate how many number to trim,

要计算要修剪的数字,

  • the values are counted, then multiplied by the trim percentage (e.g. 20 * .25 = 5计算值,然后乘以修整百分比(例如20 * .25 = 5
  • That number is divided by 2, to get the number to trim at each end ( e.g. 5 / 2 = 2.5)将该数字除以2,得到要在每一端修剪的数字(例如5/2 = 2.5)
  • To remove an equal number of data points at each end, the number is rounded down to the nearest integer ( e.g. INT( 2.5) = 2)为了在每一端删除相等数量的数据点,该数字将四舍五入为最接近的整数(例如INT(2.5)= 2)

So, in this example, the top 2 (86,97) and bottom 2 (3,4) data points will not be included in the average that TRIMMEAN calculates.

因此,在此示例中,顶部2(86,97)和底部2(3,4)数据点将不包括在TRIMMEAN计算的平均值中。

To verify the result, use the AVERAGE function with cells B4:B19 – ignoring the top 2 and bottom 2 numbers. This returns 53.06 – the same result as the TRIMMEAN function in cell E4.

要验证结果,请对单元格B4:B19使用AVERAGE函数-忽略前2个和后2个数字。 这将返回53.06 –与单元格E4中的TRIMMEAN函数相同的结果。

观看视频 (Watch the Video)

Watch this video to see how to set up a TRIMMEAN formula, and see how it works.

观看此视频,了解如何设置TRIMMEAN公式,以及其工作原理。

演示地址

下载样本文件 (Download the Sample File)

To follow along with the video, and to see the TRIMMEAN example, you can download the sample file from the Excel Average Functions page on my website. The file is in xlsx format, and does not contain macros.

要观看视频并观看TRIMMEAN示例,可以从我的网站上的Excel Average Functions页面下载示例文件。 该文件为xlsx格式,不包含宏。

翻译自: https://contexturesblog.com/archives/2015/03/05/ignore-outliers-with-excel-trimmean/


http://www.taodudu.cc/news/show-2700777.html

相关文章:

  • 去掉最高分和最低分的平均分trimmean,计算频率最高的那个数即众数mode.sngl,判断数据是否重复
  • matlab 去除最大值,TRIMMEAN 应用(求去掉最大或和最小值后的平均值的方法)
  • trim函数 html,trim函数的使用方法(你会用TRIMMEAN 函数吗?)
  • TRIMMEAN函数实例:评委打分计算最后得分
  • Matlab入门:实现简单的数据剔除
  • React lazyLoad懒加载
  • swift lazy 线程不安全
  • C++ lazy evaluation(延迟计算或惰性求值)介绍
  • v-lazy
  • 线段树(lazy用法)
  • lazysnapping
  • React之lazy与suspense
  • Lazy Load
  • Vue-Lazyload学习文档
  • 使用@Lazy解决循环依赖问题
  • Kotlin | 关于 Lazy ,你应该了解的这些事
  • 【Kotlin】by lazy关键字的实现原理
  • img lazyload chrome
  • 能说一说 Kotlin 中 lateinit 和 lazy 的区别吗?
  • java lazy_Spring注解之@Lazy注解使用解析
  • lazy java_深入理解 Spring @Lazy 注解以及最佳实践
  • java lazy_在Java8中模拟Lazy
  • Lazy evaluation
  • Spring系列——@lazy注解
  • C#冷门系列之Lazy
  • 深入理解React:懒加载(lazy)实现原理
  • ABBYY FineReader 14
  • Java-HelloWorld
  • 通过将OC编译成C++ 一探究竟(边学编写,帮忙点评)
  • 在同一个数据集中同时更新多表..............

使用Excel TRIMMEAN忽略异常值相关推荐

  1. excel求和遇到异常值(#DIV/0!、#N/A等)的两种处理办法

    如果数据中出现过#N/A.#DIV/0!等系列错误时,再求和.平均值.中位值时无法得到结果,这时有两种解决办法,原理就是通过iferror()函数,将异常值替换为空值(""),详见 ...

  2. XLSX.js读取excel文件忽略第一行

    XLSX.utils.sheet_to_json(workbook.Sheets['XXX'], { range: 1 })

  3. 怎样用excel剔除异常数据_excel如何去除异常值?(excel表格数据异常丢失)

    急!!!java用poi导出excel文件,打开导出的文件时报错"文件错误,数据可能丢失" 我遇到过这个问题后调查发现两个原因: 1.你的excel模版本身有问题,可以尝试新建一个 ...

  4. 离群值 excel_如何(以及为什么)在Excel中使用离群值函数

    离群值 excel () An outlier is a value that is significantly higher or lower than most of the values in ...

  5. Excel 不能直接打开文件的解决方法

    双击EXCEL文件,打开后无内容显示,只能通过"打开"来打开指定的文件,修复安装,重装OFFICE均不能修复. 解决方案 要解决此问题,请按照下列步骤操作: 1. 在"工 ...

  6. EXCEL难题一网打尽 无意间看到的 转过来 自己看看

    引用问题 我在excel中想实现这么一个功能,如单元格D12有一个数据是4,现在我想引用A4的数据,但4是由D12提供的,即如何实现A4=A(D12).也就是,在Excel中,A7单元,能否实现把后面 ...

  7. 怎样用excel剔除异常数据_(如何剔除excel表格中重复的数据)excel表格怎么剔除异常数据...

    请问 Excel 如何剔除与平均数偏差较大的数字再求平均数?谢谢. 把问题作为内容(邮件主定要包含"excel",本人以此据辨别非垃圾邮件,以免误删).excel样件(请特别注意: ...

  8. 两万条数据需要做个数据图_第3关:基于Excel对电商母婴数据进行分析

    对于新手,拿到数据往往不知如何下手.那就按图索骥,依照以下五部一步步来 step1:明确问题 目标必须明确,基于当前业务出发.如一千个读者有一千个哈姆雷特一样,数据可以被解读出不同样子,必须集中目标, ...

  9. 不能直接打开excel文件的原因

    今天碰到用户双击EXCEL文件,打开后无内容显示,只能通过"打开"来打开指定的文件,修复安装,重装OFFICE均不能修复,上网找到微软的标准解释kb211494: 症状 在 Mic ...

  10. 解决无法直接打开EXCEL文件的问题

    解决无法直接打开EXCEL文件的问题 版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明 http://xfrog.blogbus.com/logs/24349896.html 症状:能 ...

最新文章

  1. [LeetCode] [C++] 第一轮刷题总结(持续更新~~~)
  2. Python学习笔记.OS学习笔记 OS操作系统(operating system)(二)程序和进程 输出进程号,工作目录最有用!
  3. 解决:No configuration found. Configuring ehcache from ehcache-failsafe.xml 问题
  4. python的or操作符连接多个字符串含义是什么?
  5. 前端小白第一次使用redux存取数据练习
  6. 【PC工具】图片压缩哪家强!tinyPNG图片压缩工具
  7. Codeforces Codeforces Round #319 (Div. 2) A. Multiplication Table 水题
  8. 上帝就在机器里:复杂算法背后隐藏的可怕现实
  9. CreateChildControls 里动态生成的控件 PostBack 之后不能保持状态
  10. [开发手记] 在WinForm应用程序中打开Url
  11. arduino超声波测距接线图详细_Arduino学习笔记A2 - Arduino连接超声波传感器测距
  12. android usb 摄像头 驱动开发,自制USB摄像头硬件的驱动编写_修改UVC
  13. 好久能旅游?新加坡,一座惬意的城市
  14. 基于深度学习的图像识别进展:百度的若干实践
  15. windows 10 git bash 提速方法
  16. 分答项目_知识点:如何获取jquery选择器生成的input元素数组中的每个input元素的值?
  17. CIO40知识星球:致敬Windows1.0—Windows11.0
  18. 【2021/推荐/社交网络】Socially-Aware Self-Supervised Tri-Training for Recommendation
  19. 嵌入式算法:STM32 F4xx 使用DSP实现cubic spline插值算法
  20. 重磅推荐!任正非最新署名文章:星光不问赶路人

热门文章

  1. Time, Delays, and Deferred Work LDD3 学习笔记 + jiffies.h 分析
  2. Method annotated with @Bean is called directly. Use dependency injection instead.
  3. android 炫酷背景,纯css3自动背景变换背景颜色,很炫酷
  4. 解决AndroidStudio中使用.9图片不生效的问题
  5. ila、dbg_hub、jatg时钟关系
  6. 根据string查询是否是当月_发票勾选、查询、认证等25问!简直太全了!打印出来贴在桌子上学习!...
  7. 虚拟机与本机可以互ping,但是Xshell连不上虚拟机 的解决方法
  8. dede分类名称_dede常用标签分类整理
  9. Bluetooth 蓝牙介绍(五):低功耗蓝牙BLE Security
  10. CSDN 「Markdown」编辑器的优点、不足、使用技巧和新增功能|CSDN编辑器测评