Estimate weighted distributional statistics for the reference or the counterfactual group.
get_distributional_statistics(
dep_var,
weights,
group_variable,
group,
statistics,
custom_statistic_function = NULL,
probs = 1:9/10,
log_transformed
)
vector of outcome variable
vector of observations weights
vector of group assignment
identifier of group for which distributional statistics are calculated
vector of statistics to be calculated
a custom statistic function to be evaluated
probabilities of quantiles to be calculated
indicator if outcome variable is log transformed