Calculation of Sample Mean and Sample Distribution