blog/one-proportion-and-goodness-of-fit-test-in-r-and-by-hand/ #113
Replies: 1 comment 1 reply
-
|
The Chi-squared goodness of fit test doesn't scale to high-cardinality variables (10,000+ categories) as it starts to over-reject. Are there similar tests that scale better or are more reliable for many-many categories? Also, since chi-squared requires at least 5 examples per category in the expected vector, it can't factor in differences where some categories are exclusive to either the expected or the observed. Are there alternative tests that can factor in cases where the expected frequency is 0? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
blog/one-proportion-and-goodness-of-fit-test-in-r-and-by-hand/
Learn how to perform the one proportion and goodness of fit test (useful to check if a distribution follows a specific known distribution) in R and by hand
https://statsandr.com/blog/one-proportion-and-goodness-of-fit-test-in-r-and-by-hand/
Beta Was this translation helpful? Give feedback.
All reactions