Re: [R] newbie (me) needs to model distribution as two overlapping gaussians

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Mon, 18 Feb 2008 20:36:56 +0000 (UTC)

<mmiller_at_mail.usp.edu> wrote in
news:BAY105-W146A57D6AFC49F8003C73E8F210_at_phx.gbl:

>
> Recently, I have been working with some data that look like two
> overlapping gaussian distributions. I would like to either
>
> 1) determine the mean and SD for each of the two distributions
>
> OR
>
> 2) get some (bayesian ?) statistic that estimates how likely an
> observation is to belong to the left-hand or right-hand distribution
>
> In case I'm using the wrong language, my data looks something like
> this:
>
> B <- rnorm(500,40,10)
> H <- rnorm(500,80,5 )
> N <- runif(200,0,99)
> D <- c(B,H,N)

First hit on <http://www.rseek.org/> with: functions mixture gaussians

<http://research.stowers-institute.org/efg/R/Statistics/MixturesOfDistributions/index.htm>

Task Views:

<http://cran.us.r-project.org/web/views/Cluster.html>
<http://cran.r-project.org/web/views/Multivariate.html>
<http://cran.r-project.org/web/views/Bayesian.html>

nor1mix: Normal (1-d) Mixture Models (S3 Classes and Methods) <http://lib.stat.cmu.edu/R/CRAN/>

In the nor1mix documentation, Mächler recommends the mclust package for estimation.

-- 
David Winsemius

______________________________________________
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.
Received on Mon 18 Feb 2008 - 20:39:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Feb 2008 - 00:30:15 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive