全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 Excel
4805 5
2005-11-05


本人在做数据中,发现了一个特殊的情况.在excel中 用=QUARTILE(B13:B16,1)的函数求上四分位数,得出的结果和用spss中的analyzs 中的descriptive atatistics>>frequencies>>>quartiles中得到的结果不同.

请问这两中方法谁更精确.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2005-11-5 15:58:00
计算方法有很多种,而不是两种。

没有绝对的标准是哪个更加好。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2005-11-5 16:06:00

那楼上的更倾向于用那种?

请教:

还有那些方法??

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2005-11-5 23:02:00
以下是引用awing在2005-11-5 15:58:07的发言: 计算方法有很多种,而不是两种。 没有绝对的标准是哪个更加好。

四分位点的计算方法有很多种吗?

请高人指点

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2005-11-6 00:48:00
在R中?quantile可以看到至少有9种
*Discontinuous sample quantile types 1, 2, and 3*

     Type 1 Inverse of empirical distribution function.

     Type 2 Similar to type 1 but with averaging at discontinuities.

     Type 3 SAS definition: nearest even order statistic.

     *Continuous sample quantile types 4 through 9*

     Type 4 p(k) = k / n. That is, linear interpolation of the
          empirical cdf.


     Type 5 p(k) = (k - 0.5) / n. That is a piecewise linear function
          where the knots are the values midway through the steps of
          the empirical cdf. This is popular amongst hydrologists.


     Type 6 p(k) = k / (n + 1). Thus p(k) = E[F(x[k])]. This is used by
          Minitab and by SPSS.


     Type 7 p(k) = (k - 1) / (n - 1). In this case, p(k) =
          mode[F(x[k])]. This is used by S.


     Type 8 p(k) = (k - 1/3) / (n + 1/3). Then p(k) =~ median[F(x[k])].
          The resulting quantile estimates are approximately
          median-unbiased regardless of the distribution of 'x'.


     Type 9 p(k) = (k - 3/8) / (n + 1/4). The resulting quantile
          estimates are approximately unbiased if 'x' is normally
          distributed.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2014-12-11 21:44:26
[titter][titter]
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群