R: Robust fitting of data points to a Gaussian function
问题 I need to do some robust data-fitting operation. I have bunch of (x,y) data, that I want to fit to a Gaussian (aka normal) function. The point is, I want to remove the ouliers. As one can see on the sample plot below, there is another distribution of data thats pollutting my data on the right, and I don't want to take it into account to do the fitting (i.e. to find \sigma, \mu and the overall scale parameter). R seems to be the right tool for the job, I found some packages (robust, robustbase