Skip to content

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

2packages depend
22.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.1.2

Changes

  • Authors@R field added in DESCRIPTION.
  • Fixed issues in .Rd documentation files that affected CRAN checks. Specifically, package anchors provided for all Rd \link{} targets.

Notes

  • No changes to core functionality or user‑facing behavior.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.2
READMENoVignettesNoNEWSYes · 67% structured · mentions 2.1.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
28
Examples that run
39%7 run in a plain check · 11 never run
Exported functions with examples
64%
Documented parameters
66%
Return-value docs
93%
Help pages citing references
68%

Downloads

22.5K
CRAN downloads in the past year
Rank #3,129 · ~62/day · ~1.9K/mo
Daily download trend is not available in this view yet.
96330 days
4K90 days
22.5K1 year
Compare downloads with other packages →
Also on106 r2u5 autocran141 c2d4u

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing GB2 adds 13 packages (8 with compiled code, 15 MB of source tarballs). Heaviest: cubature 3.2 MB, laeken 2.8 MB, survey 2.3 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Maintainer · added in 2.1.2

Maintainer since 1.0 (2010)

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.2Latest
    record
    2025-08-20 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.1.1
    record
    2022-06-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 2.1
    record
    2015-05-11 · diff ↗ ·
    added 17 exports
    main.cgb2, scoreU.cgb2, dplot.cgb2, varscore.cgb2, desvar.cgb2, hess.cgb2, vepar.cgb2, derivind.cgb2, veind.cgb2, scoreU.cavgb2, scorez.cavgb2, dplot.cavgb2, varscore.cavgb2, desvar.cavgb2, hess.cavgb2, vepar.cavgb2, veind.cavgb2
  • R
    R 3.2.0 released · 2015-04-16
  • 1.2
    record
    2014-06-25 · diff ↗
Show 8 earlier eventsHide 8 earlier events
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1
    record
    2012-08-31 · diff ↗ ·
    removed 1 export
    nlsfit2.gb2
    added 26 exports
    robwts, fg.cgb2, dl.cgb2, pl.cgb2, dcgb2, pcgb2, prcgb2, mkl.cgb2, moment.cgb2, incompl.cgb2, qcgb2, rcgb2, arpt.cgb2, arpr.cgb2, rmpg.cgb2, qsr.cgb2, vofp.cgb2, pofv.cgb2, logl.cgb2, scores.cgb2, ml.cgb2, pkl.cavgb2, lambda0.cavgb2, logl.cavgb2, scores.cavgb2, ml.cavgb2
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • 1.0
    record
    2011-01-06
  • R
    R 2.12.0 released · 2010-10-15

Package metadata

First published
2011-01-06
Total releases
6 / 15 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0.0
Download size
40 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GB2")
Nedyalkova, D., Graf, M., & Nedyalkova., D. (2025). GB2: Generalized Beta Distribution of the Second Kind: Properties, Likelihood, Estimation (Version 2.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.GB2

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for GB2 version 2.1.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy