Skip to content
Prev 17091 / 20628 Next

Simulations in Fisher's Exact test

This is indeed the wrong list; r-help at r-project.org, or StackOverflow,
might be more appropriate.  I am guessing this is an assignment for a
class?  If so, it might be more useful to get clarification from your
instructor or teaching assistant (or a colleague in your class). The
help page for ?fisher.test says:

simulate.p.value: a logical indicating whether to compute p-values by
          Monte Carlo simulation, **in larger than 2 by 2 tables**.

Emphasis (**) added.  Since you're using a 2x2 table, I'm guessing that
simulate.p.value has no effect ...  R probably should warn you, but oh
well ..
On 2018-10-28 7:47 a.m., Adeela Munawar wrote: