<?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: WARNING: (frequency sum=7345) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307583#M65908</link>
    <description>&lt;P&gt;Use proc freq to get frequency counts?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2016 08:08:33 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-10-27T08:08:33Z</dc:date>
    <item>
      <title>WARNING: (frequency sum=7345)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307542#M65890</link>
      <description>&lt;P&gt;Hi, I am having this warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasWarning"&gt;WARNING: A total of 1327 of the 8672 observations in the DATA= data set were excluded (frequency sum = 7345).&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;I just would like to manage the&amp;nbsp;frequency sum = 7345. Have that data in a variable.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;What I really want to do is if frecuency sum &amp;lt; 1000 (Example) then, ignore this&amp;nbsp;&amp;nbsp;data.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;Any sugestions?&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Oct 2016 02:15:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307542#M65890</guid>
      <dc:creator>mariange8282</dc:creator>
      <dc:date>2016-10-27T02:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: (frequency sum=7345)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307575#M65906</link>
      <description>&lt;P&gt;Which procedure gave you that warning? Please supply the code.&lt;/P&gt;
&lt;P&gt;And is there something to identify the 1327 observations (missing values etc)?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 07:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307575#M65906</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-27T07:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: (frequency sum=7345)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307583#M65908</link>
      <description>&lt;P&gt;Use proc freq to get frequency counts?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 08:08:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307583#M65908</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-27T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING: (frequency sum=7345)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307616#M65915</link>
      <description>&lt;P&gt;Usually a message like this means that there are observations with missing values that were dropped from the analysis. &amp;nbsp;If you are using a FREQ statement, the WARNING tells you the sum of the frequencies for the observations that are dropped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way to handle this is to pre-process the data to exclude observations that will be dropped. This is called restricting the data to "complete cases" or "listwise deletion." For ways to do this, see the artlcle "Complete cases: How to perform listwise deletion in SAS."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you have filtered out the missing values, you can use PROC MEANS&amp;nbsp;to count the remaining frequency count to decide if there is sufficient data left:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=CompleteCases sum;
var freq;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 12:41:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/WARNING-frequency-sum-7345/m-p/307616#M65915</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-27T12:41:49Z</dc:date>
    </item>
  </channel>
</rss>

