The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to calculate quantiles
Replies: 4   Last Post: Jan 4, 2013 9:29 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
gus gassmann

Posts: 60
Registered: 7/26/12
Re: How to calculate quantiles
Posted: Jan 4, 2013 8:23 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 03/01/2013 4:50 PM, Cristiano wrote:
> On 03/01/2013 21:01, James Waldby wrote:
>> I think William Elliot either missed the point, or is being purposefully
>> obtuse to suggest that the phrasing of your question is not correct and
>> complete in every jot and tittle.

> My English is poor, but I hope that it is clear enough. :-)

>> Regarding computing those quantiles, I presume the question is which of
>> the possible interpolation methods to use.

> That is the second question. :-)
> The main problem is that I have just 10^4 to 10^7 samples and I need to
> calculate the quantile for 10^-7 or lesser and .9999999 or greater.

If you only have 10^4 samples, then any estimate of the 10^(-7) quantile
is going to have pretty serious estimation error attached to it. Even if
you have 10^7 samples, the 10^(-7) quantile is determined by a single
observation. I would not put too much stock into that estimate. More to
the point, one is tempted to ask *why* you need this tail quantiles.
What kind of precision do you require?

>> Referring to the table at
>> <>
>> ten methods are shown. When q > N, every one of those methods uses x_1
>> as the first q-quantile, and x_N as the last. (q = total number of
>> quantiles and N = sample size.)
>> So, in linear time, just find the min and max values in your sample, and
>> report them as the two desired q-quantiles.

> I'm using R-2, SAS-5.

>> To do better than that, you need to make assumptions about the
>> distribution.

> Unfortunately, the distribution is unknown because it is the A^2
> statistic which comes from the Anderson-Darling test.
> Cristiano

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.