stat_weighted_mean function

Compute weighted y mean