<?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 format 'other' value in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81659#M23524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that's not quite right.&amp;nbsp; Adding a format does not change what is in your data.&amp;nbsp; Not in any way.&amp;nbsp; You still have missing values in your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding a format changes what characters print, instead of printing the actual values in your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jul 2013 20:53:25 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2013-07-16T20:53:25Z</dc:date>
    <item>
      <title>proc format 'other' value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81656#M23521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to format a numeric variable into two categories. But when I ran the frequencies for it, the program treated 'OTHER' missing. Here is my syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value $process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; '01'-'03'='Done'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OTHER='Not finished';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; value outcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1-2='Done'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; OTHER='Not participating';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run:&lt;/P&gt;&lt;P&gt;proc freq;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; format var_process $process.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; format general_outcome outcome.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; tables general_outcome*var_process;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For general_outcome, only 'Done' was tabulated. When missing values were included, 'Not participating' was tabulated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this?&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, 16 Jul 2013 18:15:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81656#M23521</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2013-07-16T18:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc format 'other' value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81657#M23522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default, missing values are tallied separately by PROC FREQ.&amp;nbsp; If you want them as part of the table, add the MISSING option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables general_outcome * var_process / missing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition of a FORMAT statement doesn't affect the process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 19:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81657#M23522</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-07-16T19:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc format 'other' value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81658#M23523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But since I set 'OTHER' values as &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;'Not participating'&lt;/SPAN&gt;, there is no missing values in my data. Only two values include 'Done' and 'Not participating' (&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;value outcome &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;1-2='Done'&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;OTHER='Not participating';&lt;/SPAN&gt;)&lt;/SPAN&gt;. The problem is SAS treated 'OTHER' values as missing while it should treat other values as 'Not participating'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:16:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81658#M23523</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2013-07-16T20:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: proc format 'other' value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81659#M23524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, that's not quite right.&amp;nbsp; Adding a format does not change what is in your data.&amp;nbsp; Not in any way.&amp;nbsp; You still have missing values in your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding a format changes what characters print, instead of printing the actual values in your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 20:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-format-other-value/m-p/81659#M23524</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-07-16T20:53:25Z</dc:date>
    </item>
  </channel>
</rss>

