Skip to content

Methods · Descriptive statistics · Density estimation

Penalized Likelihood Density Estimation

Penalized likelihood density estimation fits a smooth density by maximising the log-likelihood of the data minus a penalty on the roughness of the log-density. The log-density is a cubic spline, and the penalty on its third derivative pulls the fit towards a normal shape when the smoothing parameter is large.

벌점 가능도 밀도 추정은 자료의 로그가능도에서 로그밀도의 거칠기에 대한 벌점을 뺀 값을 최대화해 매끄러운 밀도를 추정합니다. 로그밀도를 3차 스플라인으로 두고 3계 도함수에 벌점을 주므로, 평활 모수가 크면 정규분포 모양으로 수렴합니다.

What is the shape of this variable's distribution when I want a smooth, likelihood-based estimate rather than a histogram or a kernel curve?

히스토그램이나 커널 곡선이 아니라 가능도에 근거한 매끄러운 분포 모양을 알고 싶습니다.

The log-density is a cubic B-spline over the data range, and the penalized log-likelihood is maximised exactly for each smoothing parameter. The smoothing parameter is chosen by AIC or BIC using the effective degrees of freedom, and the fitted density is tabulated with pointwise variability bands, its mean, SD, median and mode.

When to use Penalized Likelihood Density Estimation

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A maximum penalized likelihood density estimate with a third-derivative penalty on the log-density used lambda = [value] chosen by AIC ([value] effective degrees of freedom); the estimated density had its mode at [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-3.

    독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-3).

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 Penalized Likelihood 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 Q16039 · Reviewed 2026-10-25