{"id":"stats-percentile","version":"1.0.0","description":"Compute an exact percentile from decimal strings using a named Hyndman-Fan type 1 through 9.","supported_operations":["calculate a percentile","compute an exact quantile","use Hyndman Fan percentile type","find median by quantile method","percentile from decimal strings","compare percentile definitions"],"unsupported_operations":["weighted percentiles","approximate streaming quantiles"],"semantics":["method selects one of the nine sample-quantile definitions in Hyndman and Fan (1996).","p is an exact decimal from 0 through 1 and percentile is a reduced rational string."],"limits":{"max_input_bytes":16384,"max_items":256,"max_decimal_chars":128,"max_output_bytes":16384},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["values","p","method"],"properties":{"values":{"type":"array","minItems":1,"maxItems":256,"items":{"type":"string","minLength":1,"maxLength":128}},"p":{"type":"string","minLength":1,"maxLength":128},"method":{"type":"integer","minimum":1,"maximum":9}}},"output_schema":{"type":"object","additionalProperties":false,"required":["standard_version","method_name","percentile"],"properties":{"standard_version":{"type":"string"},"method_name":{"type":"string"},"percentile":{"type":"string"}}},"examples":[{"input":{"values":["1","2","3","4"],"p":"0.5","method":7},"output":{"standard_version":"Hyndman-Fan-1996; NIST-SEMATECH-e-Handbook-1.3.5","method_name":"Hyndman-Fan type 7: linear_n_minus_1","percentile":"5/2"}},{"input":{"values":["1","2","3","4"],"p":"0.25","method":1},"output":{"standard_version":"Hyndman-Fan-1996; NIST-SEMATECH-e-Handbook-1.3.5","method_name":"Hyndman-Fan type 1: inverse_empirical_distribution","percentile":"1/1"}}],"execute_url":"/v1/tools/stats-percentile/versions/1.0.0/execute"}