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
- You want a smooth density estimate with a likelihood, AIC and effective degrees of freedom.
- The density may be skewed or multimodal and you want the estimate to shrink towards a normal shape where the data are sparse.
- You need a positive density that integrates to one by construction.
When to use something else
- You only need a quick smooth curve with a standard bandwidth: use Kernel Density Estimation
- You believe the data come from a few normal subpopulations: use Gaussian Mixture Model (GMM)
- You want counts in bins for a report table: use Frequency Distribution and Histogram Binning
Assumptions and requirements
- Observations are independent draws from one continuous distribution
- The support is the data range widened on each side unless known limits are given
- Pointwise bands describe variability only and ignore smoothing bias
What the analysis reports
- Density on a grid with pointwise 95% variability bands
- Smoothing parameter, effective degrees of freedom, log-likelihood and AIC or BIC
- Mean, SD, median and mode of the fitted density
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
- Kernel Density Estimation
- Semiparametric Density Estimation (Hjort-Glad Parametric Start)
- Wavelet Density Estimation (Haar, Thresholded)
- Gaussian Mixture Model (GMM)
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.