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
testGL(dataset1, dataset2, generalized = TRUE, samplesize = 10)

Arguments

dataset1

a data.frame containing variables obtained by using the setupDataset function.

dataset2

a data.frame containing variables obtained by using the setupDataset function.

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.

Details

The null hypotesis 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)

rtip documentation built on May 29, 2017, 7:14 p.m.