<?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: How to reuse the calculated mean value of PROC for further calculation? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351293#M81764</link>
    <description>&lt;P&gt;Here's two ways of accomplishing this solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/add_average_value_to_dataset" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/add_average_value_to_dataset&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 13:33:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-19T13:33:18Z</dc:date>
    <item>
      <title>How to reuse the calculated mean value of PROC for further calculation?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351246#M81751</link>
      <description>&lt;P&gt;I have calculated the mean of a variable using MEAN proc, now I want to use mean value for further calculation. Please help me to reuse or save the calculated mean value for further use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test; 
input x ; 
cards; 
100 
200 
300 
; 
run; 

proc means data=test; 
var x; 

run; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351246#M81751</guid>
      <dc:creator>ervinodsingh</dc:creator>
      <dc:date>2017-04-19T12:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to reuse the calculated mean value of PROC for further calculation?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351249#M81753</link>
      <description>&lt;P&gt;You can output to dataset from that in a variety of ways (the manual is your friend), you could do;&lt;/P&gt;
&lt;PRE&gt;proc means data=test; 
  var x; 
  output out=want mean=mean;
run; &lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Apr 2017 12:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351249#M81753</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-04-19T12:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to reuse the calculated mean value of PROC for further calculation?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351293#M81764</link>
      <description>&lt;P&gt;Here's two ways of accomplishing this solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/add_average_value_to_dataset" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/add_average_value_to_dataset&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 13:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351293#M81764</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-19T13:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to reuse the calculated mean value of PROC for further calculation?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351349#M81782</link>
      <description>&lt;P&gt;Thanks your solution also worked for me.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 15:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-reuse-the-calculated-mean-value-of-PROC-for-further/m-p/351349#M81782</guid>
      <dc:creator>ervinodsingh</dc:creator>
      <dc:date>2017-04-19T15:50:56Z</dc:date>
    </item>
  </channel>
</rss>

