The R package gamlss.dist contains more than 100 distributions. We are refer to those distributions as “gamlss.family” distributions a name also given to the equivalent R objects. Each of those “gamlss.family” distributions has five related functions:
- the probability density function (d)
- the cumulative distribution function (p)
- the inverse of the cumulative distribution (or quantile) function and (q)
- a function which generates random numbers from the distribution (r) and
- the fitting gamlss function (what the gamlss() function uses for fitting)
More details about the available distributions can be found in the book Distributions for Modelling Location, Scale and Shape: Using GAMLSS in R or in a older draft version given `Distributions for Modelling Location, Scale and Shape: Using GAMLSS in R’.
In addition any gamlss.family distribution can be:
- truncated using the function gen.trun() of the package gamlss.tr
- censored using the function gen.cens() of the package gamlss.cens
- finite mixed using the package gamlss.mx
Also any continuous distribution defined on real line can be log or logit transformed using the function gen.Family().
Additional information on how to use mixed distributions within GAMLSS is provided by the two vignettes: