Question: I have a list of 100 sample numbers, after plotting it looks like exponential distribution. I want to check it with chi-square goodness-of-fit test to
I have a list of 100 sample numbers, after plotting it looks like exponential distribution. I want to check it with chi-square goodness-of-fit test to confirm the distribution type. Can you please help me to calculate it ? 5 bins:
1st bin = 0 count
2nd bin = 30 count
3rd bin = 33 count
4th bin = 25 count
5th bin = 12 count.
the original list is the following: [5, 14, 17, 12, 7, 7, 11, 4, 7, 5, 5, 11, 8, 9, 31, 30, 32, 9, 5, 15, 47, 19, 22, 7, 9, 10, 4, 9, 10, 14, 13, 12, 4, 6, 9, 35, 7, 9, 25, 12, 14, 9, 7, 9, 31, 7, 16, 14, 4, 5, 8, 10, 15, 4, 6, 4, 8, 7, 29, 8, 4, 4, 13, 4, 7, 10, 5, 5, 7, 5, 6, 4, 42, 11, 10, 5, 11, 9, 4, 5, 6, 8, 13, 4, 9, 12, 8, 23, 32, 16, 4, 12, 4, 16, 7, 12, 4, 13, 6, 7]
P.S. Originally the dataset is 100,000 integers, but I rerun the code and reduced it for easier calculation and sent you 100 numbers. Then I will apply your logic for the bigger dataset.
If any other test to confirm the distribution type is better, please use it instead, Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
