Reputation: 21
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?
Upvotes: 2
Views: 465
Reputation: 595
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
Upvotes: 2