Semiparametric Density Estimation (Hjort-Glad Parametric Start)
Semiparametric density estimation with a parametric start begins with a fitted parametric density, such as a normal, lognormal or gamma, and multiplies it by a kernel estimate of how the data depart from that start. When the start is close to the truth the correction is almost flat and the estimate is less biased than a plain kernel estimate.
모수 출발점을 둔 준모수 밀도 추정은 정규, 로그정규, 감마 같은 모수 밀도를 먼저 적합한 뒤, 자료가 그 출발점에서 얼마나 벗어나는지를 커널로 추정해 곱합니다. 출발점이 참 분포에 가까우면 보정이 거의 평평해져 일반 커널 추정보다 편향이 작습니다.
Is my variable roughly normal (or lognormal, or gamma), and how does its actual distribution depart from that model?
변수가 대략 정규분포(또는 로그정규, 감마)를 따르는지, 실제 분포가 그 모형에서 어디서 어떻게 벗어나는지 알고 싶습니다.
The parametric start is fitted by maximum likelihood, and a Gaussian-kernel correction with a bandwidth chosen by leave-one-out likelihood cross-validation is applied. The density, the start density and the correction factor are tabulated, and the cross-validated log-likelihood is compared with that of a plain kernel estimate.
When to use Semiparametric Density Estimation (Hjort-Glad Parametric Start)
- A parametric family describes the data roughly, and you want a nonparametric estimate that keeps its good parts.
- You want to see where the data depart from a normal, lognormal or gamma model.
- Samples are moderate and a plain kernel estimate looks too bumpy or too flat.
When to use something else
- You have no parametric guide at all: use Kernel Density Estimation
- You only want to test whether the data are normal: use Shapiro-Wilk Test
- You want to compare fitted distributions visually: use Probability Plots for Fitted Distributions (Q-Q and P-P)
Assumptions and requirements
- Observations are independent and continuous
- Lognormal and gamma starts need positive values
- The estimator need not integrate exactly to one; its total mass is reported
What the analysis reports
- Density, start density and correction factor on a grid
- Fitted start parameters and the bandwidth
- Cross-validated log-likelihood against a plain kernel estimate
- Total mass of the estimate
How to report it
A semiparametric density estimate with a normal start (Hjort & Glad 1995) used bandwidth h = [value] chosen by likelihood cross-validation; its cross-validated mean log-likelihood was [value] against [value] for a plain kernel estimate.
Related methods
- Kernel Density Estimation
- Penalized Likelihood Density Estimation
- Probability Plots for Fitted Distributions (Q-Q and P-P)
- Shapiro-Wilk Test
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-8.
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Semiparametric Density Estimation (Hjort-Glad Parametric Start) 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.