sample weight support for robust regression via weighted percentile algo

maybe this could go in utils.stats.

What do you think of working with quantile instead of percentile?