View source: R/statistic_functions.R
get_distributional_statistics | R Documentation |
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
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.