<?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 Set number of decimal places PROC UNIVARIATE OUTPUT OUT in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781316#M31754</link>
    <description>&lt;P&gt;How can I set the number of decimal places for outputted means in PROC UNIVARIATE?&lt;/P&gt;
&lt;P&gt;I can find the option for decimal places &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_univariate_syntax21.htm" target="_self"&gt;for percentiles&lt;/A&gt;, but not means.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC UNIVARIATE DATA=Data_02_long NORMAL;
    CLASS time group;
    
    VAR 
   	Efflux;
    
    HISTOGRAM;
    OUTPUT OUT=data_01_output mean=Efflux std=Efflux;
RUN;


PROC PRINT DATA=data_01_output;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-19 at 8.57.55 AM.png" style="width: 218px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65917iFB65051F57148E47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-19 at 8.57.55 AM.png" alt="Screen Shot 2021-11-19 at 8.57.55 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 16:59:06 GMT</pubDate>
    <dc:creator>_maldini_</dc:creator>
    <dc:date>2021-11-19T16:59:06Z</dc:date>
    <item>
      <title>Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781316#M31754</link>
      <description>&lt;P&gt;How can I set the number of decimal places for outputted means in PROC UNIVARIATE?&lt;/P&gt;
&lt;P&gt;I can find the option for decimal places &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/procstat/procstat_univariate_syntax21.htm" target="_self"&gt;for percentiles&lt;/A&gt;, but not means.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC UNIVARIATE DATA=Data_02_long NORMAL;
    CLASS time group;
    
    VAR 
   	Efflux;
    
    HISTOGRAM;
    OUTPUT OUT=data_01_output mean=Efflux std=Efflux;
RUN;


PROC PRINT DATA=data_01_output;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-19 at 8.57.55 AM.png" style="width: 218px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65917iFB65051F57148E47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-19 at 8.57.55 AM.png" alt="Screen Shot 2021-11-19 at 8.57.55 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 16:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781316#M31754</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-11-19T16:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781317#M31755</link>
      <description>&lt;P&gt;When you do a PROC PRINT, you can control the decimal places there with a format statement. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format efflux 8.2;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781317#M31755</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-11-19T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781319#M31756</link>
      <description>&lt;P&gt;Whoops, I may have jumped the gun in accepting this as the solution. Sorry, I want to plot these means using PROC SGPLOT so I need the control the decimal places in the OUTPUT or in the PROC SGPLOT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT data=data_01_output;
	series x=time y=Efflux / lineattrs=(thickness=3px) group=group
		markers markerattrs=(size=10pt) DATALABEL DATALABELATTRS=(Color=grey Family="Arial" Size=12
        Style=Italic Weight=Bold);

	yaxis
	 values=(8 to 12 BY 1) label='Efflux (Mean)'
	 labelattrs=(size=12pt weight=bold color=gray33)
	 valueattrs=(size=12pt weight=bold color=gray33)
	 offsetmin=0 offsetmax=0 grid minor minorcount=1;
	 
	xaxis
	 values=(1 to 3 BY 1) label='Timepoint'
	 labelattrs=(size=12pt weight=bold color=gray33)
	 valueattrs=(size=12pt weight=bold color=gray33)
	 offsetmin=0 offsetmax=0 grid minor minorcount=1;
	
/* 	FORMAT timepoint_graph timepoint_graph_.; */
	
	TITLE "Change in Efflux Over Time (Mean)";
/* 	TITLE2 "PROMIS Pain Intensity Score"; */
	footnote "Footnote: CONFIDENTIAL";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781319#M31756</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-11-19T17:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781320#M31757</link>
      <description>&lt;P&gt;If all you want is means and standard deviations, you should use PROC MEANS/PROC SUMMARY rather than PROC UNIVARIATE. PROC UNIVARIATE calculates a lot of statistics that you aren't asking for, so its probably inefficient to use for this purpose.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In PROC MEANS, there is a MAXDEC= option to specify the maximum number of decimal places in the output.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781320#M31757</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-11-19T17:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781321#M31758</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/36911"&gt;@_maldini_&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Whoops, I may have jumped the gun in accepting this as the solution. Sorry, I want to plot these means using PROC SGPLOT so I need the control the decimal places in the OUTPUT or in the PROC SGPLOT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SGPLOT data=data_01_output;
	series x=time y=Efflux / lineattrs=(thickness=3px) group=group
		markers markerattrs=(size=10pt) DATALABEL DATALABELATTRS=(Color=grey Family="Arial" Size=12
        Style=Italic Weight=Bold);

	yaxis
	 values=(8 to 12 BY 1) label='Efflux (Mean)'
	 labelattrs=(size=12pt weight=bold color=gray33)
	 valueattrs=(size=12pt weight=bold color=gray33)
	 offsetmin=0 offsetmax=0 grid minor minorcount=1;
	 
	xaxis
	 values=(1 to 3 BY 1) label='Timepoint'
	 labelattrs=(size=12pt weight=bold color=gray33)
	 valueattrs=(size=12pt weight=bold color=gray33)
	 offsetmin=0 offsetmax=0 grid minor minorcount=1;
	
/* 	FORMAT timepoint_graph timepoint_graph_.; */
	
	TITLE "Change in Efflux Over Time (Mean)";
/* 	TITLE2 "PROMIS Pain Intensity Score"; */
	footnote "Footnote: CONFIDENTIAL";
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm not following this at all. You don't have to control the number of decimal places in the output of PROC MEANS/PROC SUMMARY/PROC UNIVARIATE to run PROC SGPLOT.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781321#M31758</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-11-19T17:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set number of decimal places PROC UNIVARIATE OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781325#M31759</link>
      <description>&lt;P&gt;This is the current graph. I'd like to limit the decimal places to 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-19 at 9.04.08 AM.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65919i28C318460D0DC95D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-19 at 9.04.08 AM.png" alt="Screen Shot 2021-11-19 at 9.04.08 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:10:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Set-number-of-decimal-places-PROC-UNIVARIATE-OUTPUT-OUT/m-p/781325#M31759</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2021-11-19T17:10:35Z</dc:date>
    </item>
  </channel>
</rss>

