statBO {GeneralOaxaca} | R Documentation |
statBO
Description
statBO
performs a Blinder-Oaxaca decomposition for generalized linear regression models for the individual with
indice
in the data
. statBO
is used for the bootstrap estimation of the standard errors
Usage
statBO(data, formula, family, groupRef, groupInd, indice)
Arguments
data |
an optional data frame, list or environment (or object coercible by as.data.frame to a data frame) containing the variables in the model. If not found in data, the variables are taken from |
formula |
an object of class " |
family |
a description of the error distribution and link function to be used in the model. (See |
groupRef |
Group of reference for the decomposition, by default Group A. |
groupInd |
is an indicator variable that is TRUE (or equal to 1) when an observation belongs to Group A, and FALSE (or equal to 0) when it belongs to Group B |
indice |
identification of each individual in |
Value
char |
characteristic part in the twofold decomposition |
coef |
coefficient part in the twofold decomposition |
diff |
diff of the dependent variable between group |
char3 |
characteristic part in the threefold decomposition |
coef3 |
coefficient part in the threefold decomposition |
int |
interaction part in the threefold decomposition |
Author(s)
Aurelien Nicosia and Simon Baillargeon-Ladouceur
See Also
See Also as GeneralOaxaca