[R] Questions about the intersection area under two kernel densities

From: Grace Clinton <gcll688_at_yahoo.com>
Date: Thu 05 May 2005 - 07:56:29 EST


Hi there,  

I am working on a project which needs the value of the interaction area under two distributions( eatimated by kernel density estimators).  

For example:  

x<-rnorm(100,0,1)
y<-rnorm(100,0.2,1)
density(x) # This produces the summary of dependent variable and independent variable.  

How can I get the individual values of variables and reform a curve to calculate the area under curve?  

Is there a way to get aroud this and give me the solution?    

Thanks a lot.  

Grace                     


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 05 08:05:13 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:35 EST