统计学中的quartile

quartile是quantile的一种。quartile 将有序数据集分四部分,每一部分包含数据集的四分之一数据。Q2是第二个分隔点,取数据集的中间的数值;Q1是第一个分隔点,取最小数值到整个数据序列的中间数值之间的中间值,Q3是第三个分隔点,取最大数值到整个数据序列的中间数值之间的中间值。

三种取法:

示例数据:
有序数列,共奇数个:6, 7, 15, 36, 39, 40, 41, 42, 43, 47, 49

1.

1234567891011
67153639<- 40 ->4142434749
1234567891011
67153639<- 40 ->4142434749

2.

123456789101112
6715363940 <--> 404142434749
123456789101112
6715363940 <-->404142434749

Q1=(15+36)/2=25.5
Q3=(42+43)/2=42.5

3.
共 4n+3 个数据,其中 n=2。

1234567891011
67153639404142434749
***********
1234567891011
6715 n+136 n+239404142434749

Q1=15×75%+36×25%=20.25

1234567891011
67153639404142 3n+243 3n+34749

Q3=42×25%+43×75%=42.75

Result:

123
Q11525.520.25
Q2404040
Q34342.542.75

有序数列,共偶数个:7, 15, 36, 39, 40, 41

123
Q1151515
Q237.537.537.5
Q3404040

应用示例:

Standard plotting output includes the means across simulations along with the inter-quartile range of values

Standard plotting output includes the means across simulations along with the inter-quartile range of values

参照:

https://en.wikipedia.org/wiki/Quartile

http://statnet.github.io/tut/BasicICMs.html

http://www.techbookreport.com/tutorials/quantiles.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值