<?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 Proc Univariate and the 90th Percentile in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282719#M57493</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some questions, regarding percentiles in proc univariate. I am able to calculate the percentiles from 50 to 100 by 5 using the below output statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output &amp;nbsp;pctlpre=P_ pctlpts=50 to 100 by 5 ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When doing so I get the 80-100th percentile equal a success rate of 100. Does this mean that any one with a success rate of 100 belongs in all of these percentiles? Also, is there a way that I can have sas create a data set for me with a column indicateing what percentile everyone belongs in?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="3" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;ID&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;SR&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Pct&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD align="right"&gt;82&lt;/TD&gt;
&lt;TD align="right"&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;3&lt;/TD&gt;
&lt;TD align="right"&gt;97&lt;/TD&gt;
&lt;TD align="right"&gt;70&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would that work with 80-100 being equal?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 15:58:43 GMT</pubDate>
    <dc:creator>BStats</dc:creator>
    <dc:date>2016-07-07T15:58:43Z</dc:date>
    <item>
      <title>Proc Univariate and the 90th Percentile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282719#M57493</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some questions, regarding percentiles in proc univariate. I am able to calculate the percentiles from 50 to 100 by 5 using the below output statement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output &amp;nbsp;pctlpre=P_ pctlpts=50 to 100 by 5 ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When doing so I get the 80-100th percentile equal a success rate of 100. Does this mean that any one with a success rate of 100 belongs in all of these percentiles? Also, is there a way that I can have sas create a data set for me with a column indicateing what percentile everyone belongs in?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="3" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;ID&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;SR&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Pct&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD align="right"&gt;82&lt;/TD&gt;
&lt;TD align="right"&gt;50&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;3&lt;/TD&gt;
&lt;TD align="right"&gt;97&lt;/TD&gt;
&lt;TD align="right"&gt;70&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How would that work with 80-100 being equal?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 15:58:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282719#M57493</guid>
      <dc:creator>BStats</dc:creator>
      <dc:date>2016-07-07T15:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate and the 90th Percentile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282739#M57502</link>
      <description>&lt;P&gt;It probably reflects either the number of responses or the number of unique responses in your data.&lt;/P&gt;
&lt;P&gt;If you only have 5 response for instance, 1,2,3,4,5 then the Value 5 would have percentiles from 85 to 100.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to clarify exactly what you mean for percentile if you have fewer than 100 responses to work with as in that case you will have multiple integer percentiles (1, 2, 3,&amp;nbsp; ...,98,99) possible for the same value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way would be to use PROC Rank with groups = 100 for your numeric variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc rank data=have out=want groups=100;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var variablename;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ranks variablenamerank;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 16:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282739#M57502</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-07T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate and the 90th Percentile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282741#M57504</link>
      <description>&lt;P&gt;I have over 250 observation with 20 unique success rates.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 17:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282741#M57504</guid>
      <dc:creator>BStats</dc:creator>
      <dc:date>2016-07-07T17:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Univariate and the 90th Percentile</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282778#M57518</link>
      <description>&lt;P&gt;If you have 20 unique values then each one will represent a percentile group of 5% roughly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This depends a bit on how you define your percentiles. Look at the PCTLDEF option in Proc Univariate to see your options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/63104/HTML/default/viewer.htm#procstat_univariate_sect028.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/procstat/63104/HTML/default/viewer.htm#procstat_univariate_sect028.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 19:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Univariate-and-the-90th-Percentile/m-p/282778#M57518</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-07T19:55:46Z</dc:date>
    </item>
  </channel>
</rss>

