Hi there, I have a data set, I attached a photo of it. I'm unable to run chi.sq test for it. I get the error 'all entries of 'x' must be nonnegative and finite'. What should I change to get chisq values?
Can you share what you've tried? It's hard to know what went wrong without seeing the code you used.
Also, to help us help you, you could prepare a repr oducible ex ample (reprex) illustrating your issue. Please have a look at this guide, to see how to create one:
1 Like
A Chi-squared test may not be the best option here either; these look like counts (as opposed to the number of events in a pre-defined set of categories). Can you give some context on the hypothesis and how the data were generated?
2 Likes
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.