Logspline Density Estimation
A smooth density estimate in which the logarithm of the density is a natural cubic spline, fitted by maximum likelihood, with knots removed one by one and the final model chosen by BIC or AIC.
밀도의 로그를 자연 삼차 스플라인으로 두고 최대우도로 맞춘 매끄러운 밀도 추정입니다. 매듭을 하나씩 지우며 BIC나 AIC가 가장 작은 모형을 고릅니다.
What is the shape of the distribution of a continuous variable, without assuming a parametric family?
모수 분포를 가정하지 않을 때 연속 변수의 분포 모양은 어떻습니까?
The fitted density and distribution function on a grid, the selected knots, log-likelihood, AIC and BIC, and the mean, SD, median and mode of the fitted density.
When to use Logspline Density Estimation
- You want a smooth density that adapts its flexibility to the data
- Exponential-type tails are plausible and you want a proper likelihood for comparison
When to use something else
- A quick smoothing with a chosen bandwidth is enough : use Kernel Density Estimation
- Local bandwidths are needed for very uneven data : use Adaptive Kernel Density Estimation (Abramson Variable Bandwidth)
Assumptions and requirements
- Independent observations from a continuous distribution
- Smooth log density, linear in the tails beyond the extreme knots
- Known support bounds, if any, are given as lower/upper
What the analysis reports
- Density and CDF on a grid
- Selected knots with log-likelihood, AIC and BIC
- Knot deletion path
- Mean, SD, median and mode of the fitted density
How to report it
A logspline density with [value] knots (BIC = [value]) was fitted; it had mean [value] and mode [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).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Logspline 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.