Detecting Bimodal Distribution I have histograms of audio signals where they have bimodal "normal" distribution. 
What I want to do is to detect these subpopulations inorder to have a threshold, this is meant to divide the values into background noise and speech, the background noise and speech as each is meant to have its normal distribution. This is a preprocessing step so it can be used to make later decisions based on it.
Here is my time series of energy value (in DB) and below its corresponding histogram




I am thinking of implementing a K-Means clustering algorithm to detect distributions. Now my question is:


*

*Is this the correct solution? Choosing bad initial means is worrying me that the algorithm will fail to cluster correctly.

*What are other solutions to separate the two distributions, I have looked at GMM, but am not sure how it helps.

*if K-Means is somehow appropriate for solving such a problem how should I select the initial means, or does it depend mostly on the data ?


Note that I am new to this field so I hope to correct me if I made any horrible mistakes
 A: This looks like a typical task of detecting components of a mixture distribution with an umbrella topic being finite mixture models. If you use R, you don't need to implement K-means or other clustering algorithms, as there are enough existing packages that already do that and more.
One of the most popular one - mixtools package (http://cran.r-project.org/web/packages/mixtools) - contains function normalmixEM, which is based on Expectation-Maximization algorithm and can be used to fit your data to a mixture of normal distributions. For more details and examples, see the package documentation and this blog post: http://exploringdatablog.blogspot.com/2011/08/fitting-mixture-distributions-with-r.html. You may find beneficial to read a brief introduction to mixture distributions prior to reading the above-mentioned post: http://exploringdatablog.blogspot.com/2011/06/brief-introduction-to-mixture.html.
Other related packages include rebmix (http://cran.r-project.org/web/packages/rebmix), flexmix (http://cran.r-project.org/web/packages/flexmix) and mclust (for detailed information, please see http://www.stat.washington.edu/mclust and http://cran.r-project.org/web/packages/mclust).
Performing a goodness-of-fit test for estimating a mixture of normal distributions has been frequently discussed on Cross Validated. For example, check this discussion: Goodness of fit test for a mixture in R.
Finally, the following paper might be of your interest, as it addresses the intersection of both topics, related to your question - mixture analysis and speaker identification. I hope that you will find it useful: http://smtp.intjit.org/journal/volume/12/7/127_2.pdf.
A: I have often used a scheme (Intervention Detection) even though it is not time series data to determine the presence of "an intercept change" or a change in the mean value. An intercept change is essentially a mean change or in other words a level shift. Please post your data and I will try and help you. Both plots suggest to me a possible intercept change after some anomalies (one time pulses) have been accounted for. In the first course in statistics we are often given the fact that n1 values are in Group 1 and n2 values in Group 2. In actual practice we are often given 1 column of readings possibly a time series and the goal is to determine how many groups there are. This is in effect a form of one dimensional discriminant analysis.
