<?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 To Find out the Groupwise Means in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/To-Find-out-the-Groupwise-Means/m-p/40438#M649</link>
    <description>Hi All,&lt;BR /&gt;
         In  my Project Requirement is like this .Suppose i have datasets called d1 and d2 as follows&lt;BR /&gt;
&lt;BR /&gt;
data d1;&lt;BR /&gt;
input g vari;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 123&lt;BR /&gt;
1 121&lt;BR /&gt;
1 120&lt;BR /&gt;
2 121&lt;BR /&gt;
2 120&lt;BR /&gt;
;&lt;BR /&gt;
data d2;&lt;BR /&gt;
input g vari ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 121&lt;BR /&gt;
1 122&lt;BR /&gt;
1 123&lt;BR /&gt;
2 122&lt;BR /&gt;
2 125&lt;BR /&gt;
;&lt;BR /&gt;
I want to Findout the groupwise means&lt;BR /&gt;
&lt;BR /&gt;
My output is like this How can i findout &lt;BR /&gt;
&lt;BR /&gt;
1 121.5&lt;BR /&gt;
2 122&lt;BR /&gt;
&lt;BR /&gt;
Appriciate Great Help&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Govind.</description>
    <pubDate>Wed, 20 Aug 2008 06:44:47 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-08-20T06:44:47Z</dc:date>
    <item>
      <title>To Find out the Groupwise Means</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/To-Find-out-the-Groupwise-Means/m-p/40438#M649</link>
      <description>Hi All,&lt;BR /&gt;
         In  my Project Requirement is like this .Suppose i have datasets called d1 and d2 as follows&lt;BR /&gt;
&lt;BR /&gt;
data d1;&lt;BR /&gt;
input g vari;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 123&lt;BR /&gt;
1 121&lt;BR /&gt;
1 120&lt;BR /&gt;
2 121&lt;BR /&gt;
2 120&lt;BR /&gt;
;&lt;BR /&gt;
data d2;&lt;BR /&gt;
input g vari ;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 121&lt;BR /&gt;
1 122&lt;BR /&gt;
1 123&lt;BR /&gt;
2 122&lt;BR /&gt;
2 125&lt;BR /&gt;
;&lt;BR /&gt;
I want to Findout the groupwise means&lt;BR /&gt;
&lt;BR /&gt;
My output is like this How can i findout &lt;BR /&gt;
&lt;BR /&gt;
1 121.5&lt;BR /&gt;
2 122&lt;BR /&gt;
&lt;BR /&gt;
Appriciate Great Help&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Govind.</description>
      <pubDate>Wed, 20 Aug 2008 06:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/To-Find-out-the-Groupwise-Means/m-p/40438#M649</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-20T06:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: To Find out the Groupwise Means</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/To-Find-out-the-Groupwise-Means/m-p/40439#M650</link>
      <description>Hi:&lt;BR /&gt;
  Proc MEANS is the procedure that springs to mind. The question however, is whether you want to find the means for D1 and D2 separately, or whether you also want to combine the two files together BEFORE you use PROC MEANS.&lt;BR /&gt;
 &lt;BR /&gt;
  To simply concatenate the 2 datasets, a SET statement would be the most useful:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data all_d;&lt;BR /&gt;
  set d1 d2;&lt;BR /&gt;
run;&lt;BR /&gt;
   &lt;BR /&gt;
proc means data=all_d;&lt;BR /&gt;
  class g;&lt;BR /&gt;
  var vari;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 20 Aug 2008 10:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/To-Find-out-the-Groupwise-Means/m-p/40439#M650</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-08-20T10:37:25Z</dc:date>
    </item>
  </channel>
</rss>

