<?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 group similiar values together in SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75586#M21932</link>
    <description>Possibly in case you have a sample code, that should be helpful&lt;BR /&gt;
&lt;BR /&gt;
Tej</description>
    <pubDate>Fri, 27 Feb 2009 15:15:20 GMT</pubDate>
    <dc:creator>tejeshwar</dc:creator>
    <dc:date>2009-02-27T15:15:20Z</dc:date>
    <item>
      <title>How to group similiar values together in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75582#M21928</link>
      <description>I have a numeric variable which has a range. The variable also has some special values like -999984. Is there a way I can get descriptive statistics on this variable based on automatic groups of 10 set by SAS. for ex: &lt;BR /&gt;
&lt;BR /&gt;
Groups          N       Mean      Minimum Maximum&lt;BR /&gt;
-999994 - 0    45    &lt;BR /&gt;
1-3                123&lt;BR /&gt;
4-9                 23&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Tej</description>
      <pubDate>Thu, 26 Feb 2009 08:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75582#M21928</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2009-02-26T08:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to group similiar values together in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75583#M21929</link>
      <description>SAS PROC FORMAT is one option to generate a list of value ranges associated with some descriptive relationship.  Then use PROC SUMMARY/MEANS to summarize the FORMATTED CLASS variable.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 26 Feb 2009 17:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75583#M21929</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-02-26T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to group similiar values together in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75584#M21930</link>
      <description>Proc Format is one of the option, however in that case I will need to see range of every variable and create these groups manually. Since I am dealing with 250 variables and every single one of them has a different range, so this is something I am hoping to avoid.&lt;BR /&gt;
&lt;BR /&gt;
Something that I am hoping is if SAS can decide these groups by itself depending upon the range and then I can summarize it.&lt;BR /&gt;
&lt;BR /&gt;
I am sure there might be a way, however just I am not able to figure it out by myself.</description>
      <pubDate>Fri, 27 Feb 2009 02:54:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75584#M21930</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2009-02-27T02:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to group similiar values together in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75585#M21931</link>
      <description>Look at using PROC SUMMARY to generate the MIN and MAX in a new file.  Then MERGE that file back onto your original file.  Then using a DATA step, increment in a DO loop from your new &lt;MIN_VALUE&gt; TO &lt;MAX_VALUE&gt; variables BY 10, creating another new variable which you will then use to run your descriptive statistics.&lt;BR /&gt;
&lt;BR /&gt;
You may also find the SAS support website  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  useful with its own SEARCH facility (SAS DOC and technical papers are hosted there), and possibly using the Google advanced search argument below (one one of your own):&lt;BR /&gt;
&lt;BR /&gt;
generate descriptive statistics value ranges site:sas.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;/MAX_VALUE&gt;&lt;/MIN_VALUE&gt;</description>
      <pubDate>Fri, 27 Feb 2009 08:08:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75585#M21931</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-02-27T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to group similiar values together in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75586#M21932</link>
      <description>Possibly in case you have a sample code, that should be helpful&lt;BR /&gt;
&lt;BR /&gt;
Tej</description>
      <pubDate>Fri, 27 Feb 2009 15:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-group-similiar-values-together-in-SAS/m-p/75586#M21932</guid>
      <dc:creator>tejeshwar</dc:creator>
      <dc:date>2009-02-27T15:15:20Z</dc:date>
    </item>
  </channel>
</rss>

