Learn R Programming

GeneralOaxaca (version 1.0)

GeneralOaxaca-package: \Sexpr[results=rd,stage=build]{tools:::Rd_package_title("#1")}GeneralOaxacaBlinder-Oaxaca Decomposition for Generalized Linear Model

Description

\Sexpr[results=rd,stage=build]{tools:::Rd_package_description("#1")}GeneralOaxacaPerform the Blinder-Oaxaca decomposition for generalized linear model with bootstrapped standard errors. The twofold and threefold decomposition are given, even the generalized linear model output in each group.

Arguments

Details

The DESCRIPTION file: \Sexpr[results=rd,stage=build]{tools:::Rd_package_DESCRIPTION("#1")}GeneralOaxacaThis package was not yet installed at build time.

\Sexpr[results=rd,stage=build]{tools:::Rd_package_indices("#1")}GeneralOaxaca Index: This package was not yet installed at build time.

References

T. Bauer and M. Sinning. An extension of the Blinder-Oaxaca decomposition to nonlinear models (2008). Advances in Statistical Analysis, Springer-Verlag.

Examples

Run this code
data("chicago")
formula=ln.real.wage~ age + female + LTHS + some.college + college + advanced.degree
BO_A <- GeneralOaxaca(formula,  family= Gamma, data=chicago, groupInd=chicago$foreign.born,B=100)
BO_A$twofold 

Run the code above in your browser using DataLab