The R Journal: article published in 2020, volume 12:1

gk: An R Package for the g-and-k and Generalised g-and-h Distributions PDF download
Dennis Prangle , The R Journal (2020) 12:1, pages 7-20.

Abstract The g-and-k and (generalised) g-and-h distributions are flexible univariate distributions which can model highly skewed or heavy tailed data through only four parameters: location and scale, and two shape parameters influencing the skewness and kurtosis. These distributions have the unusual property that they are defined through their quantile function (inverse cumulative distribution function) and their density is unavailable in closed form, which makes parameter inference complicated. This paper presents the gk R package to work with these distributions. It provides the usual distribution functions and several algorithms for inference of independent identically distributed data, including the finite difference stochastic approximation method, which has not been used before for this problem.

Received: 2017-06-22; online 2020-09-10
CRAN packages: gk, microbenchmark, abc, EasyABC, Ecdat
CRAN Task Views implied by cited CRAN packages: Bayesian, Distributions, Econometrics, TimeSeries

CC BY 4.0
This article is licensed under a Creative Commons Attribution 4.0 International license.

  author = {Dennis Prangle},
  title = {{gk: An R Package for the g-and-k and Generalised g-and-h
  year = {2020},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2020-010},
  url = {},
  pages = {7--20},
  volume = {12},
  number = {1}