<?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 tabulate decimal places with dummy variable percentn in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485913#M126310</link>
    <description>&lt;P&gt;You have to provide more detail in the format.&amp;nbsp; For example, use the format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;percentn5.1&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 18:54:25 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-08-10T18:54:25Z</dc:date>
    <item>
      <title>proc tabulate decimal places with dummy variable percentn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485909#M126307</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;It must be very simple but I couldn't find solution online. How to achieve decimal place with percentn. format below? ob is 0 vs 1 dummy variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=l.mydata order=internal;
var ob;
class durcat agecat race1 assist fam_size hh_smoking area;
tables (All agecat race1 assist fam_size hh_smoking area), 
	   (durcat)*(ob)*(mean*f=percentn.)/nocellmerge printmiss;
where agecat=5; 
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 18:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485909#M126307</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-08-10T18:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate decimal places with dummy variable percentn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485912#M126309</link>
      <description>&lt;P&gt;Try percentn7.2&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 18:54:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485912#M126309</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-10T18:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate decimal places with dummy variable percentn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485913#M126310</link>
      <description>&lt;P&gt;You have to provide more detail in the format.&amp;nbsp; For example, use the format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;percentn5.1&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 18:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485913#M126310</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-08-10T18:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate decimal places with dummy variable percentn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485916#M126312</link>
      <description>I tried percentn5.1 , percentn5.2, percentn5.3, but never thought of 7. I don't why 7 worked but 5</description>
      <pubDate>Fri, 10 Aug 2018 18:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485916#M126312</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-08-10T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate decimal places with dummy variable percentn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485920#M126316</link>
      <description>&lt;P&gt;You need space for the % character, an optional sign, the decimal dot, and at least 2 digits left of the dot.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 19:09:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-tabulate-decimal-places-with-dummy-variable-percentn/m-p/485920#M126316</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-10T19:09:16Z</dc:date>
    </item>
  </channel>
</rss>

