<?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 percentiles in sas procs (univariate means ranks) vs. percentile function in excel in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635448#M30431</link>
    <description>&lt;P&gt;Could someone tell me the difference between a percentile calculation in excel or r vs. sas procedures.&amp;nbsp; I get different answers.&amp;nbsp; If it makes any difference, the numbers have like 20 decimal places.&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 21:16:11 GMT</pubDate>
    <dc:creator>telligent</dc:creator>
    <dc:date>2020-03-27T21:16:11Z</dc:date>
    <item>
      <title>percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635448#M30431</link>
      <description>&lt;P&gt;Could someone tell me the difference between a percentile calculation in excel or r vs. sas procedures.&amp;nbsp; I get different answers.&amp;nbsp; If it makes any difference, the numbers have like 20 decimal places.&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 21:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635448#M30431</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2020-03-27T21:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635452#M30432</link>
      <description>&lt;P&gt;There isn't a single definition for percentiles, there are 5+ definitions I'm aware of and if you check the PROC UNIVARIATE documentation it goes over some of the different options and how they differ.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know if there's a way to match excel's but I'd recommend against using Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_details14.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=procstat&amp;amp;docsetTarget=procstat_univariate_details14.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 21:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635452#M30432</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-27T21:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635453#M30433</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279298"&gt;@telligent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Could someone tell me the difference between a percentile calculation in excel or r vs. sas procedures.&amp;nbsp; I get different answers.&amp;nbsp; If it makes any difference, the numbers have like 20 decimal places.&amp;nbsp; Thanks.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know SAS uses IEEE 64 bit floating point numbers.&amp;nbsp; And I think Excel does also.&amp;nbsp; 20 decimal places is more decimal places that can be represented exactly with that level of precision.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 22:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635453#M30433</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-03-27T22:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635454#M30434</link>
      <description>&lt;P&gt;Actually excel has two functions, percentile.inc and percentile.exc.&amp;nbsp; SAS nearly matches the exc version.&amp;nbsp; Is there anyway to get SAS to do the inc. version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 22:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635454#M30434</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2020-03-27T22:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635456#M30435</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279298"&gt;@telligent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Actually excel has two functions, percentile.inc and percentile.exc.&amp;nbsp; SAS nearly matches the exc version.&amp;nbsp; Is there anyway to get SAS to do the inc. version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The Univariate procedure has an option PCTLDEF that defines the method to calculate percentiles, with optional values 1 through 5. The default is 5. I don't know what the difference may be between the Excel functions so leave it to you&amp;nbsp; to find a match. Another option may be Proc Rank with groups of 100 (though the results will be 0 to 99) which has a number of ways of using the tied values of a variable, which is likely the main difference involved since percentiles are order statistics.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 22:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635456#M30435</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-03-27T22:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635492#M30437</link>
      <description>&lt;P&gt;Percentiles are also called quantiles. Others have mentioned that there are many definitions to obtain the sample quantiles. If you would like to learn more about the five methods that SAS supports, see &lt;A href="https://blogs.sas.com/content/iml/2017/05/22/quantile-definitions-sas.html" target="_self"&gt;"Quantile definitions in SAS."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In fact, there are even definitions that SAS does not (natively) support. I compare all nine definitions show how to compute them all in SAS in the article, &lt;A href="https://blogs.sas.com/content/iml/2017/05/24/definitions-sample-quantiles.html" target="_self"&gt;"Sample quantiles: A comparison of 9 definitions."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 11:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635492#M30437</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-03-28T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635494#M30438</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279298"&gt;@telligent&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Actually excel has two functions, percentile.inc and percentile.exc.&amp;nbsp; SAS nearly matches the exc version.&amp;nbsp; Is there anyway to get SAS to do the inc. version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Tell us exactly the formula that percentile.inc uses.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 11:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635494#M30438</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-28T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635536#M30439</link>
      <description>&lt;P&gt;&lt;A href="https://access-excel.tips/excel-percentile-inc-vs-percentile-exc/" target="_blank"&gt;https://access-excel.tips/excel-percentile-inc-vs-percentile-exc/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article explains them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 17:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635536#M30439</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2020-03-28T17:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635542#M30440</link>
      <description>&lt;P&gt;Then it should be clear that percentile.inc does not have an exact equivalent in SAS.&lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 28 Mar 2020 18:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635542#M30440</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-28T18:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: percentiles in sas procs (univariate means ranks) vs. percentile function in excel</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635544#M30441</link>
      <description>&lt;P&gt;Yes, I tried all 5 and none matched.&amp;nbsp; I haven't tried the additional 4 that Rick_SAS posted yet.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 18:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/percentiles-in-sas-procs-univariate-means-ranks-vs-percentile/m-p/635544#M30441</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2020-03-28T18:23:51Z</dc:date>
    </item>
  </channel>
</rss>

