The function performs the linear Oaxaca-Blinder decomposition.
estimate_ob_decompose(
formula,
data_used,
reference_0,
normalize_factors,
compute_analytical_se,
return_model_fit,
reweighting,
rifreg,
rifreg_statistic,
rifreg_probs,
custom_rif_function,
na.action,
vcov,
...
)
formula
object
data.frame
with data used for estimation (including weight and group variable)
boolean: indicating if group 0 is the reference group and if its coefficients are used to compute the counterfactual mean.
boolean: If `TRUE`, then factor variables are normalized as proposed by Gardeazabal/Ugidos (2004)
boolean: If `TRUE`, then analytical standard errors for decomposition terms are calculated (assuming independence between groups).
boolean: If `TRUE`, then model objects are returned.
boolean: if `TRUE`, then the decomposition is performed with with respect to reweighted reference group.
boolean: if `TRUE`, then RIF decomposition is performed
string containing the distributional statistic for which to compute the RIF.
a vector of length 1 or more with probabilities of quantiles.
the RIF function to compute the RIF of the custom distributional statistic.
generic function that defines how NAs in the data should be handled.
unction estimating covariance matrix of regression coefficients if compute_analytical_se == TRUE
additional parameters passed to custom_rif_function