I have some data points and I fitted a function (2nd order polynomial here) to the data. The algorithm (scipy.optimize.curve_fit
) gave me the optimal parameters and the covariance matrix of those parameters. In the documentation, it says that the square roots of the diagonal entries give the errors for the parameters.
Now I that I have the function $f$ fitted to points $0 < x$, I would like to find the value of $f(0)$ and its error. $f(0)$ is easy, but how do I acquire an estimate for the error?