<?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: by group processing in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/610001#M18017</link>
    <description>&lt;P&gt;BY group processing means that you have one or more variables used to define the group. When you say "points in&amp;nbsp; a game" then the likely BY variable would be a TEAM identification. So here is a possible example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   input team $  score;
datalines;
A 15
B 26
A 3
B 18
C 3
C 6
C 27
;
proc sort data=example;
  by team;
run;

proc means data=example mean;
   by team;
   var score;
run;&lt;/PRE&gt;
&lt;P&gt;Please note the data step as way of documenting the data and providing something that you can run to create a data set that be used.&lt;/P&gt;
&lt;P&gt;BY groups also usually require sorting by the group variables before any analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 15:57:31 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-12-06T15:57:31Z</dc:date>
    <item>
      <title>by group processing</title>
      <link>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/609856#M17990</link>
      <description>&lt;P&gt;I am using by group processing and trying to find the average of a variable I am doing the processing on. So if it was points earned for 5 games with the points being 5,6,7,8,9 How can I find average of these using by group processing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 04:20:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/609856#M17990</guid>
      <dc:creator>timmy555</dc:creator>
      <dc:date>2019-12-06T04:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: by group processing</title>
      <link>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/609879#M17997</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/302208"&gt;@timmy555&lt;/a&gt;&amp;nbsp;please be more specific than this. Can you show us some sample data? Do you have some code that you have tried already?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 06:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/609879#M17997</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-12-06T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: by group processing</title>
      <link>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/610001#M18017</link>
      <description>&lt;P&gt;BY group processing means that you have one or more variables used to define the group. When you say "points in&amp;nbsp; a game" then the likely BY variable would be a TEAM identification. So here is a possible example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data example;
   input team $  score;
datalines;
A 15
B 26
A 3
B 18
C 3
C 6
C 27
;
proc sort data=example;
  by team;
run;

proc means data=example mean;
   by team;
   var score;
run;&lt;/PRE&gt;
&lt;P&gt;Please note the data step as way of documenting the data and providing something that you can run to create a data set that be used.&lt;/P&gt;
&lt;P&gt;BY groups also usually require sorting by the group variables before any analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 15:57:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/by-group-processing/m-p/610001#M18017</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-12-06T15:57:31Z</dc:date>
    </item>
  </channel>
</rss>

