GB2: Generalized Beta Distribution of the Second Kind: Properties, Likelihood, Estimation

Package GB2 explores the Generalized Beta distribution of the second kind. Density, cumulative distribution function, quantiles and moments of the distributions are given. Functions for the full log-likelihood, the profile log-likelihood and the scores are provided. Formulas for various indicators of inequality and poverty under the GB2 are implemented. The GB2 is fitted by the methods of maximum pseudo-likelihood estimation using the full and profile log-likelihood, and non-linear least squares estimation of the model parameters. Various plots for the visualization and analysis of the results are provided. Variance estimation of the parameters is provided for the method of maximum pseudo-likelihood estimation. A mixture distribution based on the compounding property of the GB2 is presented (denoted as "compound" in the documentation). This mixture distribution is based on the discretization of the distribution of the underlying random scale parameter. The discretization can be left or right tail. Density, cumulative distribution function, moments and quantiles for the mixture distribution are provided. The compound mixture distribution is fitted using the method of maximum pseudo-likelihood estimation. The fit can also incorporate the use of auxiliary information. In this new version of the package, the mixture case is complemented with new functions for variance estimation by linearization and comparative density plots.

Version: 2.1.1
Depends: R (≥ 3.1.0)
Imports: cubature, hypergeo, laeken, numDeriv, stats, survey
Suggests: simFrame
Published: 2022-06-22
DOI: 10.32614/CRAN.package.GB2
Author: Monique Graf, Desislava Nedyalkova.
Maintainer: Desislava Nedyalkova <desislava.nedyalkova at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
In views: Distributions
CRAN checks: GB2 results


Reference manual: GB2.pdf


Package source: GB2_2.1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): GB2_2.1.1.tgz, r-oldrel (arm64): GB2_2.1.1.tgz, r-release (x86_64): GB2_2.1.1.tgz, r-oldrel (x86_64): GB2_2.1.1.tgz
Old sources: GB2 archive

Reverse dependencies:

Reverse imports: GB2group, Kernelheaping, sdPrior
Reverse suggests: PRSim


Please use the canonical form to link to this page.