How do I include errors for my data in the lmfit least squares miniimization, and what is this error for conf_interval2d function in lmfit?
问题 I am new to python, and trying to use the lmfit package to check my own calculations, however I am unsure (1) as to how to include the errors for data (sig) for the following test (and 2) of an error I get with conf_interval2d shown below): import numpy as np from lmfit import Parameters, Minimizer, conf_interval, conf_interval2d, minimize, printfuncs x=np.array([ 0.18, 0.26, 1.14, 0.63, 0.3 , 0.22, 1.16, 0.62, 0.84,0.44, 1.24, 0.89, 1.2 , 0.62, 0.86, 0.45, 1.17, 0.59, 0.85, 0.44]) data=np