Why is it so hard to find a G-test function in R? It's honestly easier to calculate manually at this point

Follow

You would think it would be an option in chisq.test, but no

I have now had the installation of two packages with such functions have "non-zero exit status", because one of their 20 different dependencies wont install

@petra Hmm that is kind of weird, it should be there.

If there were a couple other functions that would make sense to go along with it, it might make sense to make a small package with it... I might have a couple functions that would make sense to split off a project I'm doing now that it might fit with...

@gzt There might be other chi-squared tests for contingency tables that you could implement, but I suspect it would still be too small to justify a package

Sign in to participate in the conversation
Scholar Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!