sobivustihedustesti
A sobivustihedustesti, or goodness-of-fit test in English, is a statistical hypothesis test used to determine whether a sample of data comes from a particular probability distribution. The null hypothesis typically states that the observed data distribution matches the expected distribution. The alternative hypothesis suggests that the observed data does not follow the expected distribution.
Several types of goodness-of-fit tests exist, with the chi-squared goodness-of-fit test being one of the most
Another widely used test is the Kolmogorov-Smirnov (K-S) test, which is more appropriate for continuous data.
The choice of a specific goodness-of-fit test depends on the nature of the data (categorical or continuous)