I'm trying to check if a vector of data is well-fitted to the negative binomial distribution, using PearsonChiSquareTest[] function. The problem is that my data are not equally depolyed, so I'd like to choose the intervals /nodes to the Chi Square test manually. Does anyone know how could I do it using any options in Mathematica's functions? Thanks.
Asked
Active
Viewed 81 times
2
Sliwka Wegierka
- 21
- 2
PearsonChiSquareTestselects bins based on the estimated values of the parameters such that the probabilities are approximately equal given the supplied distribution. The observed counts can be whatever they are and don't have to be evenly distributed in the bins. The general rule is to have the expected counts no less than 5 and not on the observed counts which can be any non-negative integer. – JimB Feb 07 '17 at 06:10