Kernel Density Estimation
Kernel density estimation smooths a sample into a continuous density curve by averaging kernels centred on each observation, with the bandwidth controlling the amount of smoothing.
커널 밀도 추정은 각 관측에 커널을 얹어 평균해 표본을 연속 밀도 곡선으로 매끄럽게 만드는 방법이며, 띠폭이 평활 정도를 정합니다.
Also known as: Kernel Density Mode Count and Bimodality Check; Kernel Density with Sheather–Jones Bandwidth
다른 이름: 커널 밀도 봉우리 수와 이봉성 점검; Sheather–Jones 대역폭 커널 밀도
How can I see the shape of my variable's distribution and check whether it has more than one peak?
변수의 분포 모양을 보고 봉우리가 두 개 이상인지 확인하려면 어떻게 하나요?
A kernel density estimate places a small Gaussian or Epanechnikov bump on each observation and averages them, with the bandwidth chosen by Silverman's or Scott's rule, the Sheather–Jones plug-in or least-squares cross-validation. The curve shows modes and antimodes, a bootstrap band shows its variability, and Silverman's critical-bandwidth test assesses whether more than one mode is supported.
When to use Kernel Density Estimation
- You want a smooth picture of a continuous distribution.
- You suspect bimodality or mixed subpopulations.
- You want to compare distribution shapes across groups.
When to use something else
- The variable is categorical or takes few distinct values; use a frequency table instead.
- You need a formal test against a named distribution; use a goodness-of-fit test such as Shapiro–Wilk or Kolmogorov–Smirnov instead.
Assumptions and requirements
- Observations are independent draws from a continuous distribution.
- The bandwidth is appropriate; heavy ties or bounded supports distort the estimate near boundaries.
What the analysis reports
- Density curve on a grid with pointwise bootstrap band
- Bandwidth by the chosen rule and alternatives
- Locations of modes and antimodes
- Silverman test p-value for unimodality
- Per-group modes and bandwidths when a group column is given
How to report it
A kernel density estimate of [variable] ([kernel] kernel, [rule] bandwidth h = [value], N = [value]) showed [number] modes, the highest at [value]; Silverman's test for unimodality gave p = [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Kernel Density Estimation itself, at the same price.
- Kernel Density with Scott's Bandwidth — bandwidth set to “scott”
- Kernel Density with Silverman's Bandwidth — bandwidth set to “silverman”
- Kernel Density with Epanechnikov Kernel — kernel set to “epanechnikov”
- Oversmoothed (Terrell) bandwidth KDE — bandwidth set to “oversmoothed”
- Triangular kernel density estimate — kernel set to “triangular”
- Bivariate kernel density with HPD contours —
- Kernel density with biweight kernel — kernel set to “biweight”
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Kernel Density Estimation on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.