Fitting Data

Hello Community!

I would like to know about which package you would recommend me to fit data sets, i.e received from a spectral analysis. Currently I am working with GnuPlot, but I guess there is a more accurate way to do that. Anyways, looking forward to your thoughts an recomendations.

Best wishes,
Ramien

Probably that depends on the data and what you mean by accurate. But LsqFit is a common option.

A simple interface for 2D fits is: GitHub - m3g/EasyFit.jl: Easy interface for obtaining fits for 2D data

For more complex fitting you probably need an optimization package like JuMP or Optim.

3 Likes