<?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: Formatting Proc Univariate Variables as a Percent in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244449#M56065</link>
    <description>I believe you need to apply the format to the variables in the separate dataset with the existing dataset created by the proc univariate &lt;BR /&gt;</description>
    <pubDate>Tue, 19 Jan 2016 15:15:19 GMT</pubDate>
    <dc:creator>Jagadishkatam</dc:creator>
    <dc:date>2016-01-19T15:15:19Z</dc:date>
    <item>
      <title>Formatting Proc Univariate Variables as a Percent</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244443#M56064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a statistical analysis using the proc univariate (proc uni) function and to format the proc uni variable, I used the percent function&amp;nbsp;percentn.n. &amp;nbsp;It worked for just the first variable but not for the others. &amp;nbsp;I was wondering if there is a special/different function for formatting proc uni variables as a percent?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 14:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244443#M56064</guid>
      <dc:creator>BRT001</dc:creator>
      <dc:date>2016-01-19T14:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Proc Univariate Variables as a Percent</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244449#M56065</link>
      <description>I believe you need to apply the format to the variables in the separate dataset with the existing dataset created by the proc univariate &lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244449#M56065</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-01-19T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Proc Univariate Variables as a Percent</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244450#M56066</link>
      <description>&lt;P&gt;Please&amp;nbsp;show the statements that you are using. PROC UNIVARIATE ignores formats except for CLASS variables and for the display of INSET statistics.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:23:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244450#M56066</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-01-19T15:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Proc Univariate Variables as a Percent</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244451#M56067</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of the statements I am using (the percentages work for the output but not for the results):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt; &lt;STRONG&gt;SQL&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;CREATE TABLE SET100&amp;nbsp;AS SELECT DISTINCT&lt;/P&gt;&lt;P&gt;A.YRY,&lt;/P&gt;&lt;P&gt;A.MTM,&lt;/P&gt;&lt;P&gt;A.ID,&lt;/P&gt;&lt;P&gt;A.RES,&lt;/P&gt;&lt;P&gt;A.PRES,&lt;/P&gt;&lt;P&gt;(PRES * MoDays*&lt;STRONG&gt;24&lt;/STRONG&gt;) as total_month,&lt;/P&gt;&lt;P&gt;A.DRES/calculated total_month&amp;nbsp; format percentn10.2 AS PTRES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM SET00&amp;nbsp;A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHERE A.CRES&amp;gt;&lt;STRONG&gt;0&lt;/STRONG&gt; AND A.DRES&amp;gt;&lt;STRONG&gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;order by calculated ptres desc;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;univariate&lt;/STRONG&gt; data=SET100;&lt;/P&gt;&lt;P&gt;var PTRES;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;ODS RTF CLOSE;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 15:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244451#M56067</guid>
      <dc:creator>BRT001</dc:creator>
      <dc:date>2016-01-19T15:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Proc Univariate Variables as a Percent</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244573#M56088</link>
      <description>&lt;P&gt;&lt;SPAN&gt;A.DRES/calculated total_month&amp;nbsp;&amp;nbsp;AS PTRES &amp;nbsp; &lt;STRONG&gt;format=percentn10.2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 01:45:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Formatting-Proc-Univariate-Variables-as-a-Percent/m-p/244573#M56088</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-20T01:45:01Z</dc:date>
    </item>
  </channel>
</rss>

