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

kbrownk kbrownk at gmail.com
Wed Dec 21 21:37:08 CET 2011


>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 Hartigan's dip test and what I may not be
understanding?

Thanks,
kbrownk



More information about the R-help mailing list