Skip to content
Back to formatted view

Raw Message

Message-ID: <430E73DE.9080902@med.cornell.edu>
Date: 2005-08-26T01:43:58Z
From: Luis Gracia
Subject: Fitting data to gaussian distributions
In-Reply-To: <430E62E2.1050809@med.cornell.edu>

Hi again,

self-answered. I took a breath and started another google search, this
time more successful. I found the following packages in case somebody
has the same question:
nor1mix
wle
mixdist    (I found this one to be the most useful in my case)

Best,

Luis

Luis Gracia said the following on 08/25/05 20:31:
> 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
> 
> ______________________________________________
> R-help at 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