<?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: NEED HELP !!! Proc format  and proc means in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490713#M72130</link>
    <description>&lt;P&gt;You're trying to subset the observations?&amp;nbsp; Do that within PROC MEANS.&amp;nbsp; There, you can easily add:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where smoke in (1, 2, 3);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Aug 2018 03:54:43 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-08-29T03:54:43Z</dc:date>
    <item>
      <title>NEED HELP !!! Proc format  and proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490693#M72129</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;I am trying to add a format that would show all obs that have smoked at some time. The 1,2,3,9 should represent that value as a smoker as some point in the gestation. if I remove the 1,2,3,9 then I get everything else and it works great. But I want to add who has smoked at some point to my proc means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;value smk&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0 ='Non-Smoker'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1= 'Smoker Currently'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2='Smoker until current pregnancy'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;3='Stopped before current pregnancy'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;9='Unknown'&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;1,2,3 ='Smoker at some point' **trying to add this format**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc means data=mysas.birthweight n mean median std nonobs;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;format smoke smk.;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;class smoke;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;var birth_wt gestation;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;label birth_wt ='Birth Weight (.oz)' gestation='Gestation Period (days)';&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 02:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490693#M72129</guid>
      <dc:creator>chrissowden</dc:creator>
      <dc:date>2018-08-29T02:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP !!! Proc format  and proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490713#M72130</link>
      <description>&lt;P&gt;You're trying to subset the observations?&amp;nbsp; Do that within PROC MEANS.&amp;nbsp; There, you can easily add:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where smoke in (1, 2, 3);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 03:54:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490713#M72130</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-08-29T03:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: NEED HELP !!! Proc format  and proc means</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490731#M72131</link>
      <description>&lt;P&gt;Look at the multilabel option, as described in &lt;A href="https://blogs.sas.com/content/sgf/2016/12/16/creating-and-using-multilabel-formats/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2016/12/16/creating-and-using-multilabel-formats/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Aug 2018 06:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-HELP-Proc-format-and-proc-means/m-p/490731#M72131</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-29T06:18:42Z</dc:date>
    </item>
  </channel>
</rss>

