🔍

首页Home › 数学工具Math

📈 相对频率与频率分布表Relative Frequency Calculator & Frequency Table

两种模式:单个事件的相对频率 = 次数 ÷ 总数;或粘贴原始数据(空格、逗号或换行分隔)或“值:次数”表,生成频率分布表(频数、相对频率、百分比、累计频率)。本地处理。Two modes: relative frequency of one event = count ÷ total, or paste raw data (separated by spaces, commas or line breaks) or a value:count table to get a frequency table with counts, relative frequency, percentage and cumulative frequency. Processed locally.

数据(频率分布表模式)Data (frequency table mode)

使用说明与常见问题How-to & FAQ

「相对频率与频率分布表」是什么?What is the Relative Frequency Calculator & Frequency Table tool?

两种模式:单个事件的相对频率 = 次数 ÷ 总数;或粘贴原始数据(空格、逗号或换行分隔)或“值:次数”表,生成频率分布表(频数、相对频率、百分比、累计频率)。本地处理。Two modes: relative frequency of one event = count ÷ total, or paste raw data (separated by spaces, commas or line breaks) or a value:count table to get a frequency table with counts, relative frequency, percentage and cumulative frequency. Processed locally.

如何使用「相对频率与频率分布表」?How do I use the Relative Frequency Calculator & Frequency Table tool?

在「相对频率与频率分布表」中,填写「模式」、「次数」、「总数」等参数,结果会随输入实时计算并显示在下方。In the Relative Frequency Calculator & Frequency Table: Fill in "Mode", "Count", "Total"; results are recalculated instantly as you type.

频率分布表怎么生成?How is the frequency table built?

粘贴原始数据(用空格、逗号或换行分隔),或“值:次数”(每行一个,或在同一行用逗号 / 空格分隔,冒号可用全角“:”)。页面统计每个值的频数,相对频率 = 频数 ÷ 总数,百分比 = 相对频率 × 100,累计频率按表中顺序逐行相加。数值数据按从小到大排序,文字数据按首次出现的顺序列出。Paste raw data separated by spaces, commas or line breaks, or value:count pairs (one per line, or several on a line separated by commas or spaces; a full-width colon also works). The page counts each value; relative frequency = count ÷ total, percentage = relative frequency × 100, and cumulative frequency adds up the rows in table order. Numeric values are sorted from smallest to largest; text values keep the order in which they first appear.

为什么相对频率加起来不是正好 1?Why don't the rounded values add up to exactly 1?

每个相对频率保留 4 位小数,四舍五入后相加可能差 0.0001 左右;未四舍五入的值合计一定是 1,页面会显示四舍五入后的合计供核对。Each relative frequency is shown to 4 decimals, so the rounded values can be off by about 0.0001 in total; the unrounded values always add up to 1, and the page shows the rounded total for checking.

单个事件模式算什么?What does the single event mode give?

相对频率 = 次数 ÷ 总数,例如 25 次 / 100 次 = 0.25 = 25%。次数不能超过总数。Relative frequency = count ÷ total, so 25 out of 100 is 0.25 = 25%. The count cannot exceed the total.

能举个计算实例吗?Can you show a worked example?

例如在「相对频率与频率分布表」中填 模式 = 单个事件(次数 ÷ 总数),次数 = 25,总数 = 100,结果区显示:相对频率:0.25;百分比:25%;ℹ 相对频率 = 25 ÷ 100For example, entering Mode = Single event (count ÷ total), Count = 25, Total = 100 in the Relative Frequency Calculator & Frequency Table gives: Relative frequency: 0.25; Percentage: 25%; ℹ Relative frequency = 25 ÷ 100

哪些输入会被检查?Which inputs are validated?

「相对频率与频率分布表」会检查这些输入——「次数」:所选方式用到时必须填写,不能为负数;「总数」:可留空;绝对值超过 10¹⁵ 的数也会被拒绝。不符合时结果区显示具体提示,不会给出数字。The Relative Frequency Calculator & Frequency Table checks its inputs — "Count": required when the chosen option uses it, cannot be negative; "Total": optional; numbers above 10¹⁵ in absolute value are rejected too. When a value fails, the result area names the problem instead of showing a number.

有哪些选项可以调整?What options can I adjust?

「相对频率与频率分布表」的设置:「模式」可选 单个事件(次数 ÷ 总数)、频率分布表(原始数据或“值:次数”)(默认 单个事件(次数 ÷ 总数));「次数」默认 15;「总数」默认 100。每次生成结果都按当前设置处理。Settings in the Relative Frequency Calculator & Frequency Table — "Mode": Single event (count ÷ total), Frequency table (raw data or value:count) (default Single event (count ÷ total)); "Count" default 15; "Total" default 100. The result always uses the current settings.

计算精度如何?How precise are the results?

「相对频率与频率分布表」使用 JavaScript 双精度浮点数(约 15–16 位有效数字);极大或极小的数值可能存在精度误差。The Relative Frequency Calculator & Frequency Table uses double-precision floating point (about 15–16 significant digits); very large or very small values may lose precision.

「相对频率与频率分布表」免费吗?需要注册吗?Is the Relative Frequency Calculator & Frequency Table free? Do I need an account?

「相对频率与频率分布表」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Relative Frequency Calculator & Frequency Table is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

Δ 判别式与一元二次方程求根Discriminant & Quadratic Roots Calculator📍 线段端点与中点计算器(二维、三维)Endpoint & Midpoint Calculator (2D, 3D)sin 正弦计算器Sine Calculatorcos 余弦计算器(含 sin、tan、arccos 与余弦定理)Cosine Calculator (with sin, tan, arccos & Law of Cosines)// 平行与垂直线Parallel and Perpendicular Lines⚖️ 质心计算器(一维、二维、三维)Center of Mass Calculator (1D, 2D, 3D)🔟 十分位数计算器(D1–D9,含位置与插值)Decile Calculator (D1–D9 with Positions)📏 组距计算器(含斯特奇斯组数与频数表)Class Width Calculator (with Sturges Classes & Frequency Table)p̂ 样本比例 p̂ 计算器(标准误与置信区间)P-Hat Calculator (Sample Proportion, Standard Error & Confidence Interval)% 百分等级计算器(由数据或人数)Percentile Rank Calculator (from Data or Counts)🎯 准确率计算器(混淆矩阵与测量误差)Accuracy Calculator (Confusion Matrix & Measurement Error)eˣ 指数函数计算器(求值、反解 x、两点拟合)Exponential Function Calculator (Evaluate, Solve for x, Fit Two Points)

← 全部工具All tools