Skip to content

GB2

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

v2.1.2 · Aug 20, 2025 · GPL (>= 2)

Description

The GB2 package explores the Generalized Beta distribution of the second kind. Density, cumulative distribution function, quantiles and moments of the distribution 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.

Downloads

2.2K

Last 30 days

2812th

6.7K

Last 90 days

18.1K

Last year

Trend: +2.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

Dependency Network

Dependencies Reverse dependencies cubature hypergeo laeken numDeriv survey GB2group Kernelheaping sdPrior GB2

Version History

new 2.1.2 Mar 10, 2026
updated 2.1.2 ← 2.1.1 diff Aug 19, 2025
updated 2.1.1 ← 2.1 diff Jun 21, 2022
updated 2.1 ← 1.2 diff May 10, 2015
updated 1.2 ← 1.1 diff Jun 24, 2014
updated 1.1 ← 1.0 diff Aug 30, 2012
new 1.0 Jan 5, 2011