changed difference coefficient for comparing with statistic