Relative Content

Tag Archive for pythonhistogramcurve-fittingcovariancepcov

Possible to see estimated parameter array of curve_fit function used to calculate variance?

I am working with scipy’s curve_fit function, and using pcov to calculate the parameter errors. I understand pcov produce the variance in the parameters which it produces. Variance is obviously calculated from a set of numbers, which are the estimates for the respective parameters. I am wondering if it is possible to produce this set of estimates so that I can see it and try to calculate the variance by hand. Additionally, I would like to plot a histogram from these values. Does anyone know how I could do this, or if there is a separate function which might be able to help?