<?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 Accessing data created from Proc Means in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Accessing-data-created-from-Proc-Means/m-p/5963#M2403</link>
    <description>I am a bit of a novice at SAS (although picking it up quickly). I have Proc Means statement that calculates statistics for 4 variables. I need to use these variables in a future data step to do additional calculations. How would I do this?&lt;BR /&gt;
&lt;BR /&gt;
This is my Proc Means Step:&lt;BR /&gt;
&lt;BR /&gt;
Proc means&lt;BR /&gt;
data = Update maxdec=4 &lt;BR /&gt;
n mean stddev median; &lt;BR /&gt;
var Var1 &lt;BR /&gt;
     Var2&lt;BR /&gt;
     Var3&lt;BR /&gt;
     Var4;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I need to use the data to determine observations that are &amp;gt;2 standard deviations from the norm. &lt;BR /&gt;
&lt;BR /&gt;
I thought about doing a data step but I am not sure how to set it up. Thank you.&lt;BR /&gt;
&lt;BR /&gt;
LauraJ</description>
    <pubDate>Tue, 18 Dec 2007 20:12:14 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-12-18T20:12:14Z</dc:date>
    <item>
      <title>Accessing data created from Proc Means</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Accessing-data-created-from-Proc-Means/m-p/5963#M2403</link>
      <description>I am a bit of a novice at SAS (although picking it up quickly). I have Proc Means statement that calculates statistics for 4 variables. I need to use these variables in a future data step to do additional calculations. How would I do this?&lt;BR /&gt;
&lt;BR /&gt;
This is my Proc Means Step:&lt;BR /&gt;
&lt;BR /&gt;
Proc means&lt;BR /&gt;
data = Update maxdec=4 &lt;BR /&gt;
n mean stddev median; &lt;BR /&gt;
var Var1 &lt;BR /&gt;
     Var2&lt;BR /&gt;
     Var3&lt;BR /&gt;
     Var4;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I need to use the data to determine observations that are &amp;gt;2 standard deviations from the norm. &lt;BR /&gt;
&lt;BR /&gt;
I thought about doing a data step but I am not sure how to set it up. Thank you.&lt;BR /&gt;
&lt;BR /&gt;
LauraJ</description>
      <pubDate>Tue, 18 Dec 2007 20:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Accessing-data-created-from-Proc-Means/m-p/5963#M2403</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-12-18T20:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing data created from Proc Means</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Accessing-data-created-from-Proc-Means/m-p/5964#M2404</link>
      <description>Laura,&lt;BR /&gt;
&lt;BR /&gt;
  Use the PROC MEANS OUTPUT statement with the OUT= option.  OUT= accepts a data set name.&lt;BR /&gt;
&lt;BR /&gt;
  You can learn more about the OUTPUT statement by browsing the online documenation at &lt;A href="http://support.sas.com/onlinedoc/913/docMainpage.jsp" target="_blank"&gt;http://support.sas.com/onlinedoc/913/docMainpage.jsp&lt;/A&gt; .  Look for the Base SAS Procedures Guide section.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 18 Dec 2007 22:02:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Accessing-data-created-from-Proc-Means/m-p/5964#M2404</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2007-12-18T22:02:40Z</dc:date>
    </item>
  </channel>
</rss>

