<?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 FREQ Table &amp; Quantile in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/FREQ-Table-Quantile/m-p/161274#M299748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want a two-way table with income quantile in the row &amp;amp; X in the column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; income quantile should be in the following ranges:&lt;/P&gt;&lt;P&gt;1st – 20th &lt;/P&gt;&lt;P&gt;21st – 40th&lt;/P&gt;&lt;P&gt;41st – 60th &lt;/P&gt;&lt;P&gt;61st – 80th&lt;/P&gt;&lt;P&gt;81st – 100th&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I group the income into quantiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 07:00:19 GMT</pubDate>
    <dc:creator>apple</dc:creator>
    <dc:date>2014-02-04T07:00:19Z</dc:date>
    <item>
      <title>FREQ Table &amp; Quantile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FREQ-Table-Quantile/m-p/161274#M299748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want a two-way table with income quantile in the row &amp;amp; X in the column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; income quantile should be in the following ranges:&lt;/P&gt;&lt;P&gt;1st – 20th &lt;/P&gt;&lt;P&gt;21st – 40th&lt;/P&gt;&lt;P&gt;41st – 60th &lt;/P&gt;&lt;P&gt;61st – 80th&lt;/P&gt;&lt;P&gt;81st – 100th&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I group the income into quantiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 07:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FREQ-Table-Quantile/m-p/161274#M299748</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2014-02-04T07:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: FREQ Table &amp; Quantile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/FREQ-Table-Quantile/m-p/161275#M299749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The quantiles in this case (5) are quintiles.&lt;/P&gt;&lt;P&gt;Investigate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Proc Ranks groups =&amp;nbsp; 5 data = have&amp;nbsp; out = want /*descending ? */;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Var income ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ranks income_group ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[untested]&lt;/P&gt;&lt;P&gt;This will number your income values in groups labelled 0 - 4 (4 highest, use descending to reverse the numbering).&amp;nbsp; Add 1 to income_group to get labels 1 - 5.&amp;nbsp; Multiply by 20 if you want labels like 20, 40 60, 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 08:49:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/FREQ-Table-Quantile/m-p/161275#M299749</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2014-02-04T08:49:38Z</dc:date>
    </item>
  </channel>
</rss>

