[R] Getting parameters of Gaussian fit in density

Erik Iverson iverson at biostat.wisc.edu
Wed Nov 12 22:13:39 CET 2008


Victor -

What package/functions did you use to do the fit?  Can you send a small 
example with a made-up or built-in dataset, show how far you get, and 
what you'd like to have as the result?  It's much easier to show what to 
do when we know what functions and packages you're using to get your 
results.

Erik

Victor Bloomfield wrote:
> Is there a way to obtain the parameters (mean, sd, amplitude) of the 
> gaussian functions obtained in a density fit to data. The 
> faithful$waiting times is a standard example. The 2-gaussian fit is very 
> nice, but how can I obtain the parameters?
> 
> Thanks for your help.
> 
> Regards,
> Victor Bloomfield
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list