percentile_nearest_rank

percentile_nearest_rank(source, period, percentage)
Parameters
  • source (series) – Input series

  • period (integer) – Input period

  • percentage (numeric) – Percentage to select. Must be in the \([0,100]\) range.

Returns

series

Calculates percentile using the method of Nearest Rank.