testGL: Test for Lorenz and Generalized Lorenz dominance

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

View source: R/testGL.R

Description

Statistical test procedure given by Xu (1997) to study Generalized Lorenz dominance from sample Generalized Lorenz curve estimates. Lorenz dominance from sample Lorenz curve estimates can also be studied (Beach and Kaliski, 1986).

Usage

1
2
testGL(dataset1, dataset2, ipuc = "ipuc", hhcsw = "DB090",
  hhsize = "HX040", generalized = TRUE, samplesize = 10, alpha = 0.05)

Arguments

dataset1

a data.frame containing the variables.

dataset2

a data.frame containing the variables.

ipuc

a character string indicating the variable name of the income per unit of consumption. Default is "ipuc".

hhcsw

a character string indicating the variable name of the household cross-sectional weight. Default is "DB090".

hhsize

a character string indicating the variable name of the household size. Default is "HX040".

generalized

logical; if FALSE the test will be applied to compare two Lorenz curves. Otherwise Generalized Lorenz curves will be compared.

samplesize

an integer which represents the number of Lorenz (Generalized Lorenz) curve ordinates to be estimated for comparison. The default is 10.

alpha

a scalar indicating the significance level. Default is 0.05.

Details

The null hypothesis to be tested is that the Lorenz (Generalized Lorenz) curve calculated from dataset1 dominates the one calculated from dataset2.

Value

A list with the following components:

Author(s)

A. Berihuete, C.D. Ramos and M.A. Sordo

References

C. M. Beach and R. Davidson (1983) Distribution-free statistical inference with Lorenz curves

C. M. Beach and S. F. Kaliski (1986) Curve inference with sample weights: and application to the distribution of unemployment experience, Journal of the Royal Statistical Society. Series C (Applied Statistics), Vol. 35, No. 1, 38–45.

D.A. Kodde and F.C. Palm (1986) Wald criteria for jointly testing equality and inequality restrictions, Econometrica, 50, 1243–1248.

F.A. Wolak (1989), Testing inequality constrains in linear econometric models, Journal of Econometrics, 41, 205–235.

K. Xu (1997) Asymptotically distribution-free statistical test for generalized Lorenz curves: An alternative approach, Journal of Income Distribution, 7(1), 45–62.

See Also

OmegaGL, setupDataset

Examples

1
2
3
4
data(eusilc2)
ATdataset1 <- setupDataset(eusilc2, country = "AT", region = "Burgenland")
ATdataset2 <- setupDataset(eusilc2, country = "AT", region = "Carinthia")
testGL(ATdataset1, ATdataset2, generalized = TRUE, samplesize = 10, alpha = 0.05)

rtip documentation built on April 12, 2018, 5:04 p.m.