Here, the chi-square test and the Kolmogorov–
Smirnov test are used to measure the goodness-of-fit.
To perform the chi-square test, the system organizes the
data in a frequency table, and computes the difference
between the observed and the expected frequency for
each time interval. The sum of these differences builds
the chi-square statistic. A large chi-square (significance
level