Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • $\begingroup$ thank you @User1865345 for the advice! I added some details for the sake of completeness. $\endgroup$ Commented Dec 28, 2022 at 12:25
  • 2
    $\begingroup$ This is elaborative. Already upvoted. $\endgroup$ Commented Dec 28, 2022 at 12:44
  • $\begingroup$ This is great! What would you do for small $m$ and $n$? Say about 10-40? $\endgroup$ Commented Dec 28, 2022 at 13:58
  • 2
    $\begingroup$ @Mark, the usual recommendations are: (i) Fisher's exact test, (ii) chi-squared test plus p-value computed by simulation, (iii) permutation or bootstrap tests. I'd add (iv) exact tests implemented in exact2x2; (i) and (ii) may be the easiest to perform. $\endgroup$ Commented Dec 28, 2022 at 14:11
  • 2
    $\begingroup$ yes, you find all the details at the help page of chisq.test. $\endgroup$ Commented Dec 28, 2022 at 14:20