Generalized additive model for location, scale and shape explained

The Generalized Additive Model for Location, Scale and Shape (GAMLSS) is an approach to statistical modelling and learning. GAMLSS is a modern distribution-based approach to (semiparametric) regression. A parametric distribution is assumed for the response (target) variable but the parameters of this distribution can vary according to explanatory variables using linear, nonlinear or smooth functions. In machine learning parlance, GAMLSS is a form of supervised machine learning.

In particular, the GAMLSS statistical framework enables flexible regression and smoothing models to be fitted to the data. The GAMLSS model assumes the response variable has any parametric distribution which might be heavy or light-tailed, and positively or negatively skewed. In addition, all the parameters of the distribution [location (e.g., mean), scale (e.g., variance) and shape (skewness and kurtosis)] can be modeled as linear, nonlinear or smooth functions of explanatory variables.

Overview of the model

The generalized additive model for location, scale and shape (GAMLSS) is a statistical model developed by Rigby and Stasinopoulos (and later expanded) to overcome some of the limitations associated with the popular generalized linear models (GLMs) and generalized additive models (GAMs). For an overview of these limitations see Nelder and Wedderburn (1972)[1] and Hastie's and Tibshirani's book.[2]

In GAMLSS the exponential family distribution assumption for the response variable, (

y

), (essential in GLMs and GAMs), is relaxed and replaced by a general distribution family, including highly skew and/or kurtotic continuous and discrete distributions.

The systematic part of the model is expanded to allow modeling not only of the mean (or location) but other parameters of the distribution of y as linear and/or nonlinear, parametric and/or additive non-parametric functions of explanatory variables and/or random effects.

GAMLSS is especially suited for modelling a leptokurtic or platykurtic and/or positively or negatively skewed response variable. For count type response variable data it deals with over-dispersion by using proper over-dispersed discrete distributions. Heterogeneity also is dealt with by modeling the scale or shape parameters using explanatory variables. There are several packages written in R related to GAMLSS models,[3] and tutorials for using and interpreting GAMLSS.[4]

A GAMLSS model assumes independent observations

yi

for

i=1,2,...,n

with probability (density) function

f(yi|\mui,\sigmai,\nui,\taui)

conditional on

(\mui,\sigmai,\nui,\taui)

a vector of four distribution parameters, each of which can be a function of the explanatory variables. The first two population distribution parameters

\mui

and

\sigmai

are usually characterized as location and scale parameters, while the remaining parameter(s), if any, are characterized as shape parameters, e.g. skewness and kurtosis parameters, although the model may be applied more generally to the parameters of any population distribution with up to four distribution parameters, and can be generalized to more than four distribution parameters.

\begin{align} g1(\mu)=η1=X1\beta1+

J1
\sum
j=1

{h}j1(xj1)\\ g2(\sigma)=η2=X2\beta2+

J2
\sum
j=1

{h}j2(xj2)\\ g3(\nu)=η3=X3\beta3+

J3
\sum
j=1

{h}j3(xj3)\\ g4(\tau)4=X4\beta4+

J4
\sum
j=1

{h}j4(xj4) \end{align}

where μ, σ, ν, τ and

ηk

are vectors of length

n

,
T
\beta
k

=(\beta1k,\beta2k

,\ldots,\beta
J'k k

)

is a parameter vector of length

J'k

,

Xk

is a fixed known design matrix of order

n x J'k

and

hjk

is a smooth non-parametric function of explanatory variable

xjk

,

j=1,2,\ldots,Jk

and

k=1,2,3,4

.

gi

are link functions.

For centile estimation the WHO Multicentre Growth Reference Study Group have recommended GAMLSS and the Box–Cox power exponential (BCPE) distributions[5] for the construction of the WHO Child Growth Standards.[6] [7]

What distributions can be used

The form of the distribution assumed for the response variable y, is very general. For example, an implementation of GAMLSS in R[8] has around 100 different distributions available. Such implementations also allow use of truncated distributions and censored (or interval) response variables.

Further reading

External links

Notes and References

  1. Nelder. J.A.. Wedderburn. R.W.M. Generalized linear models. J. R. Stat. Soc. A. 1972. 135. 3. 370–384. 10.2307/2344614. 2344614.
  2. Book: Hastie. TJ. Tibshirani. RJ. Generalized additive models. 1990. Chapman and Hall. London.
  3. Rigby. Robert A. December 2007. Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software. 23. 7. 10.18637/jss.v023.i07. Stasinopoulos. D. Mikis. free.
  4. David . Bann . Liam . Wright . Tim J . Cole . Risk factors relate to the variability of health outcomes as well as the mean: A GAMLSS tutorial . eLife . 2022 . 11 . 11 . 10.7554/eLife.72357 . 34985412 . 8791632 . free .
  5. Stasinopoulos. D. Mikis. February 2004. Smooth Centile Curves for Skew and Kurtotic data Modelled Using the Box–Cox Power Exponential Distribution. Statistics in Medicine. 23. 19. 3053–3076. 10.1002/sim.1861. 15351960. Rigby. Robert.
  6. Borghi . E. . De Onis . M. . Garza . C. . Van Den Broeck . J. . Frongillo . E. A. . Grummer-Strawn . L. . Van Buuren . S. . Pan . H. . Molinari . L. . 10.1002/sim.2227 . Martorell . R. . Onyango . A. W. . Martines . J. C. . WHO Multicentre Growth Reference Study Group . Construction of the World Health Organization child growth standards: Selection of methods for attained growth curves . Statistics in Medicine . 25 . 2 . 247–265 . 2006 . 16143968.
  7. WHO Multicentre Growth Reference Study Group (2006) WHO Child Growth Standards: Length/height-for-age, weight-for-age, weight-for-length, weight-for-height and body mass index-for-age: Methods and development. Geneva: World Health Organization.
  8. Web site: The R packages gamlss. The R packages gamlss. 2020-05-04.