<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to analyze rater's rank data and generate Kendall's coefficient of concordance? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918901#M45621</link>
    <description>&lt;P&gt;As always with questions of statistic availability, check the link to the list of Frequently Asked-for Statistics (FASTats) at the top of the Statistical Procedures Community page. You will find Kendall's coefficient of concordance there pointing to a macro that can be used to compute it.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2024 21:31:50 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2024-03-04T21:31:50Z</dc:date>
    <item>
      <title>How to analyze rater's rank data and generate Kendall's coefficient of concordance?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918897#M45620</link>
      <description>&lt;P&gt;Hi, I have a data like below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;person      i1 i2 i3 i4
    1       1  2  3  4
    2       3  2  4  1
    3       2  1  3  4
    4       4  1  2  3&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Each person needs to rank the four things (i1, i2, i3, i4), for example, if the person thinks i4 is the best, then put 1 for i4; if the person thinks i3 is the second best, the put 2 for i3;&amp;nbsp; if the person think i1 is the third best, the put 3 for i1; if the person think i2 is the worst, then put 4 for i2. So the rank of four things (i1-i4) for this person is 3 4 2 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to compute Kendall's W for the data like this, do you know the code for SAS? I checked online, PROC FREQ and PROC CORR can be used, but the data seems different from mine. Does anyone know how to do it? Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 20:56:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918897#M45620</guid>
      <dc:creator>SAS-questioner</dc:creator>
      <dc:date>2024-03-04T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyze rater's rank data and generate Kendall's coefficient of concordance?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918901#M45621</link>
      <description>&lt;P&gt;As always with questions of statistic availability, check the link to the list of Frequently Asked-for Statistics (FASTats) at the top of the Statistical Procedures Community page. You will find Kendall's coefficient of concordance there pointing to a macro that can be used to compute it.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 21:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918901#M45621</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2024-03-04T21:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyze rater's rank data and generate Kendall's coefficient of concordance?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918906#M45623</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/376504"&gt;@SAS-questioner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code you can use once you have compiled the &lt;A href="https://support.sas.com/kb/25/addl/fusion_25006_13_magree.sas.txt" target="_blank" rel="noopener"&gt;%MAGREE macro&lt;/A&gt; recommended by&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633" target="_blank" rel="noopener"&gt;StatDave&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input person i1 i2 i3 i4;
cards;
1 1 2 3 4
2 3 2 4 1
3 2 1 3 4
4 4 1 2 3
;

proc transpose data=have name=item out=want(rename=(col1=rank));
by person;
var i1-i4;
run;

%magree(data=want,
        items=item, raters=person, response=rank,
        stat=kendall, options=wcl)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Main part of the output:&lt;/P&gt;
&lt;PRE&gt;Kendall's Coefficient of Concordance for ordinal response

Coefficient                                                    Lower         Upper
     of                 Num    Den              Standard    Confidence    Confidence
Concordance      F       DF     DF    Prob&amp;gt;F      Error        Limit         Limit

    0.3        1.286    2.5    7.5    0.3406     0.34233         0          0.97095&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Mar 2024 22:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918906#M45623</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-03-04T22:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyze rater's rank data and generate Kendall's coefficient of concordance?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918920#M45624</link>
      <description>&lt;P&gt;Check&amp;nbsp; &amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; &amp;nbsp;blogs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2023/10/02/kendalls-tau-sas.html" target="_blank"&gt;On computing Kendall's tau statistic in SAS - The DO Loop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2023/04/05/interpret-spearman-kendall-corr.html" target="_blank"&gt;Weak or strong? How to interpret a Spearman or Kendall correlation - The DO Loop (sas.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input person i1 i2 i3 i4;
cards;
1 1 2 3 4
2 3 2 4 1
3 2 1 3 4
4 4 1 2 3
;

proc transpose data=have name=item out=temp(rename=(col1=rank));
by person;
var i1-i4;
run;
proc freq data=temp noprint;
table item*rank/out=want sparse;
run;




proc freq data=want;
   weight count;
   tables item*rank / measures CL norow nocol nopercent;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1709607778587.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94387iD55424F7DBBB0716/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1709607778587.png" alt="Ksharp_0-1709607778587.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 03:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918920#M45624</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-05T03:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to analyze rater's rank data and generate Kendall's coefficient of concordance?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918924#M45625</link>
      <description>&lt;P&gt;As Freelance said, If you are looking for Kendall's W. Check %magree macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1709622525454.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94388iD7AA1B01A9DD7718/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1709622525454.png" alt="Ksharp_0-1709622525454.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 07:08:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-analyze-rater-s-rank-data-and-generate-Kendall-s/m-p/918924#M45625</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-03-05T07:08:51Z</dc:date>
    </item>
  </channel>
</rss>

