<?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: Printing missing values from proc freq in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907376#M40592</link>
    <description>&lt;P&gt;If you mean that you want to look at other values, such as identifiers or variables used to create the "missing values" then perhaps you are looking for something like:&lt;/P&gt;
&lt;PRE&gt;data help;
   set yourdatasetname;
   where missing( targevariablename);
run;&lt;/PRE&gt;
&lt;P&gt;Of perhaps provide a couple of other variables in proc freq:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc freq data=yourdataset;
   tables thisvar*thatvar*targetvar / list missing;
run;&lt;/PRE&gt;
&lt;P&gt;The above approach is helpful when targetvar in some way depends on the other two variables (or one&amp;nbsp; or three or ...). The List option puts all the values on one line in the output table for easier following and the missing gets the missing values in context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Printing missing" values by themselves is not much interest as it would look like:&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;by default.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Dec 2023 19:35:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-12-11T19:35:37Z</dc:date>
    <item>
      <title>Printing missing values from proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907370#M40589</link>
      <description>&lt;P&gt;I ran a dataset through proc freq and noticed I had missing values when I didn't expect any. Is there a way to output those values or print them so that I can determine what the issue might be?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 19:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907370#M40589</guid>
      <dc:creator>jrleighty</dc:creator>
      <dc:date>2023-12-11T19:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printing missing values from proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907375#M40591</link>
      <description>&lt;P&gt;The TABLES statement has two options.&amp;nbsp; MISSING and MISSPRINT.&lt;/P&gt;
&lt;P&gt;The first treats missing values as valid values, same as any other value.&lt;/P&gt;
&lt;P&gt;The later just displays the missing values but they do not count in the total used for calculating percentages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 19:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907375#M40591</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-11T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Printing missing values from proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907376#M40592</link>
      <description>&lt;P&gt;If you mean that you want to look at other values, such as identifiers or variables used to create the "missing values" then perhaps you are looking for something like:&lt;/P&gt;
&lt;PRE&gt;data help;
   set yourdatasetname;
   where missing( targevariablename);
run;&lt;/PRE&gt;
&lt;P&gt;Of perhaps provide a couple of other variables in proc freq:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc freq data=yourdataset;
   tables thisvar*thatvar*targetvar / list missing;
run;&lt;/PRE&gt;
&lt;P&gt;The above approach is helpful when targetvar in some way depends on the other two variables (or one&amp;nbsp; or three or ...). The List option puts all the values on one line in the output table for easier following and the missing gets the missing values in context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Printing missing" values by themselves is not much interest as it would look like:&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;.&lt;/P&gt;
&lt;P&gt;by default.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 19:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Printing-missing-values-from-proc-freq/m-p/907376#M40592</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-12-11T19:35:37Z</dc:date>
    </item>
  </channel>
</rss>

