KSTestStat: Plots cumulative density for KS test and computes confidence interval for
KS test stat.
Description
Kolmogorov-Smirnov (KS) test statistic is a non parametric test for
distribution equality and measures the maximum distance between two cdfs.
Formally, the KS test statistic is : $$D=\max_i|F(X_i)-\hat{F}(X_i)|$$
# Plots the cdf for KS Test statistic and returns KS confidence interval# for 100 trials with 1000 sample size and 0.95 confidence interval KSTestStat(100, 1000, 0.95)