Re: [R] intersection of 2 density curves

2009-10-08 Thread Monica Pisica
-- > CC: pisican...@hotmail.com=3b r-h...@stat.math.ethz.ch > From: dwinsem...@comcast.net > To: r.m.k...@gmail.com > Subject: Re: [R] intersection of 2 density curves > Date: Thu=2C 8 Oct 2009 11:16:22 -0400 > > It should also be remembered that there will often be multiple >

Re: [R] intersection of 2 density curves

2009-10-08 Thread David Winsemius
It should also be remembered that there will often be multiple intersections of such density estimates. I hope this is not being done in support of a data-driven discretization of two group comparisons. Such practices are to be eschewed (as they are even worse than obfuscation). -- David

Re: [R] intersection of 2 density curves

2009-10-08 Thread Rainer M Krug
> ____ > > Date: Thu=2C 8 Oct 2009 16:01:36 +0200 > > Subject: Re: [R] intersection of 2 density curves > > From: r.m.k...@gmail.com > > To: pisican...@hotmail.com > > CC: r-h...@stat.math.ethz.ch > > > > > > > > On

Re: [R] intersection of 2 density curves

2009-10-08 Thread Monica Pisica
again=2C =20 Monica > Date: Thu=2C 8 Oct 2009 16:01:36 +0200 > Subject: Re: [R] intersection of 2 density curves > From: r.m.k...@gmail.com > To: pisican...@hotmail.com > CC: r-h...@stat.math.ethz.ch > > > > On Thu=2C Oct 8=2C 2009 at 3:48 PM=2C Monica P

Re: [R] intersection of 2 density curves

2009-10-08 Thread Rainer M Krug
On Thu, Oct 8, 2009 at 3:48 PM, Monica Pisica wrote: > > > Hi, > > I would like to find out the coordinates of the intersection points of 2 > density curves. I did a search but i didn't get any significant results. I > really hope some of you have some ideas. here it is an example: > > set.seed(12

[R] intersection of 2 density curves

2009-10-08 Thread Monica Pisica
Hi, I would like to find out the coordinates of the intersection points of 2 density curves. I did a search but i didn't get any significant results. I really hope some of you have some ideas. here it is an example: set.seed(123) x1 <- rnorm(100, 1, 1) x2 <- rnorm(100, 0, 1) d1 <- density(x