[R-sig-ME] Simulations in Fisher's Exact test
bbolker @ending from gm@il@com
Sun Oct 28 17:18:44 CET 2018
This is indeed the wrong list; r-help using 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
On 2018-10-28 7:47 a.m., Adeela Munawar wrote:
> hi all,
> Probably I am posted in wrong mailing list. I am getting a problem in
> applying Fisher's exact test. I am applying Fisher's exact test as
> ntable<- array(data = c(3, 1, 8,11), dim = c(2,2))
> now, I have to repeat the same 10000 times and have to report p-values.
> Using the arguments simulate.p.value in the command is producing the same
> what changes I have to made in my model.
> [[alternative HTML version deleted]]
> R-sig-mixed-models using r-project.org mailing list
More information about the R-sig-mixed-models