Kolmogorov Smirnov test is widely used for univariate distributions to verify if: an unknown sample belongs to a known distribution, or two unknown samples belong to the same distribution. The basic logic of the test is based on the distance between the empirical CDF for the distributions. For scenario 1…