calculate mean std dev and hi/lo confidence