Generalized Lambda Distribution Fit (FKML, L-Moments)
The generalized lambda distribution is defined through its quantile function rather than its density. In the FKML form it has a location, an inverse scale and two tail-shape parameters, and it is a valid distribution for every value of the shape parameters. It can mimic many common distributions, including near-normal, skewed and heavy-tailed ones.
일반화 람다 분포는 밀도가 아니라 분위수 함수로 정의되는 분포입니다. FKML 형식에서는 위치, 척도의 역수, 두 꼬리 모양 모수를 가지며 모양 모수가 어떤 값이든 분포가 성립합니다. 정규에 가까운 분포, 치우친 분포, 꼬리가 두꺼운 분포 등 여러 분포를 흉내 낼 수 있습니다.
I need one flexible distribution that reproduces the location, spread, skewness and tail weight of my data, for example to simulate from it. How do I fit a generalized lambda distribution?
자료의 위치, 퍼짐, 치우침, 꼬리 두께를 함께 재현하는 유연한 분포 하나가 필요합니다. 예를 들어 모의실험에 쓰려 합니다. 일반화 람다 분포를 어떻게 적합하나요?
The four parameters are chosen so that the first four L-moments of the distribution equal those of the sample. When several solutions exist, the one with the largest likelihood is kept and the others are listed. Bootstrap percentile intervals, the support, the median and outer quantiles are reported, and the fit is summarised by goodness-of-fit statistics.
When to use Generalized Lambda Distribution Fit (FKML, L-Moments)
- You want a flexible distribution to simulate realistic values in Monte Carlo studies.
- The data are skewed or heavy-tailed and no standard family fits well.
- You prefer L-moments because they are robust to a few extreme values.
When to use something else
- You only want the L-moments and their ratios: use L-Moments and L-Moment Ratios
- You want a smooth nonparametric density: use Kernel Density Estimation
- You want to pick among standard distributions: use Distribution Fitting and Selection by Maximum Likelihood
Assumptions and requirements
- Observations are independent and identically distributed
- The mean exists
- With bounded tails, some observations may fall outside the fitted support; this is reported
What the analysis reports
- lambda1 to lambda4 with bootstrap standard errors and percentile intervals
- Sample L-moment ratios and the number of L-moment solutions
- Support, median and 5% and 95% quantiles
- Log-likelihood and Kolmogorov-Smirnov, Cramer-von Mises and Anderson-Darling statistics of the fitted distribution
How to report it
A generalized lambda distribution (FKML) fitted to [value] observations by L-moments gave lambda3 = [value] (95% bootstrap CI [value] to [value]) and lambda4 = [value] (95% bootstrap CI [value] to [value]).
Related methods
- L-Moments and L-Moment Ratios
- Kernel Density Estimation
- Distribution Fitting and Selection by Maximum Likelihood
- Azzalini Skew-t Distribution Fit
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
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 Generalized Lambda Distribution Fit (FKML, L-Moments) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 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.