Percentile
Overview
This operator calculates the specified percentile of the input buffer, and will place this value at the output as a scalar.The algorithm used, uses linear interpolation between the two nearest ranks, to get the result.
Operator ports
Input V_in: Specific sample type, see below.Output S_out: Floating point values
Properties
Find more information about changing properties here: "Properties Viewer"Percentile
type: Real valueThe requested percentile of the input vector. This is a value between 0 and 100.
Caption
type: Word or phraseThe name of the object in the project. This name must not contain '.', '$' nor '@' characters.
For more information about the rules and usage of the Caption property, please refer to "Caption property - background and usage".
Documentation
type: See descriptionOptional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.
Variable Parameters
Find more information about Variable Parameters here: "Variable Parameters"Percentile
type: See descriptionThe requested percentile of the input vector. This is a value between 0 and 100.
Details
The Percentile operator works as follows:Firstly, the (real) values in the buffer at the input are ordered from small to large, to get the order statistics. Then the value is found that is greater or equal to N percent of all values in the buffer. N is the percentile value you specify in the properties.
If the Nth order statistic is not an integer, but equal to r plus some fraction, then a weighted average of the rth and the (r + 1)th order statistic is calculated.
Using this operator, you can also find the median, the quartiles and deciles of the sample.