Module: Editor
Version: 5.1.4 +
Description
The formula 'Percentile' returns the percentile of a matrix over a specified dimension. This formula is changed in Futurama 5.3.0. See this page for more information.
Parameters
Matrix: the matrix you want to take the percentile of.
Percentile: the percentile value from 0 to 1.
Dimension: the dimension you want to take the percentile of. 1 means rows (downwards), 2 means columns (rightwards).
Example
Description
In the following example the formula 'Percentile' is used to take the 50% percentile of a matrix.
Values parameters
Matrix:
Percentile: 0,9
Dimension: 1
Result
Number: 6,8
This result is calculated by:
- ordening the array from small to large: {2,3,4,8}
- first index in the array is 0, last index in the array is n-1 (in this example 3)
- 90% percentile is index 90% * 3 = 2,7
- interpolation between the values at index 2 and index 3 as follows: 30% * 4 + 70% * 8 = 6,8
Feedback
If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.