implement some statistical algorithms.