A study of the effect of weight functions on energy averages