Re: [R] Difference in mixture normals and one density

2011-04-04 Thread Liaw, Andy
-boun...@r-project.org] On Behalf Of Jim Silverton > Sent: Monday, April 04, 2011 10:01 AM > To: r-help@r-project.org > Subject: Re: [R] Difference in mixture normals and one density > > Hello, > I am trying to find out if R can do the following: > > I have a mixture of normal

Re: [R] Difference in mixture normals and one density

2011-04-04 Thread Jim Silverton
Hello, I am trying to find out if R can do the following: I have a mixture of normals say f = 0.2*Normal(2, 5) + 0.8*Normal(3,2) How do I find the difference in the densities at any particular point of f and at Normal(2,5)? -- Thanks, Jim. [[alternative HTML version deleted]] _