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 ver

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

[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 Hartig

[R] diptest

2011-10-23 Thread Matilde
I am a very new user of R and I need some suggestions on how perform a diptest. I dowloaded the package diptest. following instructions given by the file I attach R I performed a diptest on the dataset statfaculty. However I do not manage to do it with my dataset that consists of a single column

Re: [R] diptest

2011-08-18 Thread Eik Vettorazzi
you loaded that package as well? library(diptest) ... best. Am 18.08.2011 15:16, schrieb matilde vaghi: > To whom it may concern. > > I d like to do use Hartigan & Hartigan's [1] "dip test" of unimodality via > the diptest package in R, even if I installed the package diptest, it does > not se

[R] diptest

2011-08-18 Thread matilde vaghi
To whom it may concern. I d like to do use Hartigan & Hartigan's [1] "dip test" of unimodality via the diptest package in R, even if I installed the package diptest, it does not seem to find the function. Any help is welcome, thank you. Best wishes -- Matilde [[alternative HTML versio