Re: [R] Overlapping areas under normal distributions

2011-06-27 Thread Uwe Ligges
On 26.06.2011 13:36, scaramouch wrote: Hi everyone. My problem: I've 4 distributions: A, B, C and D: #A mA=16.6 sA=3.0 #B mB=18.9 sB=3.2 #C mC=20.3 sC=2.1 #D mD=24 sD=0.8 ###Graphiques ensembles plot(function(x) dnorm(x,mA,sA),0,40,col=orange,ylim=c(0,0.5)) plot(function(x)

Re: [R] Overlapping areas under normal distributions

2011-06-27 Thread scaramouch
Thank you for the answer, but how can i integrate the difference? There is always an error with integrate(). Kindly regards, Scaramouch -- View this message in context: http://r.789695.n4.nabble.com/Overlapping-areas-under-normal-distributions-tp3625807p3628473.html Sent from the R help mailing

Re: [R] Overlapping areas under normal distributions

2011-06-27 Thread Uwe Ligges
On 27.06.2011 20:28, scaramouch wrote: Thank you for the answer, If you thank me and ask me a follow up, please also send a message to me, not only to the list. Please also quote the original message, not all list members (and particularly not myself) can remember the original stuff in

[R] Overlapping areas under normal distributions

2011-06-26 Thread scaramouch
Hi everyone. My problem: I've 4 distributions: A, B, C and D: #A mA=16.6 sA=3.0 #B mB=18.9 sB=3.2 #C mC=20.3 sC=2.1 #D mD=24 sD=0.8 ###Graphiques ensembles plot(function(x) dnorm(x,mA,sA),0,40,col=orange,ylim=c(0,0.5)) plot(function(x) dnorm(x,mB,sB),0,40,add=T,col=green)