I have a data set which consists of large number of data points. However, there are some outlier points that can be considered be noise. If I include all data points to approximate the Gaussian distribution, the standard deviation is apparently larger than expected. How can I fit this data set with a Gaussian distribution and get accurate mean and standard deviation ignoring these noise points.


  • $\begingroup$ is it a univariate or a multivariate gaussian you are trying to fit? $\endgroup$ – user603 Nov 11 '13 at 15:12
  • $\begingroup$ a univariate gaussian, not mixture gaussian $\endgroup$ – user22062 Nov 12 '13 at 5:27
  • $\begingroup$ multivariate is not the same as mixture. Assuming you meant univariate, then, your question is a duplicate of this one $\endgroup$ – user603 Nov 12 '13 at 9:15
  • 1
    $\begingroup$ The question to ask yourself: how do you know, that they are outliers? $\endgroup$ – Tim Jan 3 '17 at 12:44

Try https//mycurvefit.com. It's an online tool that will fit a curve to your data. (AFAIK its free for smaller data sets but there might be a charge for large data sets). With the tools just enter your data, select the fit. You can also mark points as outliers by clicking to "flag" then remove those outliers and recalculate the new curve, e.g.

enter image description here

  • 1
    $\begingroup$ -1 This has nothing to do with fitting distribution to data. Fitting distribution to data $\ne$ fitting curve to points. $\endgroup$ – Tim Feb 4 '17 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.