Re: [R] Measuring dispersion

2008-06-18 Thread Jim Lemon
S. Nunes wrote: Thanks for the suggestion, however I'm looking for a score since my goal is to rank thousands of distributions. For instance, given a large text, I would like to rank all terms according to their distribution (dispersion) within the text. Terms evenly distributed in the text shou

Re: [R] Measuring dispersion

2008-06-18 Thread Jan T. Kim
On Wed, Jun 18, 2008 at 12:10:18AM +0100, S. Nunes wrote: > Thanks for the suggestion, however I'm looking for a score since my > goal is to rank thousands of distributions. > For instance, given a large text, I would like to rank all terms > according to their distribution (dispersion) within the

Re: [R] Measuring dispersion

2008-06-17 Thread S. Nunes
orov-Smirnov test). > > > --- On Tue, 17/6/08, S. Nunes <[EMAIL PROTECTED]> wrote: > >> From: S. Nunes <[EMAIL PROTECTED]> >> Subject: [R] Measuring dispersion >> To: [EMAIL PROTECTED] >> Received: Tuesday, 17 June, 2008, 7:56 PM >> Hi, >> >> I&

Re: [R] Measuring dispersion

2008-06-17 Thread Moshe Olshansky
You could also look at the difference between your empirical distribution and the uniform distribution (something like Kolmogorov-Smirnov test). --- On Tue, 17/6/08, S. Nunes <[EMAIL PROTECTED]> wrote: > From: S. Nunes <[EMAIL PROTECTED]> > Subject: [R] Measuring dispe

Re: [R] Measuring dispersion

2008-06-17 Thread Jim Lemon
S. Nunes wrote: Hi, I'm looking for a function to measure the dispersion of a set of values ranging from 0 to 1. This function should be 0 if all the values are evenly spaced within the interval and it should be > 0 if values are clustered. The more clustered the values are, the higher should th

[R] Measuring dispersion

2008-06-17 Thread S. Nunes
Hi, I'm looking for a function to measure the dispersion of a set of values ranging from 0 to 1. This function should be 0 if all the values are evenly spaced within the interval and it should be > 0 if values are clustered. The more clustered the values are, the higher should the function be. An