Difference between revisions of "Documentation/How Tos/Calc: PERCENTILE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
m |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:PERCENTILE function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_MINA_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_PERCENTRANK_function | ||
+ | }}__NOTOC__ | ||
== PERCENTILE == | == PERCENTILE == | ||
Line 9: | Line 14: | ||
: <tt>'''PERCENTILE'''</tt> returns the value below which <tt>'''fraction'''</tt> of the numbers in <tt>'''numberlist'''</tt> lie. <tt>'''fraction'''</tt> must be between 0 and 1 inclusive; <tt>'''numberlist'''</tt> is a range or array of numbers, not necessarily in order. | : <tt>'''PERCENTILE'''</tt> returns the value below which <tt>'''fraction'''</tt> of the numbers in <tt>'''numberlist'''</tt> lie. <tt>'''fraction'''</tt> must be between 0 and 1 inclusive; <tt>'''numberlist'''</tt> is a range or array of numbers, not necessarily in order. | ||
− | : <tt>'''PERCENTILE'''</tt> internally assigns a rank to each number in <tt>'''numberlist'''</tt>, where 0 is the rank of the lowest number, 1 of the next lowest and so on. The rank ''r'' of the value to be found is <tt>'''fraction'''</tt> * (''N''-1), where ''N'' is the count of numbers in <tt>'''numberlist'''</tt>. If ''r'' is integer the corresponding value from <tt>'''numberlist'''</tt> is returned; otherwise the value is calculated proportionately between the values with rank |''r''| and |''r''|+1 (see the examples). | + | : <tt>'''PERCENTILE'''</tt> internally assigns a rank to each number in <tt>'''numberlist'''</tt>, where 0 is the rank of the lowest number, 1 of the next lowest and so on. The rank ''r'' of the value to be found is <tt>'''fraction'''</tt> * (''N''-1), where ''N'' is the count of numbers in <tt>'''numberlist'''</tt>. If ''r'' is an integer, the corresponding value from <tt>'''numberlist'''</tt> is returned; otherwise the value is calculated proportionately between the values with rank |''r''| and |''r''|+1 (see the examples). |
: This function may be useful for example when determining a score below which lies a certain percentage of all scores for a test. It is of limited use with a small list of numbers. | : This function may be useful for example when determining a score below which lies a certain percentage of all scores for a test. It is of limited use with a small list of numbers. | ||
Line 31: | Line 36: | ||
* Despite its name, <tt>'''PERCENTILE'''</tt> requires a fraction, not a percentage. | * Despite its name, <tt>'''PERCENTILE'''</tt> requires a fraction, not a percentage. | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: QUARTILE function|QUARTILE]] | * [[Documentation/How_Tos/Calc: QUARTILE function|QUARTILE]] | ||
* [[Documentation/How_Tos/Calc: PERCENTRANK function|PERCENTRANK]] | * [[Documentation/How_Tos/Calc: PERCENTRANK function|PERCENTRANK]] | ||
Line 43: | Line 48: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
− | [[Category: Documentation]] | + | [[Category: Documentation/Reference/Calc/Statistical functions]] |