I used Scipy.optimize.differential_evolution to estimate parameters for my models; however, unlike Curve_fit, it cannot retire covariance. How can I calculate the uncertainties of my parameters?
I used Scipy.optimize.differential_evolution to estimate parameters for my models; however, unlike Curve_fit, it cannot retire covariance. How can I calculate the uncertainties of my parameters?
You could start off with differential_evolution to find the minimum, then follow-up with a leastsq or curve_fit to estimate the uncertainties. Other ways of estimating the uncertainties are to calculate the Hessian matrix by using e.g. finite differences