statistics estimation and test added