Skip to content

Methods · Descriptive statistics · Density estimation

Local Polynomial Density Estimation

Local polynomial density estimation estimates a probability density by fitting a small weighted polynomial to the empirical distribution function around each point and reading off its slope. Because it smooths the distribution function rather than placing kernels on the data, it stays accurate at the edges of the support, where an ordinary kernel density estimate is biased downwards.

국소 다항식 밀도추정은 각 지점 주변에서 경험분포함수에 가중 다항식을 맞추고 그 기울기를 밀도로 읽는 방법입니다. 자료 위에 커널을 얹는 대신 분포함수를 평활하므로, 일반 커널 밀도추정이 과소추정되는 지지구간의 경계에서도 정확도가 유지됩니다.

What does the density of this variable look like, including near a natural boundary such as zero or a policy cutoff, and how precise is the density at each point?

이 변수의 밀도가 0이나 정책 기준점 같은 자연스러운 경계 근처를 포함해 어떤 모양인지, 그리고 각 지점의 밀도가 얼마나 정밀한지 알고 싶습니다.

Around each evaluation point the empirical distribution function is regressed on a polynomial in the distance to that point with kernel weights; the first-order coefficient is the density. Standard errors come from the influence of each observation on the empirical distribution function, giving confidence intervals at every point. The bandwidth can be set by the user or taken from a normal-reference rule of thumb.

When to use Local Polynomial Density Estimation

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A local polynomial density estimator (order 2, triangular kernel, h = [value]) gave a density of [value] at [value], 95% CI [[value], [value]] (N = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-8.

    독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Local Polynomial Density Estimation on Quorant

Data you need
a table (CSV or Excel) with an outcome variable
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q16030 · Reviewed 2026-10-25