create script to calculate average and quantile mean