<?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: Increase Decimal Places Shown for Percent of Row Frequency in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844725#M333957</link>
    <description>&lt;P&gt;That worked great, thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 22:51:37 GMT</pubDate>
    <dc:creator>UserID437122</dc:creator>
    <dc:date>2022-11-16T22:51:37Z</dc:date>
    <item>
      <title>Increase Decimal Places Shown for Percent of Row Frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844697#M333941</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to add decimal places for the output shown for proc freq using ODS code. I am interested in the percent of row frequency. I can get the ODS code to work for overall percent but not for the percent of row frequency. I've tried to include row_pct 8.4 but I get an error code that the variable 'ROW_PCT not found in data set WORK.INDTABLE.'&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods trace on;&lt;BR /&gt;proc freq data=county;&lt;BR /&gt;table gender*abuse / chisq expected;&lt;BR /&gt;format gender gender. abuse abuse.;&lt;BR /&gt;ods output CrossTabFreqs=IndTable;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=IndTable label;&lt;BR /&gt;format percent 8.4&lt;BR /&gt;row_pct 8.4;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is greatly appreciated, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 20:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844697#M333941</guid>
      <dc:creator>UserID437122</dc:creator>
      <dc:date>2022-11-16T20:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Increase Decimal Places Shown for Percent of Row Frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844721#M333955</link>
      <description>&lt;P&gt;Why not use the variable's name?&amp;nbsp; If you remove the LABEL option from the PROC PRINT step you can see the actual variable name.&amp;nbsp; ROWPERCENT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format ;
  value agegp low - 12 = '&amp;lt;=12' other='&amp;gt;12';
run;
proc freq data=sashelp.class;
  table sex*age / chisq expected;
  format age agegp.;
ods output CrossTabFreqs=IndTable;
run;
proc print data=IndTable label;
  format percent rowpercent colpercent 8.4 ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 22:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844721#M333955</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-11-16T22:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Increase Decimal Places Shown for Percent of Row Frequency</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844725#M333957</link>
      <description>&lt;P&gt;That worked great, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 22:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Increase-Decimal-Places-Shown-for-Percent-of-Row-Frequency/m-p/844725#M333957</guid>
      <dc:creator>UserID437122</dc:creator>
      <dc:date>2022-11-16T22:51:37Z</dc:date>
    </item>
  </channel>
</rss>

