Frequency Distribution and Histogram Binning
A frequency distribution counts how many observations fall in each category or class interval, with class widths set by Sturges, Scott or Freedman–Diaconis rules, plus relative and cumulative frequencies.
도수분포는 범주나 계급 구간마다 관측 수를 세어 상대·누적 도수와 함께 정리하며, 계급 폭은 Sturges·Scott·Freedman–Diaconis 규칙으로 정합니다.
How many classes should my histogram have, and how do I build a frequency table with cumulative percentages?
히스토그램 계급을 몇 개로 나눠야 하고, 누적 백분율이 있는 도수분포표는 어떻게 만드나요?
The class width can follow Sturges' rule (⌈log₂ n + 1⌉ classes), Scott's rule (3.49·s·n^(−1/3)) or the Freedman–Diaconis rule (2·IQR·n^(−1/3)), which is robust to outliers. The table lists frequency, relative frequency, percent and cumulative counts for each class or category, identifies the modal class, and is drawn as a histogram and ogive.
When to use Frequency Distribution and Histogram Binning
- Describing the distribution of a single variable in a report.
- Choosing histogram bins in a reproducible way.
- Summarising a categorical variable with counts and percentages.
When to use something else
- You want a smooth density estimate; use kernel density estimation instead.
- You want to test association between two categorical variables; use a chi-square test instead.
Assumptions and requirements
- Classes are mutually exclusive and cover the data range.
- Bin rules assume a roughly unimodal continuous variable.
What the analysis reports
- Frequency, relative frequency, percent and cumulative percent per class
- Class width and number of classes for each rule
- Modal class
- Histogram and ogive
How to report it
The frequency distribution of [variable] (N = [value]) was summarised in [number] classes ([rule] rule, width = [value]); the modal class was [class] ([value] cases, [value]%).
Related methods
- Kernel Density Estimation
- Descriptive Statistics
- Chi-Square Goodness-of-Fit Test
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Frequency Distribution and Histogram Binning on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.