Computing Sample Mean and Margin of Error