[R] Finding points with equal probability between normal distributions

Eleni Rapsomaniki e.rapsomaniki at mail.cryst.bbk.ac.uk
Mon Aug 7 12:35:20 CEST 2006


Dear mailing list, 

For two normal distributions, e.g:

r1 =rnorm(20,5.2,2.1)
r2 =rnorm(20,4.2,1.1)
plot(density(r2), col="blue")
lines(density(r1), col="red")

Is there a way in R to compute/estimate the point(s) x where the density of the
two distributions cross (ie where x has equal probability of belonging to
either of the two distributions)?

Many Thanks

Eleni Rapsomaniki
PhD student
Birkbeck College, UK



More information about the R-help mailing list