Difference between revisions of "Percentile Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|statistics}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|statistics}}
;Percentile[ &lt;List of Numbers>, <Percent> ]
+
;Percentile( &lt;List of Numbers>, <Percent> )
 
: Let ''P'' equal the given ''Percent''.  
 
: Let ''P'' equal the given ''Percent''.  
 
:Returns the value that cuts off the first ''P'' percent of the ''list of numbers'', when the list is sorted in ascending order.  ''Percent'' must be a number in the interval ''0 < P ≤ 1''.
 
:Returns the value that cuts off the first ''P'' percent of the ''list of numbers'', when the list is sorted in ascending order.  ''Percent'' must be a number in the interval ''0 < P ≤ 1''.

Revision as of 16:16, 7 October 2017


Percentile( <List of Numbers>, <Percent> )
Let P equal the given Percent.
Returns the value that cuts off the first P percent of the list of numbers, when the list is sorted in ascending order. Percent must be a number in the interval 0 < P ≤ 1.
Example:
Percentile[{1, 2, 3, 4}, 0.25] yields 1.25.


Note: The commands Quartile and Percentile use different rules and do not always return matching results.
Example:
Q1[{1, 2, 3, 4}] yields 1.5.
Percentile[{1, 2, 3, 4}, 0.25] yields 1.25.
© 2024 International GeoGebra Institute