powered by
Compute (possibly weighted) mean and standard deviation
compute_weighted_stats(values, weights = NULL)