<?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: Uneven rank groups in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Uneven-rank-groups/m-p/667009#M199674</link>
    <description>proc rank groups = 10&lt;BR /&gt;                                                                NEW_GROUP&lt;BR /&gt;- rank 0 -&amp;gt; 0 to 10% of observations        if rank=0 then new_group=1;&lt;BR /&gt;- rank 1 -&amp;gt; 10% to 20% of observations      else if rank=1 then new_group=2;&lt;BR /&gt;- rank &amp;gt; 2 -&amp;gt; the rest up to 100%                     else new_group=3 ;</description>
    <pubDate>Sun, 05 Jul 2020 12:25:34 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-07-05T12:25:34Z</dc:date>
    <item>
      <title>Uneven rank groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Uneven-rank-groups/m-p/667007#M199672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to rank a dataset's variable using 3 groups, but I want the groups to be distributed as following:&lt;/P&gt;&lt;P&gt;- rank 0 -&amp;gt; 0 to 10% of observations&lt;/P&gt;&lt;P&gt;- rank 1 -&amp;gt; 10% to 20% of observations&lt;/P&gt;&lt;P&gt;- rank 2 -&amp;gt; the rest up to 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that by default "proc rank groups = 3" would split the dataset into 3 equal groups. Could anyone point me into the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jul 2020 11:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Uneven-rank-groups/m-p/667007#M199672</guid>
      <dc:creator>littlewho</dc:creator>
      <dc:date>2020-07-05T11:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Uneven rank groups</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Uneven-rank-groups/m-p/667009#M199674</link>
      <description>proc rank groups = 10&lt;BR /&gt;                                                                NEW_GROUP&lt;BR /&gt;- rank 0 -&amp;gt; 0 to 10% of observations        if rank=0 then new_group=1;&lt;BR /&gt;- rank 1 -&amp;gt; 10% to 20% of observations      else if rank=1 then new_group=2;&lt;BR /&gt;- rank &amp;gt; 2 -&amp;gt; the rest up to 100%                     else new_group=3 ;</description>
      <pubDate>Sun, 05 Jul 2020 12:25:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Uneven-rank-groups/m-p/667009#M199674</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-07-05T12:25:34Z</dc:date>
    </item>
  </channel>
</rss>

