![]() ![]() There's a difference between fitting a gaussian distribution and fitting a gaussian density curve. I tried to specify that there is only one gaussian using the parameter k: > fit = normalmi圎M(r, k = 1)Įrror in normalmix.init(x = x, lambda = lambda, mu = mu, s = sigma, k = k, : ![]() > fit = normalmi圎M(r)īut this seems to try to fit to a mix of two gaussian by default. I tried with normalmi圎M from the R package mixtools. I would like to find a gaussian that is as close as possible to the plot/data. Here is the full data (27 data points): > r It's a vertical line taken from the image, and only the Red data is used (from RGB). The data is an extract from a jpeg image. I have some data that looks (to me) like a gaussian when plotted. I am quite new to statistics, so please forgive me for using probably the wrong vocabulary. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |