[R] Hartigan's Dip test

2009-07-06 Thread James Allsopp
Hi, I just got a value for the dip test out of my data of 0.074 for a sample size of 33. I'm trying to work out what this actually means though? Could someone help me relate this to a p-value? Thanks James __ R-help@r-project.org mailing list

Re: [R] Hartigan's Dip test

2009-07-06 Thread Ted Harding
On 06-Jul-09 12:39:29, James Allsopp wrote: Hi, I just got a value for the dip test out of my data of 0.074 for a sample size of 33. I'm trying to work out what this actually means though? Could someone help me relate this to a p-value? Thanks James Have a look at

Re: [R] Hartigan's Dip test

2009-07-06 Thread Christian Hennig
James, I assume that you use package diptest. Look up ?qDiptab for a table of quantiles from which you can obtain your p-value. data(qDiptab) qDiptab You then look up your statistic value (0.074) for a suitable n (n=30, say), and you take one minus the Pr value you find on top of the table.