Confidence Intervals and Hypothesis Test with Averages