[R] Diptest- I'm getting significant values when I shouldn't?

2011-12-22 Thread kbrownk
From library(diptest): Shouldn't the following almost always be non-significant for Hartigan's dip test? dip(x = rnorm(1000)) I get dip scores of around 0.0008 which based on p values taken from the table (at N=1000), using the command: qDiptab, are 0.02 p 0.05. Anyone familiar with

Re: [R] Diptest- I'm getting significant values when I shouldn't?

2011-12-22 Thread Duncan Murdoch
On 21/12/2011 3:37 PM, kbrownk wrote: From library(diptest): Shouldn't the following almost always be non-significant for Hartigan's dip test? dip(x = rnorm(1000)) Well, it should be non-significant about 95% of the time I get dip scores of around 0.0008 which based on p values taken from

Re: [R] Diptest- I'm getting significant values when I shouldn't?

2011-12-22 Thread kbrownk
Thanks, I found dip.test after posting. I reread the original paper and found that the probability is that the dip is less than the given dip score. Less here is ambiguous to me, and it is strange that dip.test interpolates from the same p value lookup table I was using (gDiptab), but returns very