entropy.GB2 {acid}R Documentation

Entropy Measures for a Generalised Beta Distribution of Second Kind

Description

This function computes four standard entropy measures from the generalised entropy class of inequality indices (I(alpha)) for Generalised Beta Distribution of Second Kind, namely the mean logarithmic deviation (I(0)), the Theil index (I(1)) as well as a bottom-sensitive index (I(-1)) and a top-sensitive index (I(2)). For other values of alpha, the function provides a numerical approximation.

Usage

entropy.GB2(b, a, p, q, alpha = NULL, ylim = c(0, 1e+06), zeroapprox = 0.01)

Arguments

b

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

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).

q

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

alpha

measure for the entropy measure as denoted by Cowell (2000). The default is alpha=1, i.e. the Theil Index.

ylim

limits of the interval of y considered needed for the approximation of the entropy measure. The default is [0,1e+06].

zeroapprox

an approximation for zero needed for the approximation of the entropy measure. The default is 0.01.

Value

returns the selected entropy measure.

Author(s)

Alexander Sohn

References

Kleiber, C. and Kotz, S. (2003): Statistical Size Distributions in Economics and Actuarial Sciences, Wiley, Hoboken.

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

Jenkins, S.P. (2009): Distributionally-Sensitive Inequality Indices and the GB2 Income Distribution, in: Review of Income and Wealth, Vol. 55(2), pp.392-398.

Examples

a.test<- 4
b.test<- 20000
p.test<- 0.7
q.test<- 1
alpha.test<-1
GB2sample<-rGB2(1000,b.test,a.test,p.test,q.test)
entropy.GB2(b.test,a.test,p.test,q.test,alpha=alpha.test,ylim=c(0,1e+07))
entropy(GB2sample, alpha.test)

[Package acid version 1.1 Index]