<?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: PROC PRINT -- observations limited by percentage of total in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500857#M72639</link>
    <description>&lt;P&gt;Simple and effective!&amp;nbsp; Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 02 Oct 2018 17:22:23 GMT</pubDate>
    <dc:creator>Wolverine</dc:creator>
    <dc:date>2018-10-02T17:22:23Z</dc:date>
    <item>
      <title>PROC PRINT -- observations limited by percentage of total</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500811#M72632</link>
      <description>&lt;P&gt;I'm running frequencies of variables that have thousands of different values.&amp;nbsp; But I'm only interested in the most frequently-occurring.&amp;nbsp; How can I limit the output to codes that make up, say, 1% or more of the total?&amp;nbsp; That is, in the frequency output table, the "Percent" column should be 1.00 or greater.&amp;nbsp; I'm currently using the following syntax to limit to a specified number of observations, but sometimes that approach leaves out values that I want to look at or include values that occur too infrequently to be bothered with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC FREQ noprint ORDER=FREQ;
	TABLES DX_code /out=medicaid.countout_grp3;
PROC PRINT DATA = medicaid.countout_grp3(obs=100);

RUN;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 15:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500811#M72632</guid>
      <dc:creator>Wolverine</dc:creator>
      <dc:date>2018-10-02T15:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT -- observations limited by percentage of total</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500821#M72634</link>
      <description>&lt;P&gt;You can use variable PERCENT in the output dataset:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=medicaid.countout_grp3;
where percent&amp;gt;=1;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Oct 2018 15:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500821#M72634</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-02T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC PRINT -- observations limited by percentage of total</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500857#M72639</link>
      <description>&lt;P&gt;Simple and effective!&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 17:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-PRINT-observations-limited-by-percentage-of-total/m-p/500857#M72639</guid>
      <dc:creator>Wolverine</dc:creator>
      <dc:date>2018-10-02T17:22:23Z</dc:date>
    </item>
  </channel>
</rss>

