Skip to content
Back to formatted view

Raw Message

Message-ID: <430E62E2.1050809@med.cornell.edu>
Date: 2005-08-26T00:31:30Z
From: Luis Gracia
Subject: Fitting data to gaussian distributions

Hi!

I need to fit a data that shows up as two gaussians partially
superimposed to the corresponding gaussian distributions, i.e.

data=c(rnorm(100,5,2),rnorm(100,-6,1))

I figured it out how to do it with mle or fitdistr when only one
gaussian is necessary, but not with two or more. Is there a function in
R to do this?

Thank you very much in advance,

Luis