Chi²-Test automatic grouping?`



Hi,

I have to write a function that makes an estimation for some frequency-distributions and tells me which distribution fits best to my data. The decision will be based on a Chi-square-test.

The problem now is that I have some frequencies that haven't been observed but are very likely to happen. So I think of a data-grouping for the Chisq-test (e.g. cluster1 = 1..10 observations cluster2 = ...)

Could somebody propose an automatism that could do this grouping?

Thanks for any solution!

Carsten
.


Loading