Re: [R] Comparing distributions

2010-06-24 Thread Greg Snow
ilto:r-help-boun...@r- > project.org] On Behalf Of Ralf B > Sent: Wednesday, June 23, 2010 8:53 PM > To: Robert A LaBudde > Cc: r-help@r-project.org > Subject: Re: [R] Comparing distributions > > The diagram only serves as a rough example to give you an idea. > > To be

Re: [R] Comparing distributions

2010-06-23 Thread Ralf B
The diagram only serves as a rough example to give you an idea. To be more precise I would like to give more detail: The data represents movements from two types of pointing device (e.g. mouse, pointer, ) along an axis. The data has diffreent parameters -- such as different pointing devices, diffe

Re: [R] Comparing distributions

2010-06-23 Thread Robert A LaBudde
Your "*" curve apparently dominates your "+" curve. If they have the same total number of data each, as you say, they both cannot sum to the same value (e.g., N = 1 or 1.000). So there is something going on that you aren't mentioning. Try comparing CDFs instead of pdfs. At 03:33 PM 6/23/

Re: [R] Comparing distributions

2010-06-23 Thread Tommy Chheng
Check out the KL divergence test http://en.wikipedia.org/wiki/Kullback%E2%80%93Leibler_divergence @tommychheng Programmer and UC Irvine Graduate Student Find a great grad school based on research interests: http://gradschoolnow

Re: [R] Comparing distributions

2010-06-23 Thread Joris Meys
A qqplot would indeed help. ?ks.test for more formal testing, but be aware: You should also think about what you call similar distributions. See following example : set.seed(12345) x1 <- c(rnorm(100),rnorm(150,3.3,0.7)) x2 <- c(rnorm(140,1,1.2),rnorm(110,3.3,0.6)) x3 <- c(rnorm(140,2,1.2),rnorm(11

Re: [R] Comparing distributions

2010-06-23 Thread Bert Gunter
?qqplot Bert Gunter Genentech Nonclinical Biostatistics -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ralf B Sent: Wednesday, June 23, 2010 12:34 PM To: r-help@r-project.org Subject: [R] Comparing distributions I am trying

[R] Comparing distributions

2010-06-23 Thread Ralf B
I am trying to do something in R and would appreciate a push into the right direction. I hope some of you experts can help. I have two distributions obtrained from 1 datapoints each (about 1 datapoints each, non-normal with multi-model shape (when eye-balling densities) but other then that

Re: [R] comparing distributions

2008-12-19 Thread Albyn Jones
On Fri, Dec 19, 2008 at 05:44:47AM -0800, kdebusk wrote: > I have data sets from three different sites. None of the data sets are > normally distributed and can not be log-transformed to a normal > distribution. I would like to compare the data sets to see if any of > the sites are similar to each

[R] comparing distributions

2008-12-19 Thread kdebusk
I have data sets from three different sites. None of the data sets are normally distributed and can not be log-transformed to a normal distribution. I would like to compare the data sets to see if any of the sites are similar to each other, and would like something more powerful than a non-parametr