<?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 PROC SURVEY - MISSING Option on Tables and Class statements in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-SURVEY-MISSING-Option-on-Tables-and-Class-statements/m-p/857929#M37861</link>
    <description>&lt;P&gt;According to SAS documentation, In PROC SURVEYMEANS, the MISSING option "treats missing values as a valid (nonmissing) category for all categorical variables, which include CLASS, STRATA, CLUSTER, DOMAIN, and POSTSTRATA variables."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't turn blue and I only get error messages when I run it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong here?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-08 at 8.32.40 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80259iF39CC34942FAB62C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-02-08 at 8.32.40 PM.png" alt="Screenshot 2023-02-08 at 8.32.40 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 04:33:06 GMT</pubDate>
    <dc:creator>_maldini_</dc:creator>
    <dc:date>2023-02-09T04:33:06Z</dc:date>
    <item>
      <title>PROC SURVEY - MISSING Option on Tables and Class statements</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SURVEY-MISSING-Option-on-Tables-and-Class-statements/m-p/857929#M37861</link>
      <description>&lt;P&gt;According to SAS documentation, In PROC SURVEYMEANS, the MISSING option "treats missing values as a valid (nonmissing) category for all categorical variables, which include CLASS, STRATA, CLUSTER, DOMAIN, and POSTSTRATA variables."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't turn blue and I only get error messages when I run it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong here?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-02-08 at 8.32.40 PM.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80259iF39CC34942FAB62C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-02-08 at 8.32.40 PM.png" alt="Screenshot 2023-02-08 at 8.32.40 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 04:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SURVEY-MISSING-Option-on-Tables-and-Class-statements/m-p/857929#M37861</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2023-02-09T04:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEY - MISSING Option on Tables and Class statements</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-SURVEY-MISSING-Option-on-Tables-and-Class-statements/m-p/857939#M37863</link>
      <description>&lt;P&gt;The MISSING option for Proc Surveymeans refers to the PROC statement, not the individual statements such as Domain.&lt;/P&gt;
&lt;P&gt;If you clicked on the MISSING text in the Domain/Cluster etc statements in the documentation then you should notice that it took you to a different page.&lt;/P&gt;
&lt;P&gt;The clue that this is not a per statement option is the "all categorical". Which means just that ALL of the variables used on any of those statements will treat missing as valid for all variables.&lt;/P&gt;
&lt;P&gt;So you would use&lt;/P&gt;
&lt;PRE&gt;Proc surveymeans data=&amp;amp;dataset nomcar&lt;FONT color="#008000"&gt;&lt;STRONG&gt; MISSING&lt;/STRONG&gt;&lt;/FONT&gt;;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.surveymeans.procstmt" class="AAsection"&gt;
&lt;DIV class="AAoptions"&gt;
&lt;DL class="AAoptions"&gt;
&lt;DD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DD&gt;
&lt;DT&gt;&lt;SPAN class=" AAterm "&gt;MISSING &lt;/SPAN&gt;&lt;/DT&gt;
&lt;DD&gt;
&lt;P&gt;&lt;A class="indexterm" name="statug.surveymeans.a0000000016" target="_blank"&gt;&lt;/A&gt;&lt;A class="indexterm" name="statug.surveymeans.a0000000017" target="_blank"&gt;&lt;/A&gt;&lt;A class="indexterm" name="statug.surveymeans.a0000000018" target="_blank"&gt;&lt;/A&gt;&lt;A class="indexterm" name="statug.surveymeans.a000000001801" target="_blank"&gt;&lt;/A&gt;treats missing values as a valid (nonmissing) category for all categorical variables, which include &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_syntax03.htm" target="_blank"&gt;CLASS&lt;/A&gt; , &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_syntax09.htm" target="_blank"&gt;STRATA&lt;/A&gt; , &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_syntax04.htm" target="_blank"&gt;CLUSTER&lt;/A&gt; , &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_syntax05.htm" target="_blank"&gt;DOMAIN&lt;/A&gt; , and &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_syntax06.htm" target="_blank"&gt;POSTSTRATA&lt;/A&gt; variables.&lt;/P&gt;
&lt;P&gt;By default, if you do not specify the MISSING option, an observation is excluded from the analysis if it has a missing value. For more information, see the section &lt;A href="http://127.0.0.1:50224/help/statug.hlp/statug_surveymeans_details01.htm" target="_blank"&gt;Missing Values&lt;/A&gt;.&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 09 Feb 2023 06:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-SURVEY-MISSING-Option-on-Tables-and-Class-statements/m-p/857939#M37863</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-02-09T06:10:40Z</dc:date>
    </item>
  </channel>
</rss>

