当前位置:网站首页>箱型图介绍
箱型图介绍
2022-07-27 10:59:00 【想搞钱的小陈】
箱型图的特点
- 直观明了地识别数据批中的异常值
- 利用箱线图判断数据批的偏态和尾重
不受异常值的影响,可以以相对稳定的方式描述数据的离散分布。

(图片来源自知乎)。
解释
分位数:
把数值从低到高排序,取到1/4的位置,称之为下四分位数(Q1);取到1/2的位置,称之为中位数(Q2);取到3/4的位置称之为上四分位数(Q3);
import pandas as pd
num = [1,2,3,4,5,6,7,8]
print(pd.DataFrame(num).describe())
图中上面的红色箭头为Q1的值,下面为Q3;
而四分位距IQR=Q3-Q1
上限=(Q3+1.5IQR,max)取最小,下限=(Q1-1.5IQR ,min)取最大。
边栏推荐
- SQL statement learning and the use of pymysql
- Codeforces round #664C
- 高斯消元 AcWing 883. 高斯消元解线性方程组
- Moveit2 - 1. Start
- Luogu p3052 [usaco12mar]cows in a skyscraper G
- 多家银行调整现金管理类理财产品申赎规则:申赎确认时效“T+0”变“T+1”
- 博弈论 AcWing 894. 拆分-Nim游戏
- 【着色器实现Shake随机摇动效果_Shader效果第十篇】
- 数字三角形模型 AcWing 1015. 摘花生
- Knapsack problem acwing 9. grouping knapsack problem
猜你喜欢

Knapsack model acwing 1024. Packing problem

为什么TCP三次握手的时候ACK=Seq+1

第13章 IO流

Moveit2 -- 2. Quick start of moveit in rviz

第8章 多线程

Knapsack model acwing 423. Picking herbs

WGet warning: unable to verify

Longest ascending subsequence model acwing 482. Chorus formation

Remember an experience of using canvas to make the banner streamer effect of Tencent cloud homepage
![[shader realizes shake random shaking effect _shader effect Chapter 10]](/img/49/99669ebc3ba59a0277bb8bc928f576.png)
[shader realizes shake random shaking effect _shader effect Chapter 10]
随机推荐
Find the combination number acwing 888. find the combination number IV
Knapsack problem acwing 9. grouping knapsack problem
求组合数 AcWing 885. 求组合数 I
Find the combinatorial number acwing 889. 01 sequence satisfying the condition
记忆化搜索 AcWing 901. 滑雪
Modelarts voice detection and text classification
Installation and use of GTEST and gmock
C programming language (2nd Edition) -- Reading Notes -- 1.3
First experience of three.js: simulating the growth of a small branch
栈 AcWing 3302. 表达式求值
容斥原理 AcWing 890. 能被整除的数
Error while unzipping file in win10: unable to create symbolic link. You may need to run WinRAR with administrator privileges. The client does not have the required privileges
C programming language (2nd Edition) -- Reading Notes -- 1.5.4
局域网SDN技术硬核内幕 13 从局域网到互联网
[shader realizes shake random shaking effect _shader effect Chapter 10]
(10) File contains
VSCode复制代码时去掉样式/语法高亮/代码高亮/黑色背景
Longest ascending subsequence model acwing 1014. mountaineering
C programming language (2nd Edition) -- Reading Notes -- 1.5
(7) Process control