add statistic inference