The test
statistic used to test the null hypothesis that the distribution is smooth is the
difference between the actual number of observations in an interval and the
expected number of observations in the interval, divided by the estimated
standard deviation of the difference.