<?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 Proc Mean Significant Figures in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410693#M21464</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc means for 5 variables with outlier.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16450iE9E0468086F723F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc means for 5 variables with outlier.PNG" alt="proc means for 5 variables with outlier.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm aware when using the PROC Means procedure that you can round the entries in the resulting table to a certain number of decimal places but is there a way to round them to a certain number of significant figures. If there isn't, is there another procedure for generating summary statistics where this could be specified?&lt;/P&gt;</description>
    <pubDate>Sun, 05 Nov 2017 18:15:57 GMT</pubDate>
    <dc:creator>bc2017</dc:creator>
    <dc:date>2017-11-05T18:15:57Z</dc:date>
    <item>
      <title>Proc Mean Significant Figures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410693#M21464</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="proc means for 5 variables with outlier.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16450iE9E0468086F723F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="proc means for 5 variables with outlier.PNG" alt="proc means for 5 variables with outlier.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm aware when using the PROC Means procedure that you can round the entries in the resulting table to a certain number of decimal places but is there a way to round them to a certain number of significant figures. If there isn't, is there another procedure for generating summary statistics where this could be specified?&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 18:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410693#M21464</guid>
      <dc:creator>bc2017</dc:creator>
      <dc:date>2017-11-05T18:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Mean Significant Figures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410699#M21465</link>
      <description>&lt;P&gt;You can either output the data to a data set (see Examples 2 &amp;amp; 10 in the Documentation) or you could use PROC TABULATE for the same decimal places. However, significant digits are different and that's usually not a fixed rule, if I recall correctly. &amp;nbsp;So it may be easier to output to a data set and then implement your display rules and then use PROC PRINT or REPORT to display the output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 19:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410699#M21465</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-05T19:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Mean Significant Figures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410709#M21466</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.heart stackodsoutput;
   ods output summary=s;
run;
proc print label noobs;  format _numeric_ bestd8.7; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Look at the D and BestD formats.&amp;nbsp; This would be the easiest way to use them with PROC MEANS I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/05/30/the-best-d-formats-that-you-have-ever-seen/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/05/30/the-best-d-formats-that-you-have-ever-seen/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 19:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410709#M21466</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-11-05T19:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Mean Significant Figures</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410710#M21467</link>
      <description>&lt;P&gt;You could do it with the ODS:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class n mean std median clm STACKODSOUTPUT;
format age height weight best4.;
label weight="Weight (pounds)";
var age height weight;
ods output Summary=s;
run;

Proc sql;
select 
    variable,
    label,
    n,
    mean format=best5.,
    stdDev format=best6.,
    median format=best5.,
    lclm format=best5.,
    uclm format=best5.
from s;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 05 Nov 2017 20:01:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Mean-Significant-Figures/m-p/410710#M21467</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-11-05T20:01:28Z</dc:date>
    </item>
  </channel>
</rss>

