百分度计算器
查找数据集中任何百分位数和四位数的值。
输入结果时更新 。
关于此计算器
A percentile is the value below which a given percentage of the data falls — the 90th percentile is the point beneath which 90% of the values lie. Percentiles turn a raw number into a rank you can interpret: a test score at the 90th percentile beat 90% of the other scores.
This calculator uses the linear-interpolation method, the same as the spreadsheet PERCENTILE.INC function. It sorts the data, computes a rank of (p ÷ 100) × (n − 1), and if that rank falls between two positions it interpolates linearly between the neighbouring values. It also returns the full five-number summary (minimum, first quartile, median, third quartile and maximum) and the interquartile range.
Worked example: for 5, 7, 8, 12, 14, 18, 21, 25, 30, 35 (ten values) the 90th percentile has rank 0.90 × 9 = 8.1, which lies between the values at positions 8 and 9 (30 and 35); interpolating 0.1 of the way gives 30 + 0.1 × 5 = 30.5. A table below gives the percentile rank of every value, which is handy for growth charts, exam scoring and benchmarking.
经常问到的问题
百分位值是如何计算的?
The data is sorted and a rank of (p/100)·(n − 1) is computed. If that rank is a whole number the value at that position is returned; otherwise the calculator interpolates linearly between the two neighbouring values. This is the inclusive (PERCENTILE.INC) method.
百分位数和四分位数有什么区别?
剖面是将数据分成四个等分部分的具体百分点:第一个四分位是第25百分位,第二个是第50百分位(中位数),第三个是第75百分位。
内部的距离是多少?
内径范围是第三个四分位数减去第一个数据,即数据中50%的间隔。由于它忽略了上层和下层,因此它是可靠的扩散量,常常用来标记外层。
90百分百是什么意思?
90%的数据都处于这个值之下, 所以只有10%的观测值更高。 测试的第90百分位点显示您比其他测试对象的90%做得更好 。
50%的百分位数和中位数相同吗?
是的。第50百分位法将数据分割,这样一半的值会低于它,这正是中位值的定义。
为什么不同的工具会给出 略微不同的百分位数?
有几个公认的百分位数定义。 这个计算器使用包容性线性内插(PERCENTILE.INC); 独家方法(PERCENTILE.EXC)和最接近的位法将百分位数稍有差别,因此结果在工具之间可能略有不同,特别是在小数据集方面。
API - 使用代码中的计算器
将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →
终点
GET https://calculator.free/api/v1/percentile/
curl
curl "https://calculator.free/api/v1/percentile/?numbers=5, 7, 8, 12, 14, 18, 21, 25, 30, 35&p=90"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/percentile/?" + new URLSearchParams({
"numbers": "5, 7, 8, 12, 14, 18, 21, 25, 30, 35",
"p": "90"
}));
const data = await r.json();
console.log(data.results);
成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。