0
$\begingroup$

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.

$\endgroup$
1

1 Answer 1

1
$\begingroup$

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}]

$\endgroup$
2
  • $\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 Kumar
    Oct 24, 2016 at 19:08
  • $\begingroup$ your welcome. just search on the site and somebody might have done it. $\endgroup$
    – Ali Hashmi
    Oct 24, 2016 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.