Percentile

logic · N103 · starter-package 7.0.1

Find a percentile from 0 to 100 by linearly interpolating sorted observations at (n−1) × p/100. A nonempty numeric list is required. Set 50 for the median.

Example

Connected values

{"items":[30,0,20,10],"percent":25}

Result

{"value":7.5}

Connector data types

DirectionConnectorTypeRequired
Inputitems — Itemslistyes
Inputpercent — Percentnumberyes
Outputvalue — Valuenumberon success

Errors and recovery

Supply at least one number. Use 90 for the 90th percentile. A percentage outside 0 through 100 is invalid.