computation of mean, median, mode, sd and variance