gini.Dag: Gini Coefficient for the Dagum Distribution

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function computes the Gini coefficient for the Dagum Distribution.

Usage

1
gini.Dag(a, p)

Arguments

a

the parameter a of the Dagum distribution as defined by Kleiber and Kotz (2003).

p

the parameter p of the Dagum distribution as defined by Kleiber and Kotz (2003).

Value

returns the Gini coefficient.

Author(s)

Alexander Sohn

References

Cowell, F.A. (2000): Measurement of Inequality, in: Atkinson and Bourguignon (eds.), Handbook of Income Distribution, pp. 1-86, Elsevier, Amsterdam.

See Also

gini

Examples

1
2
3
4
5
6
7
a.test<- 4
b.test<- 20000
p.test<- 0.7
alpha.test<-1
GB2sample<-rGB2(10000,b.test,a.test,p.test,1)
gini.Dag(a.test,p.test)
gini(GB2sample)

Example output

Loading required package: gamlss
Loading required package: splines
Loading required package: gamlss.data
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
 **********   GAMLSS Version 5.1-2  ********** 
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, units

[1] 0.2767026
$Gini
          [,1]
[1,] 0.2755723

$bcGini
          [,1]
[1,] 0.2755998

acid documentation built on May 1, 2019, 10:14 p.m.