Re: [R] Surprising behaviour of fisher.test

2011-08-29 Thread Ted Harding
On 29-Aug-11 11:44:28, Öhagen Patrik wrote: > I did a simple little simulation of a binary variable in a two armed > trial. I was quite surprised by the number of p-values delivered by the > fisher.test function which was >1(!). Of course, under the null > hypothesis you expect a fair number of out

[R] Surprising behaviour of fisher.test

2011-08-29 Thread Öhagen Patrik
I did a simple little simulation of a binary variable in a two armed trial. I was quite surprised by the number of p-values delivered by the fisher.test function which was >1(!). Of course, under the null hypothesis you expect a fair number of outcomes with the same number of event in both arms