Hello,(adsbygoogle = window.adsbygoogle || []).push({});

Hello,

I have recorded some discrete data with an unspecified distribution.

I have generated some discrete data from a model.

I'm looking to check to see if the generated data has the same distribution as the real data.

If the data was continious, I would use a Q-Q plot and a striaght line would indicate that it is true.

As the data is discrete, I need another test.

Can you use a two-sample Kolmogorov-Smirnov test to test the hypothesis that the two samples come from the same distribution?

Here is a link to the test http://www.mathworks.co.uk/help/stats/kstest2.html

Kind regards

J

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Two-sample Kolmogorov-Smirnov test

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - sample Kolmogorov Smirnov | Date |
---|---|

I Standard Deviation Versus Sample Size & T-Distribution | Dec 20, 2017 |

A Akaike information small sample AICc | Dec 8, 2017 |

I Help with sample size to measure Form Error of a round metal part | Oct 29, 2017 |

I Generating a random sample with a standard deviation | Aug 11, 2017 |

I What "language" means in Kolmogorov complexity? | Jun 10, 2016 |

**Physics Forums - The Fusion of Science and Community**