View unanswered posts | View active topics It is currently 16 Aug 2018



Reply to topic  [ 6 posts ] 
 Quantile 
Author Message

Joined: 01 Mar 2013
Posts: 15
space
Hello everyone,
I’m getting into the Quantile section and there is something that is troubling me:
According to material:
“the yth percentile is the value at or below which Y percent observations lie”.
So if I go from there, if I have 50 observations and I want 10th percentile, I should look at observation number 5 (50*10%), which will encompass 10% of my observations.
However, if I take material example, they use the formula for linear interpolation and got: (50+1)*(10/100) = 5.1 which is quite different from 5.
I understand the theory and why this formula is used when you cannot find an exact percentile (15th percentile here for example) but i don’t understand the logic from the above exemple.
The point which is even troubling me more is that, if you take the 50th percentile, it gives you the median: (50+1)*(50/100) = (25+26)/2 so the formula is correct.
Thank you for your help.
Alexx


08 Jul 2015
Profile
space

Joined: 01 Mar 2013
Posts: 15
space
I think this is like the case when you count the years of a project, guess the following:
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
How many years are displayed? 2017 - 2008 ? or 2017 - 2008 + 1 ?
From the beggining of 2008 to the end of 2015 there are 10 years, not 9. So need to adjust it with the (+1)
Since the quartiles calculated as (n+1) y/100 is a measure of location we need to add the +1 to correctly considerate the first or the last observation as an observation too.
From your 50-observation 10th percentile example it must be 5.1 to correctly consider 5 observations inside it. And the 50th percentile is 25.5 to correctly consider 25 observations. But the decimal in both cases will give you the exact intrapolation you need to get exactly the 5% and the 50% observations inside those percentiles.


08 Jul 2015
Profile
space

Joined: 01 Mar 2013
Posts: 12
space
Thank you @harrogath for the explanation


08 Jul 2015
Profile
space

Joined: 01 Mar 2013
Posts: 22
space
I spent a good amount of time agonizing over this same question. I ended up reaching out to a math professor. He said that quantiles, and specifically percentiles, can be very tricky as there is no standard definition.
The CFA curriculum defines the percentile “y” as the value AT or BELOW “y” percent of the distribution lies. Let’s call this “definition one.”
There’s an alternative definition that says the percentile “z” corresponds to the smallest value within the distribution that is greater than “z” percent of the distribution. Let’s call this “definition two.”
Here is some numerical data to help demonstrate what’s going on here:
Rank – Value
1 – 3
2 – 5
3 – 7
4 – 8
5 – 9
6 – 11
7 – 13
8 – 15
Let’s calculate the 25th percentile.
By the first definition (the smallest value greater than or equal to 25% of the scores), the 25th percentile would be 5. That’s because rank positions 1 and 2 represent 25% of the total number of data points.
By the second definition (the smallest value greater than 25% of the scores), the 25th percentile woulud be 7.
There’s a third procedure for finding the percentile and it happens to be the one used by the CFA. The formula is familiar: L = (n + 1) * y/100
This procedure is the WEIGHTED AVERAGE of the first two definitions. (Follow the link below if you need help convincing yourself of that point.)
(The source for all of this: http://onlinestatbook.com/2/introductio ... tiles.html)
What’s interesting and a bit frustrating is that the DEFINITION provided by the CFA curriculum does not match the PROCEDURE (or formula) they provide.


08 Jul 2015
Profile
space

Joined: 01 Mar 2013
Posts: 13
space
Thank you drzaius7.
That’s what I thought; that first definition is AT or BELOW, meaning <=, while the formula is for STRICTLY BELOW, meaning <.
I believe the problem comes from the material where it is not very clear between the definition and the exercice.


08 Jul 2015
Profile
space

Joined: 26 Jul 2015
Posts: 2
space
tks the answer of sun_ph123 . It's an important information

_________________
Online updates fastest score at 7m, xoc dia


15 Sep 2015
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Registered users: Bing [Bot], Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Copyright © 2004-2017 AnalystSpace.net. All Rights Reserved