Calculate mean, median, sd of big data