I have two histograms and I want to how good they match with each other. Are there any method available to test their goodness of fit ? Can anyone suggest some methods that can say how good they fit each other. Thanks in advance.
1 Answer
$\begingroup$
$\endgroup$
2
For visual comparisons you can just superimpose them on each other. Else, for more quantitative kind of approach try using a 2-sample Kolmogorov-Smirnov test.
KolmogorovSmirnovTest[{list1,list2}]
-
$\begingroup$ Thanks for reply. Actually I was thinking of doing chi-square test. But I don't know how to do chi-square for a histogram. $\endgroup$– Parveen KumarCommented Oct 24, 2016 at 19:08
-
$\begingroup$ your welcome. just search on the site and somebody might have done it. $\endgroup$– Ali HashmiCommented Oct 24, 2016 at 19:36