[R] Depletion of small p values upon iterative testing of identical normal distributions

2010-09-20 Thread A
Dear all, I'm performing a t-test on two normal distributions with identical mean standard deviation, and repeating this tests a very large number of times to describe an representative p value distribution in a null case. As a part of this, the program bins these values in 10 evenly distributed

Re: [R] Depletion of small p values upon iterative testing of identical normal distributions

2010-09-20 Thread Duncan Murdoch
On 20/09/2010 9:54 AM, A wrote: Dear all, I'm performing a t-test on two normal distributions with identical mean standard deviation, and repeating this tests a very large number of times to describe an representative p value distribution in a null case. As a part of this, the program bins

Re: [R] Depletion of small p values upon iterative testing of identical normal distributions

2010-09-20 Thread Ben Bolker
A petlyakov at gmail.com writes: Dear all, [snip] Here are two key parts of my code to show what functions I'm working with: #Calculating the p values while(inumtests){ Group1-rnorm(6,-0.0065,0.0837) Group2-rnorm(6,-0.0065,0.0837) PV-t.test(Group1,Group2)$p.value

Re: [R] Depletion of small p values upon iterative testing of identical normal distributions

2010-09-20 Thread Thomas Lumley
On Mon, 20 Sep 2010, Duncan Murdoch wrote: On 20/09/2010 9:54 AM, A wrote: Dear all, I'm performing a t-test on two normal distributions with identical mean standard deviation, and repeating this tests a very large number of times to describe an representative p value distribution in a null