get_distributional_statistics {ddecompose} | R Documentation |
Estimate distributional statistics
Description
Estimate weighted distributional statistics for the reference or the counterfactual group.
Usage
get_distributional_statistics(
dep_var,
weights,
group_variable,
group,
statistics,
custom_statistic_function = NULL,
probs = 1:9/10,
log_transformed
)
Arguments
dep_var |
vector of outcome variable |
weights |
vector of observations weights |
group_variable |
vector of group assignment |
group |
identifier of group for which distributional statistics are calculated |
statistics |
vector of statistics to be calculated |
custom_statistic_function |
a custom statistic function to be evaluated |
probs |
probabilities of quantiles to be calculated |
log_transformed |
indicator if outcome variable is log transformed |
[Package ddecompose version 1.0.0 Index]