<?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: Calculating Percentiles in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632288#M21056</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313316"&gt;@bnd&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But, how would I go about getting the actual top 25% of scores and the bottom 25% of scores once the scores are grouped into the four quartiles?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC UNIVARIATE, PROC MEANS or PROC SUMMARY will calculate these percentiles.&lt;/P&gt;</description>
    <pubDate>Sun, 15 Mar 2020 22:40:20 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-03-15T22:40:20Z</dc:date>
    <item>
      <title>Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632275#M21051</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate the top 25% and bottom 25% for a change score variable. The top 25% indicates high increases in scores and the bottom 25% indicates smaller increases in scores. Is there a way to determine the top 25% of scores and the bottom 25% of scores using proc means or proc univariate in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 21:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632275#M21051</guid>
      <dc:creator>bnd</dc:creator>
      <dc:date>2020-03-15T21:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632276#M21052</link>
      <description>&lt;P&gt;Use PROC RANK with GROUPS=4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc rank data=sashelp.cars groups=4 out=cars;
var mpg_city;
ranks mpg_city_rank;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Haven't verified the code but the idea is there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313316"&gt;@bnd&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to calculate the top 25% and bottom 25% for a change score variable. The top 25% indicates high increases in scores and the bottom 25% indicates smaller increases in scores. Is there a way to determine the top 25% of scores and the bottom 25% of scores using proc means or proc univariate in SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 21:53:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632276#M21052</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-15T21:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632277#M21053</link>
      <description>&lt;P&gt;PROC UNIVARIATE, PROC MEANS and PROC SUMMARY will compute the 25th percentile, the 75th percentile and many other percentiles upon request.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 21:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632277#M21053</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-15T21:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632282#M21054</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;! The proc rank procedure allowed me to group the variable into quartiles. But, how would I go about getting the actual top 25% of scores and the bottom 25% of scores once the scores are grouped into the four quartiles? Also, the groups start at 0 rather than 1.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 22:10:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632282#M21054</guid>
      <dc:creator>bnd</dc:creator>
      <dc:date>2020-03-15T22:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632284#M21055</link>
      <description>Group=0 are your bottom 25% and Group=3 is your top 25%. Yes the groups start from 0 and go to 3, you can add one to it, if that helps you.</description>
      <pubDate>Sun, 15 Mar 2020 22:18:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632284#M21055</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-15T22:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632288#M21056</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/313316"&gt;@bnd&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;But, how would I go about getting the actual top 25% of scores and the bottom 25% of scores once the scores are grouped into the four quartiles?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;PROC UNIVARIATE, PROC MEANS or PROC SUMMARY will calculate these percentiles.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 22:40:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632288#M21056</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-15T22:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632316#M21061</link>
      <description>&lt;P&gt;Thanks so much!&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 03:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632316#M21061</guid>
      <dc:creator>bnd</dc:creator>
      <dc:date>2020-03-16T03:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632317#M21062</link>
      <description>&lt;P&gt;Okay, now I understand! Thanks so much!&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 03:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632317#M21062</guid>
      <dc:creator>bnd</dc:creator>
      <dc:date>2020-03-16T03:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Percentiles</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632531#M21087</link>
      <description>&lt;P&gt;The report procedures Tabulate and Report as well will do some percentiles. An example of calculating P25 and P75 for 3 variables, horsepower mpg_city and weight grouped by 3 categories, type drivetrain and number of cylinders from the SASHELP.CARS data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=sashelp.cars;
   class type  drivetrain cylinders;
   var horsepower mpg_city weight;
   table type  drivetrain cylinders,
         (horsepower mpg_city) *(p25 p75)
   ;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Mar 2020 20:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Calculating-Percentiles/m-p/632531#M21087</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-16T20:20:14Z</dc:date>
    </item>
  </channel>
</rss>

