Applying averages and ratios