Hi Ingmar, Thank you for your reply! How to fit a mixture distribution to the data, do you mean by using mixed model?
Regards, Samor --- On Wed, 24/2/10, Ingmar Visser <i.vis...@uva.nl> wrote: From: Ingmar Visser <i.vis...@uva.nl> Subject: Re: [R] Bimodal distribution To: "Samor Gandhi" <samorgan...@yahoo.com> Cc: r-help@r-project.org Date: Wednesday, 24 February, 2010, 19:14 Samor, A somewhat indirect answer: you could fit a mixture distribution to your data and test how many components are needed to best describe your data. hth, Ingmar On Wed, Feb 24, 2010 at 1:22 PM, Samor Gandhi <samorgan...@yahoo.com> wrote: Hello, Is there any test for bimodality in R that x <- c(rnorm(1000,0,1),rnorm(1000,3,1)) hist(x,nclass=100) Thank you in advance for any help. Regards, Samor [[alternative HTML version deleted]] ______________________________________________ R-help@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. [[alternative HTML version deleted]]
______________________________________________ R-help@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.