Difference between revisions of "Percentile Command"
From GeoGebra Manual
Line 8: | Line 8: | ||
{{Note | 1= The commands Quartile and Percentile use different rules and do not always return matching results. For example, | {{Note | 1= The commands Quartile and Percentile use different rules and do not always return matching results. For example, | ||
:: Q1[ {1,2,3,4} ] = 1.5 | :: Q1[ {1,2,3,4} ] = 1.5 | ||
− | :: Percentile[ {1,2,3,4}, .25 ] = 1 | + | :: Percentile[ {1,2,3,4}, .25 ] = 1 |
}} | }} |
Revision as of 09:08, 28 July 2011
- Percentile[<List of Numbers>, <Percent>]
- Let P equal the given Percent.
- Returns the value that cuts off the first P percent of the number list when the list is sorted in ascending order. Percent must be a number in the interval 0 < P ≤ 1.
Note: The commands Quartile and Percentile use different rules and do not always return matching results. For example,
- Q1[ {1,2,3,4} ] = 1.5
- Percentile[ {1,2,3,4}, .25 ] = 1