A distribution goodness-of-fit test device for testing whether measured
data matches an estimated probability distribution has a counting section
determination unit, a counting unit and a goodness-of-fit test unit. The
counting section determination unit determines according to the number of
the measured data, widths of counting sections for counting the measured
data. The counting unit counts the numbers of data in the respective
determined counting sections. Also, the goodness-of-fit test unit
performs a goodness-of-fit test based on the numbers of data in the
respective counting sections.