<?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 find top25 values in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267416#M14086</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Sincere apologies. It was name of students and not 'no.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I am looking for :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THe name of the students featured in the top25 ranks of the schools that have occurred more than 3 times (i.e they have come in the top25 ranking for more than 3 times).&lt;/P&gt;</description>
    <pubDate>Sat, 30 Apr 2016 14:58:37 GMT</pubDate>
    <dc:creator>Antaralib</dc:creator>
    <dc:date>2016-04-30T14:58:37Z</dc:date>
    <item>
      <title>How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267016#M14054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g I have 3 variables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;No. of schools in a state&lt;/P&gt;&lt;P&gt;Ranking in state level&lt;/P&gt;&lt;P&gt;year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find the no. of schools in the top 25 ranks that have occured more than 3 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess, I need to compare it against year. its easier to match against.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any clue would be helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267016#M14054</guid>
      <dc:creator>Antaralib</dc:creator>
      <dc:date>2016-04-28T16:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267020#M14056</link>
      <description>&lt;P&gt;Try with proc rank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267020#M14056</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-04-28T16:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267039#M14058</link>
      <description>&lt;P&gt;We're both guessing.&amp;nbsp; Perhaps this is what you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq data=have order=freq;&lt;/P&gt;
&lt;P&gt;tables no_of_schools;&lt;/P&gt;
&lt;P&gt;where (1 &amp;lt;= ranking &amp;lt;= 25);&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 17:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267039#M14058</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-04-28T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267386#M14078</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run proc freq, it only gives me the name of the students with the frequencies. But does not show me the rank# against those and also I need only the ones that has occurred more than 3 times.&lt;/P&gt;&lt;P&gt;i,e in 2011 - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2016 -2&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2015 - 5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or 2011 - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2013 - 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2014 -1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or 2011 - 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could be anything&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 05:36:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267386#M14078</guid>
      <dc:creator>Antaralib</dc:creator>
      <dc:date>2016-04-30T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267400#M14082</link>
      <description>&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;proc sort;
  by group descending amount;
run;

data top3(drop=count);
  set groups;
  by group descending amount;
  if first.group then count=0;
  count+1;
  if count le 3 then output;
run;

proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also proc rank. Neither worked.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 10:08:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267400#M14082</guid>
      <dc:creator>Antaralib</dc:creator>
      <dc:date>2016-04-30T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267405#M14084</link>
      <description>&lt;P&gt;When you first posted the problem, the name of the student wasn't even mentioned as a variable. &amp;nbsp;If it's important to the result, you will need to illustrate some of the data coming in, and what the report should look like.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 11:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267405#M14084</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-04-30T11:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find top25 values</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267416#M14086</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Sincere apologies. It was name of students and not 'no.'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I am looking for :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THe name of the students featured in the top25 ranks of the schools that have occurred more than 3 times (i.e they have come in the top25 ranking for more than 3 times).&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 14:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-find-top25-values/m-p/267416#M14086</guid>
      <dc:creator>Antaralib</dc:creator>
      <dc:date>2016-04-30T14:58:37Z</dc:date>
    </item>
  </channel>
</rss>

