EconPapers    
Economics at your fingertips  
 

GB2LFIT: Stata module to fit Generalized Beta of the Second Kind distribution by maximum likelihood (log parameter metric)

Stephen Jenkins

Statistical Software Components from Boston College Department of Economics

Abstract: gb2lfit fits by ML the 4 parameter Generalized Beta distribution of the second kind (GB2) to sample observations on a random variable. gb2pred calculates statistics summarizing a GB2 distribution which has been fitted using gb2fit. Unit record data are assumed (rather than grouped data). The Singh-Maddala (1976) distribution is the special case when parameter p = 1, and the Dagum (1977, 1980) distribution is the special case when parameter q = 1. The GB2 distribution has been shown to provide a good fit to data on income but, of course, it might also be suitable for describing any skewed variable, not only income. Compared to gb2fit (q.v.), gb2lfit has the following features: (i) parameters are estimated in the logarithmic metric (but reported in the original metric); (ii) data may be right-censored or left-truncated; (iii) there are improved options for calculating inequality measures implied by the parameter estimates (with SEs); (iv) in particular, estimates of the Gini coefficient are reported.

Language: Stata
Requires: Stata version 8.2
Keywords: Generalized Beta of the Second Kind; GB2; inequality; maximum likelihood (search for similar items in EconPapers)
Date: 2014-08-29
Note: This module should be installed from within Stata by typing "ssc inst gb2lfit". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/g/gb2lfit.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/gb2lfit_ll.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/gb2lfit.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457897

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s457897