开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

梦梦 · 2024年05月22日

{n(n-1)}/2

NO.PZ2020011101000042

问题如下:

Find Kendall’s Tau for the following data:

解释:

The first step is to rank the data:

The next step is to see which pairs are concordant, which are discordant, and which are neither.

Which leads to the pair-by-pair comparison:

For the first observation, because both the rank of X & Y are the maximum, every other observation will automatically be concordant with respect to this one. By contrast, looking at the second and third observations, the X rank increases while the Y rank decreases. Therefore, this pair is discordant.

τ^=ncndn(n1)/2=(55)/10=0\widehat\tau=\frac{n_c-n_d}{n(n-1)/2}=(5-5)/10=0

老师好,一共10对,其中5对c,5对u,那这里的n为什么不是10?而是5?

1 个答案

pzqa39 · 2024年05月23日

嗨,从没放弃的小努力你好:


n(n−1)/2 = NC+ND+NT

本题中NT=0 NC+ND= 10 =n(n−1)/2


n(n−1)/2 = NC+ND+NT 可以看基础班视频 section9 老师有详细讲解


----------------------------------------------
就算太阳没有迎着我们而来,我们正在朝着它而去,加油!

梦梦 · 2024年05月23日

明白了